Here’s the config file for one of the servers in question. As you can see, it’s pretty vanilla at this point:
[code]###############################################################################
exchange.cfg
###############################################################################
###############################################################################
###############################################################################
HOST DEFINITIONS
###############################################################################
###############################################################################
Define a host for the Windows machine we’ll be monitoring
define host{
use windows-server ; Inherit default values from a template
host_name exchange ; The name we’re giving to this host
alias Exchange Mail Server ; A longer name associated with the host
address 192.168.0.150 ; IP address of the host
check_period almost_24x7 ; Ignore scheduled restart between 1:30 and 2:00 a.m.
}
###############################################################################
###############################################################################
SERVICE DEFINITIONS
###############################################################################
###############################################################################
Create a service for monitoring the version of NSCLient++ that is installed
define service{
use generic-service
host_name exchange
service_description NSClient++ Version
check_command check_nt!CLIENTVERSION
check_period almost_24x7
}
Create a service for monitoring the uptime of the server
define service{
use generic-service
host_name exchange
service_description Uptime
check_command check_nt!UPTIME
check_period almost_24x7
}
Create a service for monitoring CPU load
define service{
use generic-service
host_name exchange
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90
check_period almost_24x7
}
Create a service for monitoring memory usage
define service{
use generic-service
host_name exchange
service_description Memory Usage
check_command check_nt!MEMUSE!-w 80 -c 90
check_period almost_24x7
}
Create a service for monitoring C:\ disk usage
define service{
use generic-service
host_name exchange
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
check_period almost_24x7
}
Create a service for monitoring D:\ disk usage
define service{
use generic-service
host_name exchange
service_description D:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l d -w 80 -c 90
check_period almost_24x7
}
Create services for monitoring the W3SVC service
define service{
use generic-service
host_name exchange
service_description W3SVC
check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
check_period almost_24x7
}
Create a service for monitoring the Explorer.exe process
#define service{
use generic-service
host_name exchange
service_description Explorer
check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
check_period almost_24x7
}
[/code]