If you're running net-snmp (and given that you're running linux, you probably are), then it's fairly trivial to get it to execute a command and return the result when a certain oid is queried. See the snmp conf file for examples.
On Wed, 4 Apr 2007, Andrew Zahn wrote: > do these plugins require NRPE? I was hoping to get raid status out of > SNMP somehow. > > Hari Sekhon wrote: >> I wrote 3 scripts to monitor Raid arrays on 3ware, Lsi MegaRaid, and >> Linux Software (MD) Raid which it sounds like you are using. >> >> I use these on both 32-bit and 64-bit Linux servers >> >> you can find the plugins here >> >> Linux MD Software Raid >> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 >> >> LSI MegaRaid >> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 >> >> 3ware Raid >> http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi1[p_view]=878 >> >> >> >> -h >> >> Hari Sekhon >> >> >> >> Andrew Zahn wrote: >>> Hi, >>> >>> I am looking for a way to monitor the status of software raid (such >>> as md0) using snmp? Primarily I would like to check for a "failed" or >>> "degraded" status. I am wonder how Nagios admins are doing this. >>> >>> Thanks, >>> Andrew >>> >>> >>> >>> ------------------------------------------------------------------------- >>> >>> 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 >>> [email protected] >>> 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 >>> >>> > > ------------------------------------------------------------------------- > 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 > [email protected] > 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 > ------------------------------------------------------------------------- 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 [email protected] 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
