I wrote a script for this a few weeks back. http://www.kilala.nl/Sysadmin/retrieve_custom_snmp.php
It's also available from the Exchange, if you like :) On 29 Sep, 2006, at 15:10, Tom Brown wrote: > Hi > > I have added some things to my snmp config that i would normally use > nrpe for so that i can do a... > > snmpwalk host -v 1 -c community OID_string > > and get the desired response - does anyone know how i can construct a > plugin that would execute that line and then parse the returned > value? I > have tried to deconstruct another snmp plugin but got very confused! > > thanks > > ---------------------------------------------------------------------- > --- > 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 > Nagios-users@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 ------------------------------------------------------------------------- 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 Nagios-users@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