experience with check_sasraid_megaraid for Dell PERC 4?
Bo Gusman
mlist at bogusville.us
Thu Apr 30 23:44:23 CEST 2009
Thanks for your reply, James.
Your recipe for installation was perfect.
I did encounter two problems, 1 of which I solved (though I don't
understand why I needed to do it.)
Initially running check_sasraid_megaraid from the command line on the
Nagios box to get the help output complained
"Can't find utils.pm in @INC"
Comparing that script against many others in the nagios/libexec
directory showed that many others used utils.pm (which was also in the
nagios/libexec dir), and they found it just fine. I eventually added
"use lib /usr/local/groundwork/nagios/libexec" to the script and that
solved that particular problem. I'm not sure why this was necessary,
given that all of the scripts (that I checked, in any case), including
check_sasraid_megaraid were identical in usage of utils.pm.
The second is that when running
./check_sasraid_megaraid.pl -H bullwinkle -T megaraid --debug
it fails:
alert: CRITICAL
snmp error: Requested table is empty or does not exist
Megaraid UNKNOWN - could not retrieve snmp table
.1.3.6.1.4.1.3582.1.1.2.1.3
Initially I had opened ports 161 TCP so I thought that might be the
problem, but changing them to UDP only changes the speed with which I
get the failure (the timeout was operative before). I've checked that
both percsnmpd and snmpd are running and snmpd.conf has the appropriate
entry.
Do you have other hints that may help me?
Thanks again.
Bo
jmoseley at corp.xanadoo.com wrote:
> I use that plugin on a number of Dell servers. First, you've got to make
> sure the RAID controller is either a MegaRAID or AACRAID controller. More
> than likely, it's the former.
>
> The plugin itself is self explanatory - look at the help output. What you
> need is to download the Perc SNMP agent from Dell. Ultimately, you'll
> install the following RPM:
>
> percsnmp-4.09-1.i386.rpm
>
> which will install the percsnmpd daemon...
>
> All you need to do at that point is apply the following line to your
> /etc/snmp/snmpd.conf file:
>
> # Dell MegaRAID data will be exported on port 161 by the main snmpd
> pass .1.3.6.1.4.1.3582 /usr/sbin/percmain
>
> Then fire up the percsnmpd daemon and restart snmpd.
>
>
> James Moseley
>
>
>
>
>
> Bo Gusman
> <mlist at bogusville
> .us> To
> Nagios-users at lists.sourceforge.net
> 04/30/2009 01:00 cc
> PM
> Subject
> [Nagios-users] experience with
> check_sasraid_megaraid for Dell
> PERC 4?
>
>
>
>
>
>
>
>
>
>
> Hi all.
>
> We've got two dell servers with PERC4 controllers running CentOS that
> nagios is monitoring quite nicely with the exception of the raid arrays.
>
> Is there anyone that has experience with check_sasraid_megaraid as found
> here:
>
> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1474.html;d=1
>
> Advice, an overview, or a recipe would be very helpful!
>
> Thanks!
>
> Bo
>
>
> ------------------------------------------------------------------------------
>
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> 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
>
> Bo Gusman <mlist at bogusville.us> wrote:
>
> Hi all.
>
> We've got two dell servers with PERC4 controllers running CentOS that
> nagios is monitoring quite nicely with the exception of the raid arrays.
>
> Is there anyone that has experience with check_sasraid_megaraid as found
> here:
>
> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1474.html;d=1
>
> Advice, an overview, or a recipe would be very helpful!
>
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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