Page 1 of 1

check_nt: Could not parse arguments

Posted: Tue Feb 25, 2014 11:14 pm
by chiit
Hello, I am installing Nagios Core on Ubuntu. I have it setup and running, I have also setup the NSClient ++ on a Windows machine.

From the Nagios console, I can see the Windows machine and it sees that it is up. However when I click on it, all of the services say check_nt: Could not parse arguments.

I can run this command from a command line when in the /usr/local/nagios/libexec directory, and it returns the info correctly.

./usr/local/nagios/libexec/check_nt -H 192.168.1.105 -p 12489 -v MEMUSE
(memuse is an example, I can use any of the other services as well and it works from the command line as well)

I am using the standard windows.cfg that installs, and I have edited to include the ip address of the windows machine.

Any help is appreciated, I've been knocking my head against a wall for a day trying to figure it out!

Thanks in advance

Re: check_nt: Could not parse arguments

Posted: Wed Feb 26, 2014 10:38 am
by slansing
Can you show us the output of:

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.1.105 -p 12489 -v MEMUSE
From the Core server? Also, please attach your host config, service config, and check_nt command definition. Thanks!