[mrtg] Re: snmpget in a perl script
David Gabler
dgabler at TRUELINK.com
Thu Apr 25 17:33:33 MEST 2002
One way to do it. There are many other ways.
($a, $data) = split/\= /, `snmpget <host> <community> <oid>`;
Works for me on redhat 6.2, ucd-snmp-4.2.1
David
> -----Original Message-----
> From: Cliff [mailto:cliff at acsalaska.net]
> Sent: Thursday, April 25, 2002 8:20 AM
>
> Subject: [mrtg] snmpget in a perl script
>
> Could somebody spare me a perl snippet?
>
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list