OoO La nuit ayant déjà recouvert d'encre ce jour du jeudi 24 mai 2012, vers 23:57, Dave Shield <[email protected]> disait :
>> 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)". > Try > netsnmp_query_get( netsnmp_variable_list *list, > netsnmp_session *session) > (see snmplib/snmp_client.c). Hi Dave! I am unsure on how to use it. If I use a regular session, I will query myself through the network with snmp_synch_response() and will get stuck since I won't be in a state where I can process incoming requests. -- Vincent Bernat ☯ http://vincent.bernat.im Use recursive procedures for recursively-defined data structures. - The Elements of Programming Style (Kernighan & Plauger) ------------------------------------------------------------------------------ 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
