Page 1 of 1

check_nt : command not found

Posted: Tue Jan 28, 2014 3:36 am
by pjuhasz
Hi!

I have some problems with configuring Nagios, and I've not found any related information that helps me, so I'd like to ask for some help.

I'm using Nagios Core 4.0.1 on Ubuntu 12.04 as my Nagios Server, and NSClient++ 0.4.1.73 on my win7 client, I want to monitor. I've configured Nagios, and NSClient++ following the guides but my windows seems to be down from Nagios.

12489 and 5666 TCP ports are listening on my win7.

When I try to execute the check_nt or check_nrpe command on Ubuntu, I get the error: command not found.

Can someone help me with this issue?

Thanks

Re: check_nt : command not found

Posted: Tue Jan 28, 2014 8:32 am
by scottwilkerson
Can you give us the whole command you are trying to run?

Re: check_nt : command not found

Posted: Wed Jan 29, 2014 2:12 am
by pjuhasz
The command I'm trying to run:

check_nt -H <win7 host IP> -p 12489 -v SERVICESTATE

Re: check_nt : command not found

Posted: Wed Jan 29, 2014 10:50 am
by abrist
Did you install the nagios-plugins package through apt?
Are you trying to run the command from your plugin directory?

Re: check_nt : command not found

Posted: Wed Feb 05, 2014 2:24 am
by pjuhasz
Of course, the plugins are installed, and I tried to run the command from the plugin directory too.

Can this problem occur because of the possible incorrect configuration os NSClinet++ on my win7 host? I've just found configuration guides for older versions of NSClient.

Re: check_nt : command not found

Posted: Wed Feb 05, 2014 10:18 am
by slansing
Of course, the plugins are installed, and I tried to run the command from the plugin directory too.
What output do you get when you run the plugin from the command line?:

Code: Select all

/path/to/plugins/check_nt -H <host.address.of.windows.server>