Wednesday, 13 July 2011

Nagios - check_all_disks

Make sure you have check_disk in /usr/local/nagios/libexec/


Command.cfg


define command{
        command_name    check_all_disks
        command_line    $USER1$/check_disk -w 20 -c 10
        }

Example:
  define service{
        use                     generic-service
        host_name               PCname
        service_description     Disk Space
        check_command   check_all_disks!20%!10%
        }



No comments:

Post a Comment

Post a Comment