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

    Bandwidth graph is gone

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    31
    8.2k
    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.
    • mosesM
      moses
      last edited by moses

      After reinstalling to a CentOS server, everything is working fine, except the bandwidth graph is gone, appears to be something awry with jQuery:

      alt text

      It errors out every update interval.

      http://fogserverIP/status/bandwidth.php returns the following:

      {"dev":"unknown","rx":0,"tx":0}
      
      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        A temporary fix would be to increase the bandwidth chart’s update cycle to something pretty high:
        Web Interface -> FOG Configuration -> FOG Settings -> General Settings -> FOG_BANDWIDTH_TIME

        Also, alerting @Tom-Elliott about this.

        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/

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

          Also - we’ve seen this sort of thing happen when the interface for a storage node is wrong, or the IP for the storage node is wrong.

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

            @Wayne-Workman The errors don’t really cause much problem for me because I don’t spend much time on the homepage.

            If there are any other logs I can post that would be helpful, let me know.

            Edit: that was the first thing I checked, both are correct.

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

              @moses So what was different about the reinstall ?

              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/

              mosesM 1 Reply Last reply Reply Quote 0
              • mosesM
                moses @Wayne Workman
                last edited by

                @Wayne-Workman I reinstalled due to a Linux kernel issue, but nothing changed as far as configuration. The one thing I did do was restore from a backup of the database.

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

                  Maybe firewall?

                  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

                  mosesM 1 Reply Last reply Reply Quote 0
                  • mosesM
                    moses @Tom Elliott
                    last edited by

                    @Tom-Elliott I used CentOS Minimal, which doesn’t have firewalld installed.

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

                      @moses What about selinux/iptables?

                      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

                      mosesM 1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @moses What is your main network interface on that machine?

                        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

                        mosesM 1 Reply Last reply Reply Quote 0
                        • mosesM
                          moses @Tom Elliott
                          last edited by

                          @Tom-Elliott SELinux is set to permissive (just confirmed that). Not sure how to properly check iptables or what to look for there, could you elaborate?

                          Tom ElliottT 2 Replies Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott @moses
                            last edited by

                            @moses iptables -L -n

                            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

                            mosesM 1 Reply Last reply Reply Quote 0
                            • mosesM
                              moses @Tom Elliott
                              last edited by

                              @Tom-Elliott Here’s the output:

                              Chain INPUT (policy ACCEPT)
                              target     prot opt source               destination
                              
                              Chain FORWARD (policy ACCEPT)
                              target     prot opt source               destination
                              
                              Chain OUTPUT (policy ACCEPT)
                              target     prot opt source               destination
                              
                              1 Reply Last reply Reply Quote 0
                              • mosesM
                                moses @Sebastian Roth
                                last edited by

                                @Sebastian-Roth Interface name is ‘eno1’

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

                                  @moses You sure it’s eno1 and not eno1777728 or somethign like that?

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

                                    @moses How did you confirm selinux was set to permissive? sestatus?

                                    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

                                    mosesM 1 Reply Last reply Reply Quote 0
                                    • mosesM
                                      moses @Tom Elliott
                                      last edited by

                                      @Tom-Elliott

                                      [admin@localhost bin]$ ifconfig
                                      eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
                                              inet 192.168.1.66  netmask 255.255.255.0  broadcast 192.168.1.255
                                              inet6 fe80::9eb6:54ff:fef0:3e0d  prefixlen 64  scopeid 0x20<link>
                                              ether 9c:b6:54:f0:3e:0d  txqueuelen 1000  (Ethernet)
                                              RX packets 71305  bytes 55866671 (53.2 MiB)
                                              RX errors 0  dropped 2  overruns 0  frame 0
                                              TX packets 64775  bytes 60474259 (57.6 MiB)
                                              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                      
                                      lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
                                              inet 127.0.0.1  netmask 255.0.0.0
                                              inet6 ::1  prefixlen 128  scopeid 0x10<host>
                                              loop  txqueuelen 0  (Local Loopback)
                                              RX packets 11135  bytes 37843099 (36.0 MiB)
                                              RX errors 0  dropped 0  overruns 0  frame 0
                                              TX packets 11135  bytes 37843099 (36.0 MiB)
                                              TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                      
                                      [admin@localhost bin]$ sestatus
                                      SELinux status:                 enabled
                                      SELinuxfs mount:                /sys/fs/selinux
                                      SELinux root directory:         /etc/selinux
                                      Loaded policy name:             targeted
                                      Current mode:                   permissive
                                      Mode from config file:          permissive
                                      Policy MLS status:              enabled
                                      Policy deny_unknown status:     allowed
                                      Max kernel policy version:      28
                                      
                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @moses
                                        last edited by

                                        @moses and what does the node look like? Understand I’m just trying to see/get all the details

                                        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

                                        mosesM 1 Reply Last reply Reply Quote 0
                                        • mosesM
                                          moses @Tom Elliott
                                          last edited by

                                          @Tom-Elliott alt text

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

                                            @moses can you try updTing?

                                            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

                                            mosesM 3 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            149

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project