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.
    • 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
                                      • stephenw10S Offline
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        That the update script is being written out when changes to the gateway are made.

                                        But we already know the rrd file themselves are being updated. So either they are being updated with garbage (or all 0s) or they are not being read correctly.

                                        Did you try re-installing the rrdtools package?

                                        Steve

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

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

                                          That the update script is being written out when changes to the gateway are made.

                                          But we already know the rrd file themselves are being updated. So either they are being updated with garbage (or all 0s) or they are not being read correctly.

                                          Did you try re-installing the rrdtools package?

                                          Steve

                                          Sorry, I forgot to mention that yes I did try reinstalling the rrdtools package and it didn't really make any difference.

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

                                            Might just be time to re-install then.

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