Return multiple values at snmpwalk request

Lumir Jasiok <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I need to implement (at Perl) extension of Net-SNMP, which will 
implement at particular OID index, query and get method. So, when I call:

snmpwalk -Ova -v2c -c public snmp_server .1.3.6.1.4.1.8072.9999.9999.1 
(index)

I'd like to return list of integers:

INTEGER: 1
INTEGER: 2
INTEGER: 3
INTEGER: 4

Similarly with query method.
I don't know, how can I do this in Perl. Using MODE_GETNEXT? Can you 
help me? Some example code?

Best Regards

Lumir Jasiok

P.S. I now, how to return single string or integer, using MODE_GET 
(snmpget).

  -- 
  Lumír Jasiok

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

_______________________________________________
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.