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

    Monitoring Gateway

    Scheduled Pinned Locked Moved General pfSense Questions
    55 Posts 5 Posters 9.8k Views
    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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Shouldn't make any difference to the RRD data. Do you see the RRD files being updated?

      You may just need to wait for it to add some data. If you're running ram disks you might be hitting some issue with it recovering the old data at boot.

      Steve

      hendiH 1 Reply Last reply Reply Quote 0
      • hendiH
        hendi @stephenw10
        last edited by hendi

        @stephenw10 No update since reboot.

        Screenshot 2022-11-13 171700.png

        I don't use ram disk.

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

          Is that file date/time when you reset the RRD files?

          hendiH 1 Reply Last reply Reply Quote 0
          • hendiH
            hendi @stephenw10
            last edited by

            @stephenw10 Is the date of reboot pfsense.

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

              Was that before you reset the RRD data? No updates since the reset or since the reboot?

              Do you see updaterrd.sh running in the System Activity or output of ps -auxwwd?

              Steve

              1 Reply Last reply Reply Quote 0
              • hendiH
                hendi
                last edited by hendi

                Screenshot 2022-11-15 093506.png

                After installation, the graphics worked until a certain moment when I noticed that it stopped recording data. I don't know what moment it coincided with, it's possible that it stopped after I added a new interface for the "guest" network, but I'm not sure.
                At the moment, no data appears on the graphs. Nor about memory usage, CPU usage, gateway monitoring. traffic data, etc.

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

                  Hmm, is that showing the process was started on Sat 22nd Oct? That seems unlikely. Unless it didn't actually reboot. The date/time format isn't what I see from that command. Might just be compressed display output. That does change at reboot I assume?

                  root    15711   0.1  0.1   5052   2596  -  SN   27Oct22    26:52.97 |-- /bin/sh /var/db/rrd/updaterrd.sh
                  root    17825   0.1  0.1   4156   1896  -  SNC  17:04       0:00.00 | `-- sleep 60
                  
                  hendiH 1 Reply Last reply Reply Quote 0
                  • hendiH
                    hendi @stephenw10
                    last edited by

                    @stephenw10

                    Screenshot 2022-11-15 194205.png

                    Screenshot 2022-11-15 194250.png

                    Screenshot 2022-11-15 194350.png

                    I did reboot pfsense two days ago.

                    1 Reply Last reply Reply Quote 0
                    • hendiH
                      hendi
                      last edited by

                      @stephenw10 said in Monitoring Gateway:

                      updaterrd.sh

                      Screenshot 2022-11-15 195236.png

                      Screenshot 2022-11-15 195324.png

                      Another reboot now. Waiting for some data on graph..

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @hendi
                        last edited by

                        @hendi that doesn't look right to be honest, mine is the same as @stephenw10

                        root    52663   0.0  0.0  11600  3096  -  IN    3Nov22      8:33.17 |-- /bin/sh /var/db/rrd/updaterrd.sh
                        root    58705   0.0  0.0  10576  2212  -  INC  12:07        0:00.00 | `-- sleep 60
                        

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • hendiH
                          hendi
                          last edited by

                          I'm in a different time zone.
                          It seems to be working now. I have no idea why it didn't work after two reboots. After the third reboot it works!

                          Screenshot 2022-11-15 201958.png

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

                            Mmm, you see any RRD errors at boot? Anything like:

                            Nov 15 14:32:25 	php-cgi 	524 	rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-sensors.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-sensors.rrd: expected 6 data source readings (got 5) from N' 
                            

                            Edit: Cross-posted. Good to see!

                            hendiH 1 Reply Last reply Reply Quote 0
                            • hendiH
                              hendi @stephenw10
                              last edited by

                              @stephenw10 No errors

                              Screenshot 2022-11-15 202916.png

                              1 Reply Last reply Reply Quote 0
                              • hendiH
                                hendi
                                last edited by

                                Some errors here

                                Screenshot 2022-11-15 210356.png

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

                                  Those are only because it booted in verbose mode. None of that is actually in use. Not a problem.

                                  1 Reply Last reply Reply Quote 0
                                  • hendiH
                                    hendi
                                    last edited by

                                    Any idea why the graphics didn't work?

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

                                      Not really. It looked like the update script was stalled on some sub-process. Whatever it was it got past that and started logging data again.

                                      1 Reply Last reply Reply Quote 0
                                      • hendiH
                                        hendi
                                        last edited by

                                        Thank you all for your support! 👍

                                        1 Reply Last reply Reply Quote 0
                                        • hendiH
                                          hendi
                                          last edited by

                                          I don't know what is wrong with the pfsense configuration, but the monitoring keeps stopping. It runs for a few days and then stops. For example, now I see that it has stopped since 21.11

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

                                            You see any errors in the logs when it stops?

                                            Does the gateway fail when it stops? The WAN reconnect?

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