we’re currently running Nagios 3.0.
Nagios does a good job with monitoring & reporting unix disk utilisation
The windows servers however are a different story.
on a few of our windows servers, disk space on D: drive is at 90-97% utilisation but nagios reports it as OK
what gives??
How do we get this to work?
{e_FILE}public/1213848552_10641_FT0_disk.png
what does your service check look like?
define service{
use prd-service
host_name xxxxxxx
service_description DiskFreeD
contact_groups nt-admins
check_command check_nt_diskspace!d!60!80
}
Assuming that your check_nt_diskspace command maps to check_nt -v=USEDDISKSPACE, according to check_nt --help this is…
[blockquote]
USEDDISKSPACE =
Size and percentage of disk use.
Request a -l parameter containing the drive letter only.
Warning and critical thresholds can be specified with -w and -c.[/blockquote]
…perhaps as it references both “Size and percentage” then you need to include a % character in the warning and critical thresholds, like
define service{
use prd-service
host_name xxxxxxx
service_description DiskFreeD
contact_groups nt-admins
check_command check_nt_diskspace!d!60%!80%
}
No way of knowing for sure though without seeing the object definition for check_nt_diskspace
HTH
/S
The check_nt_disk command definition.
‘check_nt_disk’ command definition
define command{
command_name check_nt_diskspace
command_line $USER1$/check_nt -H $HOSTADDRESS$ -v USEDDISKSPACE -l $ARG1$
}
many thanks,
jzap
yeah I’d give check_command check_nt_diskspace!d!60%!80% a shot then