Page 1 of 1

nsclient

Posted: Wed May 25, 2011 3:11 pm
by rvaede
I have never set up nagios on a Windows environment.
I have installed an nsclient++ on a windows 2003 server.

The main Nagios server is a Linux RHN 5.5.

When I enter this in the windows.cfg and I restart nagios it generates an error. WHY?

define service{
use windows_template
hostgroup_name windows_server
service_description uptime
check_command check_nt!UPTIME
}

Does UPTIME have to be configured in the LInux server and the windows server?
Do I need to download the plugins?
How can I test connectivity using an alert from the Linux to the Windows server?
How can I test an alert in the Windows server?

thanks

Re: nsclient

Posted: Fri May 27, 2011 4:48 am
by Marble
First verify your Nagios configuration by running the following command:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

It will tell you file/line containing the error.