Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
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
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
Last edited by nozlaf on Wed Aug 31, 2016 4:45 pm, edited 2 times in total.
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
-t n Initial target timeout in milliseconds (default 500). In the default mode, this is the amount of time that fping waits for a response to its first request. Successive timeouts are multiplied by the
backoff factor specified with -B. Note that this option has no effect looping or counting modes (-l, -c, or -C).
I could be wrong, but your warning of 2% and critical of 5% is the source of your problem.
THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time (ms)
which triggers a WARNING or CRITICAL state, and <pl> is the percentage of
packet loss to trigger an alarm state.
You are defining 5 packets with -n 5
1 packets is 20% (100/5 = 20)
Hence 2% or 5% are too small of values. Perhaps you need 20% and 40% or 40% and 60%.
As for speed, use check_icmp.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.