check_cciss plugin for monitoring RAID arrays on HP servers

Tobias Klausmann klausman at schwarzvogel.de
Fri Nov 17 15:13:47 CET 2006


Hi! 

On Fri, 17 Nov 2006, Yogesh Hasabnis wrote:
> Yes, I had used arrayprobe form the command-line. But being a layman, I was
> not sure how to define a checkcommand using arrayprobe. Anyway, I will also
> give it a try.

We use this:

nrpe.conf:
command[check_array]=/usr/bin/sudo /usr/bin/arrayprobe

Note that sudo is needed since NRPE has its own user and teh
utility nees to run as root.

nagios config:
define service {
    host_name             <host name(s) here>
    service_description   check_array
    check_command         check_nrpe!check_array
    max_check_attempts    3
    normal_check_interval 5
    retry_check_interval  1
    check_period          24x7
    notification_interval 300
    notification_period   24x7
    notification_options  w,c,r
    contact_groups        <contact groups here>
}

Hope this helps,
Tobias

-- 
Never touch a burning system.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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