[Nagiosplug-help] NRPE and check_megaraid2

Brian Hellman bhellman at dlz.com
Fri Apr 8 07:03:04 CEST 2005


Thanks I am now using check_by_ssh to get the info I want. It's working 
great!!

Ben Polson wrote:

>Hi Brian.  To do a check similar to this I used check_by_ssh and put the
>plugin on the remote host.  I then used an ssh key so the nagios user could
>log in to the nagios account on the remote host without a password and
>execute the plugin.
>
>Currently, I am working on installing the Dell Openmanage tools on some of
>my remote hosts to set up some SNMP polling tests of the Perc2 controllers
>using the plugins at http://www.nagiosexchange.org/DELL_Server.61.0.html.
>Kinda tricky, though, because the Openmanage RPMs are for RH, and I'm
>running SuSE...
>
>Another option is to put the plugin on your remote host and set up an exec
>command in your snmpd.conf file to execute the plugin on the remote host,
>then poll the proper OIDs with check_snmp.  This is a little bit more
>complicated, though, because the SNMP MIB stores the data for the return
>status codes in a separate OID from the text output, so a wrapper script for
>check_snmp needs to be written to parse both OID fields, or to parse the
>output of an snmpwalk command.
>
>Hope this helps.
>
>-Ben.
>
>-----Original Message-----
>From: nagiosplug-help-admin at lists.sourceforge.net
>[mailto:nagiosplug-help-admin at lists.sourceforge.net]On Behalf Of Brian
>Hellman
>Sent: Thursday, April 07, 2005 5:16 AM
>Cc: nagiosplug-help at lists.sourceforge.net
>Subject: Re: [Nagiosplug-help] NRPE and check_megaraid2
>
>
>And I was hopeful that someone knew how to do it :-/       :)
>
>Greg Vickers wrote:
>
>  
>
>>uhhh... replied to the wrong message sorry!!
>>
>>Greg Vickers wrote:
>>
>>    
>>
>>>Brian,
>>>
>>>I just did this the other day - the 'real' name is the name of the
>>>*directory* in that registry location. I wouldn't change the name of
>>>the directory, that would probably be A Bad Thing (tm).
>>>
>>>I am monitoring a couple of services with spaces in their 'real'
>>>name, and it was the double quotes that worked for me. Check you are
>>>using the correct name and try the double quotes.
>>>
>>>These checks are succeeding on Nagios 1.2 on Debian 3, monitoring W3K
>>>services.
>>>
>>>HTH,
>>>Greg
>>>
>>>Brian Hellman wrote:
>>>
>>>      
>>>
>>>>I am trying to get the status individual drives on a remote raid
>>>>array. Using the check megaraid2 plugin works locally but when I try
>>>>it using NRPE I get "NRPE: Unable to read output"
>>>>
>>>>Does anyone know how I might go about getting the status of remote
>>>>arrays? The remote box is a Linux box with a Perc2 controller using
>>>>the megaraid2 module.
>>>>
>>>>Thanks
>>>>Brian.
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>_______________________________________________
>>>>Nagiosplug-help mailing list
>>>>Nagiosplug-help at lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>>>>::: Please include plugins version (-v) and OS when reporting any
>>>>issue. ::: Messages without supporting info will risk being sent to
>>>>/dev/null
>>>>
>>>>        
>>>>
>
>
>-------------------------------------------------------
>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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Nagiosplug-help mailing list
>Nagiosplug-help at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>::: Please include plugins version (-v) and OS when reporting any issue.
>::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
>  
>




More information about the Help mailing list