Page 1 of 1

Check_nt

Posted: Tue Apr 09, 2013 12:12 pm
by linuxnewbie
Hey guys!

After setting up a new server with nagios monitoring I'm getting a 'Socket timeout after 10 seconds' for a my Check_nt check on this one host.

In my attempt to troubleshoot the issue I used this command in a terminal window:

Code: Select all

cd /usr/local/nagios/libexec
./check_nt -H ***.***.***.*** -p 1248 -l 5,40,50
(and i get)
check_nt: Could not parse arguments
Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout]
I have a strong feeling I'm not getting the syntax correct.
Could somene help break down what I need to manually run the check?

Thanks again!


Edit:
I'm using Nagios 3.1.0

Re: Check_nt

Posted: Tue Apr 09, 2013 12:42 pm
by abrist
You need a "variable" like UPTIME or CLIENTVERSION or CPULOAD etc.

Code: Select all

./check_nt -H ***.***.***.*** -p 1248 -v VARIABLE -l 5,40,50
See: http://nagiosplugins.org/man/check_nt