Wan gw monitor
-
Hi.
Since last release I get in gw monitoring both ipv4 and ipv6 as offline with packet loss 22% for ipv4 and 33% for ipv6. Values are not changibg at all.
In status monitoring graph is all ok, correct ping, no packet loss and net is working as well...
Any idea?
Thanks. -
I see few commits for dpinger in last day or two so probably something is borked because of that...
-
Yesterdays changes to update gateway monitoring added some gateway alarm state caching files of alarm states, which are now getting stuck and never cleared once an interface / gateway recovers from an alarm / down condition.
https://redmine.pfsense.org/projects/pfsense/repository/revisions/5affb137561c74bb5559f0706c86c28a85b14557
I'm seeing this as interfaces that experience and alarm / down state getting stuck and never updating once the link recovers and will just keep showing the same info from the last alarm / down.
found that if the cached state files are deleted the gateways immediately recover back to online.
Need to delete the /tmp/.alarm.* & /tmp/.down.* files.
Had to setup a quick script and cron job to clear these files periodically to make sure my OpenVPN links state up.
Here's quick code to remove the files:
for _f_ in alarm down; do ls /tmp/.${_f_}.* 2>/dev/null && rm /tmp/.${_f_}.*; done
-
@TechyTech
Thanks, that works.Opened redmine: https://redmine.pfsense.org/issues/10981
-
@maverick_slo I've pushed a fix. Please let me know if it works when next round of snapshots is available
-
@TechyTech This worked for me too. Thank you.
-
It works with latest snapshot.
Thanks!