Unable to check disk utilization on Windows Servers
Pavel Santos
pavel.santos at cyberlockconsulting.com
Fri Sep 30 21:48:52 CEST 2005
Hello List,
I'm having a weird problem trying to check disk utilization on Windows Servers. Whenever I add the scrip to my commads.cfg file nagios stops working (services will not restart). Below is what I'm adding to my commands and services.cfg files.
define command{
command_name check_nt_disk
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
}
define service{
host_name host
service_description C: Drive Disk Space
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups diskcheck
notification_interval 10
notification_period 24x7
notification_options w,u,c,r
check_command check_nt_disk!C!85%!90%
}
Thanks in advance,
Pavel
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list