Restart apinger
-
How can I restart apinger in 1.2.3.
I want to reset its status.
-
Hi,
using pfSense 1.2.3 embedded on Alix:
Is it correct to use "apinger -c /var/etc/apinger.conf" from the terminal-shell to restart apinger?
How could this be executed/automated when apinger exits?Regards,
gergero -
Is it correct to use "apinger -c /var/etc/apinger.conf" from the terminal-shell to restart apinger?
Correct though I would guess that you should kill it first pkill apinger or killall -9 apinger
How could this be executed/automated when apinger exits?
How do you know it's not working, are your connection marked down or from log?
-
see this post for a patched apinger, version 1.2.3
apinger not working: exit in log, no apinger process with "ps -A", and status for load-balancer without any change (marked down) but connection (both wan and vpn) working.
My question now would be: How can I check for apinger periodicallly and have it restart if necessary, or even force kill and restart ? (any shellcmd or similar to insert in the configuration?)
pfSense is going to be used in branch office for double wan, and double openvpn between main and branch office (16M ADSL on main office, 2 x 6M ADSL on branch office).
Present setup is using 2 NAT routers to split my poor and only 1M ADSL in order to have 2 WANs for pfSense. During testing apinger exits from time to time, one example:
Dec 23 09:39:46 kernel: pid 2031 (apinger), uid 65534: exited on signal 6 Dec 23 09:39:46 apinger: Target "10.2.1.2": Received packets buffer: ########################.......................### #################### Dec 23 09:39:46 apinger: Target "10.2.1.2": Lost packet count mismatch (6(recently_lost) != 23(really_lost))!