[Nagiosplug-help] usage: check_disk

Walbert Oberngruber walbert.oberngruber at liwest.at
Fri Mar 14 12:47:25 CET 2003


Hallo!

I have defined over 90 services and most are running proper.
Nagios is running on SuSE Linux 8.1.
plugin: check_disk for checking dics space on Sun Solaris 8 and on
Dell PowerEdge 2450 with Perc3 Controller and SuSE Linux 7.3 failed.

All machines are on same subnet.

here some config parts:

generic-service is like original services.cfg-sample

I've defined Services for Solaris (equal soft mirrored disks or not):
define service{
        use                             generic-service
        host_name                       twyn2
        service_description             Disk Space on /
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  twyn-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command
check_local_disk!20%!10%!/dev/md/dsk/d0
        }

and for Dell Machine similar:
define service{
        use                             generic-service
        host_name                       twyn5
        service_description             Disk Space on /
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  twyn-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_disk!20%!10%!/dev/sda5
        }

Getting the Service output for Sun Solaris:
Disk Space on /    WARNING   03-14-2003   21:26:47   1d 0h 58m 24s   3/3
Disk "/dev/md/dsk/d0" not mounted or nonexistant

and for Dell PowerEdge:
Disk Space on /    UNKNOWN   03-14-2003   21:29:57   1d 1h 0m 4s     3/3
Unable to read output:

Same plugin is working excelent for other machines with Promice TX2000 ATA
Raid Controller on Linux.

Is there any idea whats wrong.

Thx in advance

Walbert








More information about the Help mailing list