<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hi List:<br>I'm setting up Nagios to monitor my Windows server, NSClient installed on the windows server. <br>I followed the directions in the link below:<br><span><a target="_blank" href="http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html">http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html</a></span><br>I have created most of the config files within Nagios however when I verify the result, it's coming up with this error:<br>Nagios 2.10<br><span>Copyright (c) 1999-2007 Ethan Galstad (<a target="_blank" href="http://www.nagios.org">http://www.nagios.org</a>)</span><br>Last Modified: 10-21-2007<br>License: GPL<b
r>Reading configuration data...<br>Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'C:\ Drive Space' on host
'winsrv.domain.com'<br>Error: Could not register service (config file '/usr/local/nagios/etc/windows.cfg', starting on line 33)<br>***> One or more problems was encountered while processing the config files...<br> Check your configuration file(s) to ensure that they contain valid<br> directives and data defintions. If you are upgrading from a previous<br> version of Nagios, you should be aware that some variables/definitions<br> may have been removed or modified in this version. Make sure to read<br> the HTML documentation regarding the config files, as well as the<br> 'Whats New' section to find out what has changed.<br><br>Here's
my windows.cfg file:<br><br># Define a host for the Windows machine we'll be monitoring<br># Change the host_name, alias, and address to fit your
situation<br><br>define service{<br>use generic-service<br>host_name winsrv.domain.com<br>service_description NSClient++ Version<br>check_command check_nt!CLIENTVERSION<br>}<br><br>define service{<br>use generic-service<br>host_name winsrv.domain.com<br>service_description Uptime<br
>check_command check_nt!UPTIME<br>}<br><br>define
service{<br>use generic-service<br>host_name winsrv.domain.com<br>service_description CPU Load<br>check_command check_nt!CPULOAD!-l 5,80,90<br>}<br><br>define service{<br>use generic-service<br>host_name winsrv.domain.com<br>service_description Memory Usage<br>check_command &nb
sp; check_nt!MEMUSE!-w 80 -c 90<br>}<br><br>define
service{<br>use generic-service<br>host_name winsrv.domain.com<br>service_description C:\ Drive Space<br>check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90<br>}<br><br>define service{<br>use generic-service<br>host_name winsrv.domain.com<br>service_description W3SVC<br>check_comm
and check_nt!SERVICESTATE!-d SHOWALL -l W3SVC<br>}<br><br>Here's my winserver.cfg file:<br>define
host{<br> use always<br> host_name winsrv.domain.com<br> alias Winsrv<br> address &nbs
p; 172.168.2.234<br> }<br><br>Here's my windows-server file in
hostgroups:<br>define host{<br> name windows-server ; The name of this host template<br> use generic-host ; Inherit default values from the generic-host template<br> check_period 24x7 &nbs
p; ; By default, Windows servers are monitored round the clock<br>
check_interval 5 ; Actively check the server every 5 minutes<br> max_check_attempts 10 ; Check each server 10 times (max)<br> check_command check-host-alive ; Default command to check if servers are "alive"<br> &
nbsp; notification_period
24x7 ; Send notification out at any time - day or night<br> notification_interval 30 ; Resend notifications every 30 minutes<br> notification_options d,r ; Only send notifications for specific host states<br> contact_groups admin
instrators ; Notifications get sent to the admins by default<br>
hostgroups windows-servers ; Host groups that Windows servers should be a member of<br> register 1 ; REGISTER THIS -<br> }<br><br>I need help, please let me know what I need to do. <br><br>Thanks in advance. <br><br>DB <br><br></div><br>
</body></html>