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
check_nt : command not found
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_nt : command not found
Can you give us the whole command you are trying to run?
Re: check_nt : command not found
The command I'm trying to run:
check_nt -H <win7 host IP> -p 12489 -v SERVICESTATE
check_nt -H <win7 host IP> -p 12489 -v SERVICESTATE
Re: check_nt : command not found
Did you install the nagios-plugins package through apt?
Are you trying to run the command from your plugin directory?
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.
"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.
Re: check_nt : command not found
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.
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
What output do you get when you run the plugin from the command line?:Of course, the plugins are installed, and I tried to run the command from the plugin directory too.
Code: Select all
/path/to/plugins/check_nt -H <host.address.of.windows.server>