check_fping rta artificially high
Posted: Wed Aug 31, 2016 10:19 am
so i'm rolling out a new nagios install for a new network and had some strange issues with check_ping so I have switched to check_fping
running the check command manually
Manually executed
As nagios user
as root
so to me the time it takes the command to elevate to root is included in the time calculation which is in my mind not right and its consistent, I could do it all day and running as the nagios user from the shell will always yield a 5ms minimum response and running as root i get 1.5-2ms response
if this has alwasy been discussed I apologise its 1am here
running the check command manually
Code: Select all
Status Information:
FPING WARNING - 192.168.1.1 (loss=0%, rta=2.590000 ms)
Code: Select all
Performance Data:
loss=0%;20;30;0;100 rta=0.002590s;0.002000;0.005000;0.000000
Code: Select all
/usr/local/nagios/libexec/check_fping 192.168.1.1 -w 20,2% -c 30,5% -n 5
Code: Select all
FPING OK - 172.17.37.30 (loss=0%, rta=5.760000 ms)|loss=0%;2;5;0;100 rta=0.005760s;0.020000;0.030000;0.000000
Code: Select all
FPING OK - 172.17.37.30 (loss=0%, rta=2.050000 ms)|loss=0%;2;5;0;100 rta=0.002050s;0.020000;0.030000;0.000000
if this has alwasy been discussed I apologise its 1am here