Status -> Monitoring shows no activity
-
@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.
-
Hmm, must be something different. Any errors logged when you open the graphs?
-
@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"
-
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
-
@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:
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?
-
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
-
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 ??
-
@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:
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:
-
@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. -
@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.
-
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
-
@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.
-
It would be:
pkg install -f rrdtool
-
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. -
@gertjan said in Status -> Monitoring shows no activity:
updaterrd.sh
Before changing some settings on a gateway:
After changing some settings on an interface:
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?
-
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
-
@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.
-
Might just be time to re-install then.
-
@stephenw10 said in Status -> Monitoring shows no activity:
Might just be time to re-install then.
Argh, ok. I'm assuming it's better to not include RRD data in the backup, right? Besides, there isn't much data anyway because I had already reset it.
-
Yeah, I would omit it. I very rarely include that data as it makes working with the config file difficult.
Steve