• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Bandwidth Graph on Fog 1.4.4 for Ubuntu Server 16.04.3 doesn't seem to function

Scheduled Pinned Locked Moved Solved
FOG Problems
4
27
4.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    Tom Elliott @n406c
    last edited by Feb 16, 2018, 6:52 PM

    @n406c is it literally saying bandwitch.php or bandwidth.php?

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

    N 1 Reply Last reply Feb 16, 2018, 8:12 PM Reply Quote 1
    • N
      n406c @Tom Elliott
      last edited by Feb 16, 2018, 8:12 PM

      @tom-elliott The error log says “bandwitch.php” which doesn’t exist. However, /var/www/html/fog/status/bandwidth.php exists in the directory.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Feb 22, 2018, 6:24 AM

        Sorry for the delay. Can you please run:

        cd /var/www/fog
        grep -rl 'bandwitch`
        

        This should give us the problematic file you’re seeing. I searched the repository and do not see this popping up anywhere, which leads me to believe somebody edited a file, and made a typo somewhere.

        The file it outputs type:

        sudo vi <file spit out by grep command>
        :%s/bandwitch/bandwidth/g
        :wq!
        

        This should fix the bandwidth issue you’re seeing.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        N 1 Reply Last reply Feb 22, 2018, 10:43 PM Reply Quote 1
        • N
          n406c @Tom Elliott
          last edited by Feb 22, 2018, 10:43 PM

          @tom-elliott I ran your suggested command but there were no results. Which file should I be looking for?

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Feb 22, 2018, 10:57 PM

            @n406c The only place I can think of is /var/www/fog/lib/pages/dashboardpage.class.php (line 133).

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • N
              n406c
              last edited by Feb 22, 2018, 11:19 PM

              My apologies, I actually caused that error to appear in the log. I just remembered I tried to load that non existent page when troubleshooting through some old threads.

              1 Reply Last reply Reply Quote 0
              • W
                Wayne Workman
                last edited by Wayne Workman Feb 22, 2018, 9:16 PM Feb 23, 2018, 3:04 AM

                So we are back to square one. That’s OK. Let’s start with the basics. Can you give us screenshots of:

                • Your bandwidth graph so we can see what it’s doing.
                • The Node’s configuration in Web GUI -> Storage Management -> Node name
                • The output of this command on your FOG Server: ip addr show

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                N 1 Reply Last reply Feb 23, 2018, 6:45 PM Reply Quote 0
                • N
                  n406c @Wayne Workman
                  last edited by Feb 23, 2018, 6:45 PM

                  @wayne-workman Here you go.

                  0_1519411361924_Bandwitdh Graph.png 0_1519411339638_Node Config.png 0_1519411373297_ip addr show.png

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman
                    last edited by Feb 23, 2018, 7:04 PM

                    @developers ideas?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    T 1 Reply Last reply Feb 23, 2018, 10:28 PM Reply Quote 0
                    • T
                      Tom Elliott @Wayne Workman
                      last edited by Feb 23, 2018, 10:28 PM

                      @wayne-workman The fact that it’s missing the interface in the graph seems to be an indicator at least to me.

                      I have seen this from time to time in my development environment (because of switching things in and out).

                      You could try to ensure a link to the html fog folder exists in the fog folder. (I know that makes no sense, but it’s what works for me). NOTE: This is typically because the webroot is / instead of /fog

                      Please try running the command:

                      ln -s /var/www/html/fog{,/}

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      N 1 Reply Last reply Feb 23, 2018, 10:35 PM Reply Quote 0
                      • N
                        n406c @Tom Elliott
                        last edited by Feb 23, 2018, 10:35 PM

                        @tom-elliott I tried running that command but I get this response:

                        “ln: failed to create symbolic link ‘/var/www/html/fog/fog’: File exists”

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Mar 2, 2018, 9:34 AM

                          @n406c Wanna bring this back on screen. Do you know how to use the Firefox or Chrome Developer tools? Playing with those you should be able to if AJAX requests are working in general, plus you can take a look at the response.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          N 1 Reply Last reply Mar 2, 2018, 7:08 PM Reply Quote 0
                          • N
                            n406c @Sebastian Roth
                            last edited by Mar 2, 2018, 7:08 PM

                            @sebastian-roth Unfortunately, I do not have much experience with those tools. I also just upgraded to 1.5.0 and the bandwidth graph still does not show traffic while deploying an image.

                            T 1 Reply Last reply Mar 2, 2018, 7:33 PM Reply Quote 0
                            • T
                              Tom Elliott @n406c
                              last edited by Mar 2, 2018, 7:33 PM

                              @n406c From chrome type:

                              CTRL+SHIFT+C and you will be presented with a side bar (as default).

                              From there you have a tab list of options. Choose Console. Is there anything printing there?

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              N 1 Reply Last reply Mar 2, 2018, 8:21 PM Reply Quote 0
                              • N
                                n406c @Tom Elliott
                                last edited by Mar 2, 2018, 8:21 PM

                                @tom-elliott This is all that is shown in the console during an image deployment.

                                0_1520021892677_ChromeConsole.png

                                T 1 Reply Last reply Mar 2, 2018, 8:23 PM Reply Quote 0
                                • T
                                  Tom Elliott @n406c
                                  last edited by Mar 2, 2018, 8:23 PM

                                  @n406c then im not quite sure of the problem as I cannot seem to replicate it. Do you using hostnames to access the fog server, or ip?

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  N 1 Reply Last reply Mar 2, 2018, 8:25 PM Reply Quote 0
                                  • N
                                    n406c @Tom Elliott
                                    last edited by Mar 2, 2018, 8:25 PM

                                    @tom-elliott Host name.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      Tom Elliott
                                      last edited by Mar 2, 2018, 8:25 PM

                                      One thing I do notice is ens0p18 appears to not be up, though that would be extremely strange ad you can access the server gui just fine.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      N 1 Reply Last reply Mar 2, 2018, 8:29 PM Reply Quote 0
                                      • T
                                        Tom Elliott
                                        last edited by Mar 2, 2018, 8:26 PM

                                        What if you access it using ip address?

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          n406c @Tom Elliott
                                          last edited by Mar 2, 2018, 8:29 PM

                                          @tom-elliott Strange indeed considering my image deployment is just about to complete. I just accessed the gui by IP while the deployment was at 90% and it still doesn’t work. One thing to note, I do believe “ens0p18” was displaying on the graph before I renamed the storage node name.

                                          W 1 Reply Last reply Mar 2, 2018, 11:14 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 2 / 2
                                          2 / 2
                                          • First post
                                            14/27
                                            Last post

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project