Re: perl usage of the $session->getbulk()

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> "HH" == Harrie Hazewinkel <[email protected]> writes:

HH> It returns a list, but is I print the perticular items
HH> of the list, I just get the value. It there not some
HH> way I can get the varbind and then have OID/value?


HH> @result = $sess->getbulk(0, 5, $vars);

The vars reference you've passed in has been modified.  Look at the
structure for that instead, which will contain a varbindlist of all
the results including OIDs, types, etc.

Nice to hear from you again Harrie!
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
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
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.