• 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.
    • N
      n406c
      last edited by

      SERVER

      FOG Version: 1.4.4
      OS: Ubuntu Server 16.04.3 LTS

      DESCRIPTION

      Definitely not a huge issue but the bandwidth chart is always just reporting a flat line when capturing / deploying images. My Fog install just configured on a fresh, new install of Ubuntu Server. I checked the storage node interface and confirmed it was indeed set to the correct eth interface and made sure the chart was also enabled. Also, this seems to be possibly related, http://ServerName/fog/status/bandwidth.php also shows the following line on my browser: {“dev”:“Unknown”,“rx”:0,“tx”:0}

      Thank you,
      Chris

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • N
        n406c
        last edited by

        I finally had a chance to get a new gigabit network card on this machine and am happy to report the graph now functions properly. Thank you for your troubleshooting efforts.

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @n406c
          last edited by

          @n406c Check the apache error log, maybe something is in there. /var/log/apache2/error.log

          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/

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            I don’t know if this is a bug or not. Is the Storage Nodes “interface” field set appropriately with the real name of the interface?

            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 Reply Quote 0
            • N
              n406c @Tom Elliott
              last edited by

              @tom-elliott Yes, the storage nodes interface field did indeed have the real interface name by default. My error.log from yesterday does show this:

              [Thu Feb 15 15:35:23.625782 2018] [php7:error] [pid 20347] [client xx.xx.xx.xx:xxxxx] script ‘/var/www/html/fog/status/bandwitch.php’ not found or unable to stat

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @n406c
                last edited by

                @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 Reply Quote 1
                • N
                  n406c @Tom Elliott
                  last edited by

                  @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
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    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 Reply Quote 1
                    • N
                      n406c @Tom Elliott
                      last edited by

                      @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

                        @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

                          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
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by Wayne Workman

                            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 Reply Quote 0
                            • N
                              n406c @Wayne Workman
                              last edited by

                              @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
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                @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/

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Wayne Workman
                                  last edited by

                                  @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 Reply Quote 0
                                  • N
                                    n406c @Tom Elliott
                                    last edited by

                                    @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

                                      @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 Reply Quote 0
                                      • N
                                        n406c @Sebastian Roth
                                        last edited by

                                        @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.

                                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott @n406c
                                          last edited by

                                          @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 Reply Quote 0
                                          • N
                                            n406c @Tom Elliott
                                            last edited by

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

                                            0_1520021892677_ChromeConsole.png

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • Tom ElliottT
                                              Tom Elliott @n406c
                                              last edited by

                                              @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 Reply Quote 0
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • First post
                                                Last post

                                              145

                                              Online

                                              12.0k

                                              Users

                                              17.3k

                                              Topics

                                              155.2k

                                              Posts
                                              Copyright © 2012-2024 FOG Project