Error in retrieving information of HDD partition in windows


#1

Hello

Goodmorning

I already setup and install latest of nagios

my problem is that the partition of my windows 2003 it has 3
one is Drive C
two is Drive E
three is Drive F

those are i already configure in windowsserver.cfg

Create a service for monitoring C:\ disk usage

Change the host_name to match the name of the host you defined above

define service{
use generic-service
host_name serverdatabase
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}

define service{
use generic-service
host_name serverdatabase
service_description E:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l e -w 81 -e 91
}

define service{
use generic-service
host_name serverdatabase
service_description F:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l f -w 80 -f 90
}

this is my configuration: ^

actually only the drive C was work but the rest is giving me an error like this

Usage:check_nt -H host -v variable -p port] -w warning] -c critical]-l params] -d SHOWALL] -t timeout] 

please help how to fix this problem

thanks