Windows Server 2008 R2 - Invalid Drive
Posted: Wed Dec 21, 2011 3:40 pm
Howdy,
I have setup nagios to monitor free disk space on a Windows 2008 R2 server. We'll call that server 1. When nagios polls this device, it polls the C:\ and F:\ drive without an issue, but reports an Invalid Drive for the E:\ drive. Server2, Server3 and Server4, all report on the E: drive just fine. I've attached a snippet below.
I see there is an open bug report with NSC on this (http://nsclient.org/nscp/ticket/446), but wondering if anyone has figured out a way around it, as it's really hampering our monitoring abilities.
I have setup nagios to monitor free disk space on a Windows 2008 R2 server. We'll call that server 1. When nagios polls this device, it polls the C:\ and F:\ drive without an issue, but reports an Invalid Drive for the E:\ drive. Server2, Server3 and Server4, all report on the E: drive just fine. I've attached a snippet below.
I see there is an open bug report with NSC on this (http://nsclient.org/nscp/ticket/446), but wondering if anyone has figured out a way around it, as it's really hampering our monitoring abilities.
Code: Select all
define service{
use generic-service
hostgroup_name windows-servers
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 95 -c 98
}
# Create a service for monitoring E:\ disk usage
# Change the host_name to match the name of the host you defined above
define service{
use generic-service
host_name server1,server2,server3,server4
service_description E:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l e -w 95 -c 98
}
# Create a service for monitoring F:\ disk usage
# Change the host_name to match the name of the host you defined above
define service{
use generic-service
host_name server1
service_description F:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l f -w 90 -c 95
}