non contiguous column index
Renaud Barbier <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am quite new at SNMP.
I have currently net-snmp 5.2.3 and run an AgentX
I have a MIB where the column index are not contiguous (i.e 1,2,3,4,., 6)
When doing a snmpwalk, I only get the data for column 1,2,3,4 and then
data from the next table
I know during execution there is an attempt to get from the inexisting
column 5.
To work around the problem I do a the following call for the inexisting
column:
snmp_set_var_typed_value(var, ASN_INTEGER,
(const u_char *) NULL, 0);
Is there a better way to solve this problem or should all the column
number be contiguous?
-------------------------------------------------------------------------
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