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
nsclient
Re: nsclient
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.
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
It will tell you file/line containing the error.