Hi All,
I recently started using check_fping instead of check_ping based on some recommendations on the forum. When I run check_fping on the command line, I get OK status. However, a service check returns warning status. I checked owner/group permissions on the libexec dir and it is all set to nagios. Also fping has execute permissions set for others. Even though I tried different settings, the settings I currently have is
checkcommands.cfg
command_name check_fping
command_line $USER1$/check_fping -H $HOSTADDRESS$ -n 2
services.cfg
check_command check_fping
When I run check_fping on the command line, I get the following
./check_fping -H hostanme -n 2
FPING OK - hostname (loss=0%, rta=0.770000 ms)|loss=0%;;;0;100 rta=0.000770s;;;0.000000
However, as a service check, I get
Current Status: WARNING
Status Information: FPING WARNING - hostname
Current Attempt: 3/3
Any ideas on where the problem could be?