Call "snmp_get"
Vincent Bernat <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | One Piece |
| Message-ID | <[email protected]> |
Hi!
I would like to issue an internal GET request. This request is internal
to the current subagent: only the MIB registered by the subagent should
be queried. I would like something simple, like "snmp_get(oid, oid_len,
context)". I know that the request will not be delegated.
I have looked at the code in agent_handler.c but the use of the cache
make the thing pretty complicated. I have started with
netsnmp_subtree_find() but then, with my subtree, I am not really sure
if I can use the attached reginfo and arguments for
netsnmp_call_handlers() are pretty complex.
--
Vincent Bernat ☯ http://vincent.bernat.im
/* James M doesn't say fuck enough. */
2.4.3 linux/net/core/netfilter.c
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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