Plugin help

Steve Amat emasmonitor at yahoo.com
Mon Jan 14 23:58:21 CET 2008


Hi all,
I need some help installing plugins for monitoring HP arrays.  I'm a Linux/nagios newbie so please bear with me. 

I'm using nagios on vmware (Debian OS).  When I try and use some HP monitoring plugins I have been getting permissions errors.  I haven't been able to set my permissions correctly to fix the problem.  One of the plugins states that the sudoers file needs to be edited so that hpacucli has admin permissions.  I don't have that file and even when I create it the plugin still doesn't work.   Here's the error:  "/usr/local/nagios/libexec/check_hparray
Usage: check_hparray -s Usage: check_hparray [-h | --help] Usage: check_hparray [-V | --version] NOTE: HPACUCLI needs administrator rights. add this line to /etc/sudoers nagios ALL=NOPASSWD: /usr/sbin/hpacucli" 
 
The plugin instructions also state:  "In your nrpe.cfg add for example:
command[check_hpraid_slot1]=/opt/nrpe/libexec/check_hparray -s 1
command[check_hpraid_slot2]=/opt/nrpe/libexec/check_hparray -s 2
Will be look something like this in Nagios Status information:
---snipp---
RAID OK - (Smart Array P400 in Slot 1 array A logicaldrive 1 (68.3 GB, RAID 1+0, OK) array B logicaldrive 2 (68.3 GB, RAID 1+0, OK)) 
---snipp---"
I haven't messed with this so maybe that is also part of the issue.

Here's the plugin that I've been trying to use.  http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=961&tx_netnagext_pi1[page]=10%3A10  (Although I've tried all the ones that say HP on them from this site).  

I think I have hpacucli successfully installed but I'm not so sure since plugin still won't work.
Can anyone suggest a good HP plugin or some things that I can try to get the ones I have to work?  I'm trying to monitor Windows servers.  Mainly dl360, 370 and 380's.

Thanks for your help!
Steve


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080114/f2762784/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
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