Tuesday 2 August 2011

Nagios, Check_all_disks (on windows servers)

/usr/local/nagios/libexec/check_disk

In commands.cfg

# 'check_all_disks' command definition
define command{
        command_name    check_all_disks
        command_line    /usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$
        }

windows.cfg


define service{
        use                     generic-service
        host_name               American-Server
        service_description     Check All Disks
        check_command           check_all_disks!20%!10%
        }

No comments:

Post a Comment