Monitoring Gateway
-
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
-
@stephenw10 No update since reboot.
I don't use ram disk.
-
Is that file date/time when you reset the RRD files?
-
@stephenw10 Is the date of reboot pfsense.
-
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
-
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. -
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
-
I did reboot pfsense two days ago.
-
@stephenw10 said in Monitoring Gateway:
updaterrd.sh
Another reboot now. Waiting for some data on graph..
-
@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
-
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! -
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!
-
@stephenw10 No errors
-
Some errors here
-
Those are only because it booted in verbose mode. None of that is actually in use. Not a problem.
-
Any idea why the graphics didn't work?
-
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.
-
Thank you all for your support!
-
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
-
You see any errors in the logs when it stops?
Does the gateway fail when it stops? The WAN reconnect?