>>>>> On Sat, 30 Oct 2004 21:23:33 +0100, Chris Boot <[EMAIL PROTECTED]> said:
Chris> Can anyone show me an example of how to use SNMP::Session::getbulk? Chris> I've used the plain get() and bulkwalk(), but I just can't figure out Chris> getbulk... Chris> My aim at the moment is to get a few entries from the UCD-SNMP-MIB: Chris> UCD-SNMP-MIB::memTotalSwap.0 Chris> UCD-SNMP-MIB::memAvailSwap.0 Chris> UCD-SNMP-MIB::memTotalReal.0 Chris> UCD-SNMP-MIB::memAvailReal.0 my $vbl = [['memTotalSwap]]; $session->getbulk(0, 4, $vbl); should do what you want. The results will be in $vbl. -- Wes Hardaker Sparta ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users