1 ###############################################################################
4 # $Id: contacts.cfg 5972 2005-05-14 13:33:19Z glen $
5 ###############################################################################
7 ###############################################################################
8 ###############################################################################
12 ###############################################################################
13 ###############################################################################
15 # Define a host for the Windows machine we'll be monitoring
16 # Change the host_name, alias, and address to fit your situation
19 use windows-server ; Inherit default values from a template
20 host_name winserver ; The name we're giving to this host
21 alias My Windows Server ; A longer name associated with the host
22 address 192.168.1.2 ; IP address of the host
28 ###############################################################################
29 ###############################################################################
31 # HOST GROUP DEFINITIONS
33 ###############################################################################
34 ###############################################################################
36 # Define a hostgroup for Windows machines
37 # All hosts that use the windows-server template will automatically be a member of this group
39 ; The name of the hostgroup
40 hostgroup_name windows-servers
41 ; Long name of the group
45 ###############################################################################
46 ###############################################################################
50 ###############################################################################
51 ###############################################################################
53 # Create a service for monitoring the version of NSCLient++ that is installed
54 # Change the host_name to match the name of the host you defined above
58 service_description NSClient++ Version
59 check_command check_nt!CLIENTVERSION
62 # Create a service for monitoring the uptime of the server
63 # Change the host_name to match the name of the host you defined above
67 service_description Uptime
68 check_command check_nt!UPTIME
71 # Create a service for monitoring CPU load
72 # Change the host_name to match the name of the host you defined above
76 service_description CPU Load
77 check_command check_nt!CPULOAD!-l 5,80,90
80 # Create a service for monitoring
81 # Change the host_name to match the name of the host you defined above
85 service_description Memory Usage
86 check_command check_nt!MEMUSE!-w 80 -c 90
89 # Create a service for monitoring C:\ disk usage
90 # Change the host_name to match the name of the host you defined above
94 service_description C:\ Drive Space
95 check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
98 # Create a service for monitoring the W3SVC service
99 # Change the host_name to match the name of the host you defined above
103 service_description W3SVC
104 check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
107 # Create a service for monitoring the Explorer.exe process
108 # Change the host_name to match the name of the host you defined above
112 service_description Explorer
113 check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
116 # vim:ts=4:sw=4:ft=nagios