hi all am running nagios on red hat AS and nagios ver 2.6. Now every other command is working just fine apart from the check_ping command which is returning an error:
check_ping: %s: Warning threshold must be integer or percentage!
How can i remedy this?
Dunno, but it might help if we are shown the check_ping command definition and also the service check command definition.
Here is the ping defination :
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
I donno where the values for $ARG1$and $ARG2$ are supposed to be but from what i gather they are supposed to be rerplaced with “2000,25%” is this true?
Have a look in the service check definition. $ARG1$ is what comes after the first “!”, $ARG2$ after the next and so on.
So in mine I have:
in which case $ARG1$ will contains “200.0,20%”.
Again, the command and SERVICE defintion, please.