Need assistance with check_nt!CPULOAD!

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.
Locked
dlbjr
Posts: 1
Joined: Tue Apr 24, 2012 12:59 pm

Need assistance with check_nt!CPULOAD!

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Need assistance with check_nt!CPULOAD!

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked