Check_nt

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Check_nt

Postby linuxnewbie » Tue Apr 09, 2013 12:12 pm

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
linuxnewbie
 
Posts: 21
Joined: Tue Feb 19, 2013 6:54 pm

Re: Check_nt

Postby abrist » Tue Apr 09, 2013 12:42 pm

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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm


Return to Community Support

Who is online

Users browsing this forum: Google [Bot], hbouma, Majestic-12 [Bot] and 21 guests