Re: snmp_parse_oid

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 2 August 2010 14:26, Norasyikin MD Ali <[email protected]> wrote:
> Btw, I've figured out the problem. The OID types works fine in other tables
> but in this particular table i had some empty columns. With strings they
> just return nulls "". With OID types snmpwalk can't find the next value and
> timeouts.

If the column object is missing for a given row, then a GETNEXT for this OID
should return the next value that *does* exist.   With most handlers, if you
simply don't set a value, the agent framework should move on to the next
row automatically.
   Returning null values is likely to prove confusing.

Dave

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
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.