Page 1 of 1

Need assistance with check_nt!CPULOAD!

Posted: Tue Apr 24, 2012 1:06 pm
by dlbjr
I have the Client++ running on all clients I can get from check_nt!MEMUSE! -w 80 -c 90 , but check_nt!CPULOAD!-1 5,80,95 does not work. Nagios is showing the following line in the web interface:

Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout]

I'm trying to get this to work:

define service{
use generic-service
host_name rpcecas
service_description CPU Load
check_command check_nt!CPULOAD!-1 5,80,95
}

Any assistance would be appreciated!

Re: Need assistance with check_nt!CPULOAD!

Posted: Tue Apr 24, 2012 1:53 pm
by lmiltchev
Is your command defined properly? You've shown only the service definition. Can you run it from the command line, for example:

Code: Select all

cd /usr/local/nagios/libexec
 ./check_nt -H <ip_address> -s <password> -p 12489 -v CPULOAD -l 5,80,95
You may have a typo - it seems like you are using "-1" instead of "-l" for params.

Hope this helps.