[Nagiosplug-devel] [ nagiosplug-New Plugins-1314918 ] HP Smart Array Hardware status plugin for Nagios

SourceForge.net noreply at sourceforge.net
Mon Oct 10 08:03:47 CEST 2005


New Plugins item #1314918, was opened at 2005-10-06 15:11
Message generated for change (Comment added) made by simonerosa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1314918&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: System monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simone Rosa (simonerosa)
Assigned to: Nobody/Anonymous (nobody)
Summary: HP Smart Array Hardware status plugin for Nagios

Initial Comment:
HP Smart Array Hardware status plugin for Nagios
Written by Simone Rosa (info at simonerosa.it)
Last Modified: 06-10-2005

Usage: ./check_cciss -N <number_cciss> [-v | --verbose]

Description:

This plugin checks hardware status for Smart Array 
Controllers,
using the HP Array Configuration Utility CLI.

NOTE:

HP Array Configuration Utility CLI 7.40.7.0 need 
administrator rights.
Please add this line to /etc/sudoers
--------------------------------------------------
nagios      ALL=NOPASSWD: /usr/sbin/hpacucli
--------------------------------------------------

Today you can find HP Array Configuration Utility CLI for 
Linux version 7.40-7 (9 Sep 05) here:

http://h18000.www1.hp.com/support/files/server/us/downl
oad/23022.html


----------------------------------------------------------------------

>Comment By: Simone Rosa (simonerosa)
Date: 2005-10-10 17:02

Message:
Logged In: YES 
user_id=1357423

Now it's compatible with "Compaq Smart Array"  
( /proc/driver/cpqarray/ )


# HP Smart Array Hardware status plugin for Nagios
# ( With HP Array Configuration Utility CLI )
# Last Modified: 10-10-2005 - Revision: 1.2

Usage: check_cciss -N <controller_number> [-c] [-v | --
verbose] [-d | --debug]
Usage: check_cciss [-h | --help]
Usage: check_cciss [-V | --version]

 Usage: ./check_cciss -N <controller_number> [-c] [-v | --
verbose] [-d | --debug]

  default (without -c) = use /proc/driver/cciss/ ( HP Smart 
Array )
  -c                   = use /proc/driver/cpqarray/ ( Compaq Smart 
Array )
  -v                   = output status and informations about RAID
  -d                   = use for debug ( command line mode )


----------------------------------------------------------------------

Comment By: Hans Engelen (engelenh)
Date: 2005-10-10 12:25

Message:
Logged In: YES 
user_id=53586

I would like to point out that this check could be expanded to 
provide similar support easily for older cpqarray drives such 
as the Compaq Smart Array 3200 controller (found in Compaq 
6500 machines for one). The same compaq cli utility supports 
these drives too.

However their status resides in /proc/driver/cpqarray/idax 
(with x being the number of the controller and not related to 
the slot in which it is, so first controller is ida0 no matter what 
slot it is in) instead of /proc/driver/cciss/ccissx as is 
hardcoded in check_cciss now.


----------------------------------------------------------------------

Comment By: Simone Rosa (simonerosa)
Date: 2005-10-07 10:40

Message:
Logged In: YES 
user_id=1357423

UPDATE to v1.1 (with Debug):

HP Smart Array Hardware status plugin for Nagios (1.1)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1314918&group_id=29880




More information about the Devel mailing list