Hi,
the "data_set.c" sample creates a row index by
netsnmp_table_row_add_index(row, ASN_OCTET_STR, "snmpv3",strlen("snmpv3"));
when making a snmpwalk
%snmpwalk localhost .1.3.6.1.4.1.8072.2.2.1.1
NET-SNMP-MIB::netSnmp.2.2.1.1.2.6.115.110.109.112.118.51 = STRING: "Russ
Mundy"NET-SNMP-MIB::netSnmp.2.2.1.1.3.6.115.110.109.112.118.51 = STRING: "David
Harrington"
so far so good. Obvisously the 115.110.109.112.118.51 is the ASCII Code for
"snmpv3".
my question is: how can I get the "snmpv3" back? Something like
char * psz = OID2SZ(oid);
printf("the index: (%s)", psz);
=> the index: (snmpdv3)
Thank you.
_________________________________________________________________
Play free games, earn tickets, get cool prizes! Join Live Search Club.
http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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