check_nt : command not found

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
pjuhasz
Posts: 3
Joined: Tue Jan 28, 2014 2:58 am

check_nt : command not found

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_nt : command not found

Post by scottwilkerson »

Can you give us the whole command you are trying to run?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
pjuhasz
Posts: 3
Joined: Tue Jan 28, 2014 2:58 am

Re: check_nt : command not found

Post by pjuhasz »

The command I'm trying to run:

check_nt -H <win7 host IP> -p 12489 -v SERVICESTATE
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_nt : command not found

Post by abrist »

Did you install the nagios-plugins package through apt?
Are you trying to run the command from your plugin directory?
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.
pjuhasz
Posts: 3
Joined: Tue Jan 28, 2014 2:58 am

Re: check_nt : command not found

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_nt : command not found

Post 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>
Locked