Compaq Smart Array Drives under Linux

Demetri Mouratis dmourati at cm.math.uiuc.edu
Mon Dec 6 22:57:30 CET 2004


On Mon, 6 Dec 2004, Stork, Johnny [PH] wrote:

>
> I have had nagios 1.2 working for sometime and only recently added a new
> Linux Server running Suse EL 9 with a Compaq Smartarray controller. Running
> df shows the following dev entries
>
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/cciss/c0d0p2     68974336   3663072  65311264   6% /
> tmpfs                   647660         8    647652   1% /dev/shm
> /dev/cciss/c0d0p1        98747      6571     87077   8% /boot
>
> But running Nagios from another machine (192.168.101.14) and trying to read
> the drive/mnt status on the SuSE server (192.168.101.12) does not return any
> values? Is the check_disk plugin only for a local drive? If so, is there
> another plugin to monitor non-local drives on another server?

Check_disk only monitors the local disks.  If you want to monitor disks on
a remote machine, try setting up ssh keys and using check_by_ssh:

services.cfg:

# DISK
# arg1 warning percentage free
# arg2 critical percentage free
# service depends on SSH
define service{
        use                             qab-service
        service_description             DISK
        hostgroup_name                  qab-nonlocal
        check_command                   check-remote-disk!20%!10%
        }

checkcommands.cfg:

#
# check-remote-disk
define command{
        command_name    check-remote-disk
        command_line    $USER1$/check_by_ssh -H $HOSTADDRESS$ -C
"$USER1$/check_disk -w $ARG1$ -c $ARG2$ -m"
        }

HTH.
---------------------------------------------------------------------
Demetri Mouratis
dmourati at linfactory.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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