Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Status -> Monitoring shows no activity

    Scheduled Pinned Locked Moved General pfSense Questions
    41 Posts 4 Posters 8.0k Views 3 Watching
    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.
    • GertjanG Offline
      Gertjan @kevindd992002
      last edited by

      @kevindd992002

      Have a look at the rrd file :

      ls -alrt /var/db/rrd/
      

      This command will revers list, with details, all the rrd files.

      Are the time stamps all very recent ?

      Like :

      ....
      -rw-r--r--   1 nobody  wheel  393168 Oct 11 10:30 ipsec-traffic.rrd
      -rw-r--r--   1 nobody  wheel  393168 Oct 11 10:30 ipsec-packets.rrd
      -rw-r--r--   1 nobody  wheel  393168 Oct 11 10:30 ovpns1-traffic.rrd
      -rw-r--r--   1 nobody  wheel  393168 Oct 11 10:30 ovpns1-packets.rrd
      -rw-r--r--   1 nobody  wheel   49720 Oct 11 10:30 ovpns1-vpnusers.rrd
      -rw-r--r--   1 nobody  wheel  245976 Oct 11 10:30 system-states.rrd
      -rw-r--r--   1 nobody  wheel  245976 Oct 11 10:30 system-processor.rrd
      -rw-r--r--   1 nobody  wheel  735320 Oct 11 10:30 system-memory.rrd
      -rw-r--r--   1 nobody  wheel  588592 Oct 11 10:30 system-mbuf.rrd
      -rw-r--r--   1 nobody  wheel  197752 Oct 11 10:30 captiveportal-cpzone1-concurrent.rrd
      -rw-r--r--   1 nobody  wheel  197752 Oct 11 10:30 captiveportal-cpzone1-loggedin.rrd
      -rw-r--r--   1 nobody  wheel  882048 Oct 11 10:30 ntpd.rrd
      -rw-r--r--   1 nobody  wheel  441864 Oct 11 10:30 lan-dhcpd.rrd
      -rw-r--r--   1 nobody  wheel  441864 Oct 11 10:30 opt1-dhcpd.rrd
      -rw-r--r--   1 nobody  wheel   71216 Oct 11 10:30 AP1-quality.rrd
      -rw-r--r--   1 nobody  wheel   71216 Oct 11 10:30 AP2-quality.rrd
      -rw-r--r--   1 nobody  wheel  147848 Oct 11 10:30 AP3-quality.rrd
      -rw-r--r--   1 nobody  wheel  147848 Oct 11 10:30 HE_TUN_TUNNELV6-quality.rrd
      -rw-r--r--   1 nobody  wheel  147848 Oct 11 10:30 OPENVPN_VPNV4-quality.rrd
      -rw-r--r--   1 nobody  wheel  147848 Oct 11 10:30 OPENVPN_VPNV6-quality.rrd
      -rw-r--r--   1 nobody  wheel  147848 Oct 11 10:30 WAN_DHCP-quality.rrd
      

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      K 1 Reply Last reply Reply Quote 1
      • K Offline
        kevindd992002 @Gertjan
        last edited by kevindd992002

        @gertjan said in Status -> Monitoring shows no activity:

        ls -alrt /var/db/rrd/

        Yes, I see very recent files:

        [2.5.2-RELEASE][root@pfSense.home.arpa]/root: ls -alrt /var/db/rrd/
        total 13700
        drwxr-xr-x  2 nobody  wheel    1536 Oct 11 03:25 .
        -rw-r--r--  1 root    wheel   15895 Oct 11 11:50 updaterrd.sh
        -rw-r--r--  1 nobody  wheel  441864 Oct 12 16:53 opt2-dhcpd.rrd
        -rw-r--r--  1 nobody  wheel  441864 Oct 12 17:54 opt3-dhcpd.rrd
        drwxr-xr-x  6 root    wheel     512 Oct 12 18:50 ..
        -rw-r--r--  1 nobody  wheel  441864 Oct 12 18:55 opt4-dhcpd.rrd
        -rw-r--r--  1 nobody  wheel  441864 Oct 12 19:56 opt5-dhcpd.rrd
        -rw-r--r--  1 nobody  wheel  147848 Oct 12 19:56 OPENVPN_RA_VPNV4-quality.rrd
        -rw-r--r--  1 nobody  wheel  147848 Oct 12 19:56 WANGW-quality.rrd
        -rw-r--r--  1 nobody  wheel  147848 Oct 12 19:56 WIREGUARD_S2S_WGV4-quality.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 wan-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 wan-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt2-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt2-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt3-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt3-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt4-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt4-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt5-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt5-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt6-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt6-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt8-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt8-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt9-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 opt9-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 ipsec-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 ipsec-packets.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 ovpns2-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 ovpns2-packets.rrd
        -rw-r--r--  1 nobody  wheel   49720 Oct 12 19:57 ovpns2-vpnusers.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 ovpns1-traffic.rrd
        -rw-r--r--  1 nobody  wheel  393168 Oct 12 19:57 ovpns1-packets.rrd
        -rw-r--r--  1 nobody  wheel   49720 Oct 12 19:57 ovpns1-vpnusers.rrd
        -rw-r--r--  1 nobody  wheel  245976 Oct 12 19:57 system-states.rrd
        -rw-r--r--  1 nobody  wheel  245976 Oct 12 19:57 system-processor.rrd
        -rw-r--r--  1 nobody  wheel  735320 Oct 12 19:57 system-memory.rrd
        -rw-r--r--  1 nobody  wheel  588592 Oct 12 19:57 system-mbuf.rrd
        -rw-r--r--  1 nobody  wheel  882048 Oct 12 19:57 ntpd.rrd
        
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          I assume you see no data for the OpenVPN gateway either?

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kevindd992002 @stephenw10
            last edited by

            @stephenw10 said in Status -> Monitoring shows no activity:

            I assume you see no data for the OpenVPN gateway either?

            Correct.

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              Correct time and date on the box? I've seen some odd things happen there when it tries to display data from the wrong time etc. I haven't seen anything like that in 2.5.2 though.

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                kevindd992002 @stephenw10
                last edited by

                @stephenw10 said in Status -> Monitoring shows no activity:

                Correct time and date on the box? I've seen some odd things happen there when it tries to display data from the wrong time etc. I haven't seen anything like that in 2.5.2 though.

                Yes, time and date synced with NTP servers. I haven't seen any time issues with this box when I'm checking logs. They seem to be on point.

                1 Reply Last reply Reply Quote 0
                • stephenw10S Offline
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm, must be something different. Any errors logged when you open the graphs?

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    kevindd992002 @stephenw10
                    last edited by

                    @stephenw10 said in Status -> Monitoring shows no activity:

                    Hmm, must be something different. Any errors logged when you open the graphs?

                    This is all I see under System Logs -> System -> GUI Service when I open monitoring:

                    Oct 13 10:37:41 	nginx 		192.168.20.251 - - [13/Oct/2021:10:37:41 +0800] "POST /rrd_fetch_json.php HTTP/2.0" 200 5401 "https://192.168.10.1/status_monitoring.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0"
                    Oct 13 10:37:40 	nginx 		192.168.20.251 - - [13/Oct/2021:10:37:40 +0800] "GET /status_monitoring.php HTTP/2.0" 200 15458 "https://192.168.10.1/status_monitoring.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0"
                    
                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Offline
                      stephenw10 Netgate Administrator
                      last edited by

                      Same from different browsers? Different clients?

                      What's the history of that box? Has is ever seen any other issues?

                      I'd be tempted to re-install it and restore it at this point if that's something that's practical for that location. If only to be sure that corrects it and prove it's not a config issue.

                      Steve

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kevindd992002 @stephenw10
                        last edited by

                        @stephenw10 said in Status -> Monitoring shows no activity:

                        Same from different browsers? Different clients?

                        What's the history of that box? Has is ever seen any other issues?

                        I'd be tempted to re-install it and restore it at this point if that's something that's practical for that location. If only to be sure that corrects it and prove it's not a config issue.

                        Steve

                        Yes, and yes. Even on mobile phones.

                        No, this did not encounter any issues yet. This is the first time. And everything seems to be working just fine except this. Well, there's one issue for some clients when accessing the weGUI and I forgot the cause but it's only happening on FireFox for some clients:

                        27295670-8879-4a2d-b0fa-a46416df6362-image.png

                        Not sure if it's related to the traffic monitoring issue though. The affected box is remote from me, so it's not something that I can do immediately. Reinstalling would be my last resort though unless there's no more troubleshooting steps that I can do?

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • stephenw10S Offline
                          stephenw10 Netgate Administrator
                          last edited by

                          Well it's not something I've come across before so further investigation without direct access becomes difficult. At least beyond what we've already tried.
                          I agree that cert error is probably unrelated and would not affect other browsers for the graphs specifically. The other RRD graphs are being populated I assume, only the gateway quality data that is failing?

                          Steve

                          K 1 Reply Last reply Reply Quote 0
                          • GertjanG Offline
                            Gertjan @kevindd992002
                            last edited by

                            @kevindd992002

                            About the Firefox message.
                            Look here.
                            Firefox's help page makes me ask : what is your pfSense version ?

                            The message makes me thing that the brwoser that shows that message knows about the pfSense cert exception ... but the cert cahnged on the pfSense side.

                            You could do what the message proposes :
                            Use the console or SSH - read Docs » pfSense® software » Configuration » Advanced Configuration Options
                            and re generate a new cert.

                            Are you sure the pfsense system clock is ok ??

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kevindd992002 @stephenw10
                              last edited by

                              @stephenw10 said in Status -> Monitoring shows no activity:

                              Well it's not something I've come across before so further investigation without direct access becomes difficult. At least beyond what we've already tried.
                              I agree that cert error is probably unrelated and would not affect other browsers for the graphs specifically. The other RRD graphs are being populated I assume, only the gateway quality data that is failing?

                              Steve

                              No, it affects all other RRD graphs. I just checked.

                              @gertjan said in Status -> Monitoring shows no activity:

                              @kevindd992002

                              About the Firefox message.
                              Look here.
                              Firefox's help page makes me ask : what is your pfSense version ?

                              The message makes me thing that the brwoser that shows that message knows about the pfSense cert exception ... but the cert cahnged on the pfSense side.

                              You could do what the message proposes :
                              Use the console or SSH - read Docs » pfSense® software » Configuration » Advanced Configuration Options
                              and re generate a new cert.

                              Are you sure the pfsense system clock is ok ??

                              Ahh, yeah. I now remember that this was caused by me renewing the cert at one point. I also remember doing that workaround in one of my clients to solve the issue but it was always isolated to FireFox.

                              The pfsense version is the latest 2.5.2.

                              I'll make sure to renew that self-signed cert and see if that issue goes away.

                              See for yourself about the time:

                              4f6c6006-543a-4236-a641-be555417fcec-image.png

                              bd1f3356-96c8-40cb-b8b4-a1c59e113a91-image.png

                              GertjanG 1 Reply Last reply Reply Quote 0
                              • GertjanG Offline
                                Gertjan @kevindd992002
                                last edited by

                                @kevindd992002 said in Status -> Monitoring shows no activity:

                                and see if that issue goes away.

                                On that specific Firefox install : don't wait forever.
                                Delete the exception you made for the pfSense cert on that Firefox device.
                                Access pfSense again, create a new exception, and you'll be fine.

                                No "help me" PM's please. Use the forum, the community will thank you.
                                Edit : and where are the logs ??

                                K 1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kevindd992002 @Gertjan
                                  last edited by kevindd992002

                                  @gertjan said in Status -> Monitoring shows no activity:

                                  @kevindd992002 said in Status -> Monitoring shows no activity:

                                  and see if that issue goes away.

                                  On that specific Firefox install : don't wait forever.
                                  Delete the exception you made for the pfSense cert on that Firefox device.
                                  Access pfSense again, create a new exception, and you'll be fine.

                                  Yup, it's all done.

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S Offline
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    So there is no RRD data shown at all, for any time period?

                                    That makes it look more like it's unable to read the files but I'd expect to see errors logged if that were the case. Possibly there was data and graphs for longer periods before you reset the RRD files?
                                    Can you restore the config into something local to test that?

                                    Otherwise you could try force installing the rrdtool pkg. Iy's possible something was damaged there though it appears to be writing them correctly still.

                                    Steve

                                    K 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kevindd992002 @stephenw10
                                      last edited by kevindd992002

                                      @stephenw10 said in Status -> Monitoring shows no activity:

                                      So there is no RRD data shown at all, for any time period?

                                      That makes it look more like it's unable to read the files but I'd expect to see errors logged if that were the case. Possibly there was data and graphs for longer periods before you reset the RRD files?
                                      Can you restore the config into something local to test that?

                                      Otherwise you could try force installing the rrdtool pkg. Iy's possible something was damaged there though it appears to be writing them correctly still.

                                      Steve

                                      Before the RRD data reset:

                                      • data is available in Status -> RRD Summary
                                      • quality monitoring data/graph is available for past gateways
                                      • no other monitoring data/graphs available; flat line and no values

                                      Sure, I can do that tomorrow to a pfsense VM and see what happens. If I restore a config on a brand new install of pfsense on a VM, how does it know how to map the config interfaces to the virtual interfaces of the VM?

                                      When I take the a backup of the config, do I include RRD data?

                                      What is the command again to force install a pkg in pfsense? I know apt in Debian but don't have experience in FreeBSD.

                                      The only non-official thing I've done with this pfsense install was to install the WireGuard package (by Christian) when it was not yet available in the package repository.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S Offline
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        It would be: pkg install -f rrdtool

                                        GertjanG 1 Reply Last reply Reply Quote 0
                                        • GertjanG Offline
                                          Gertjan @stephenw10
                                          last edited by

                                          Before re installing : here is something to do :

                                          Together with the rrd files in /var/db/rrd/ you'll find a file called "updaterrd.sh".
                                          The content is pretty straight forward, this is the file that collects the stats, and add them to the rrd files.

                                          No need to edit this file, as it gets regenerated when an interface gets added, removed, or a gateway gets added etc.

                                          Use the forum search button, and look for "updaterrd.sh" : you'll find more posts with "no monitoring stats".

                                          Check the date and time of the updaterrd.sh file.
                                          Change some settings on an interface or gateway.
                                          Check that the file was updated.

                                          No "help me" PM's please. Use the forum, the community will thank you.
                                          Edit : and where are the logs ??

                                          K 1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            kevindd992002 @Gertjan
                                            last edited by kevindd992002

                                            @gertjan said in Status -> Monitoring shows no activity:

                                            updaterrd.sh

                                            Before changing some settings on a gateway:

                                            35de2902-f081-4763-a127-aff8e8d124e3-image.png

                                            After changing some settings on an interface:

                                            6bf9d178-2f5a-4b5d-90ea-632572e93a82-image.png

                                            So yeah, it looks like it did change as expected. However, when I tried changing the monitor IP of my WAN gateway earlier, the file was not updated. What does that tell us?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.