Dear net-snmp coders:
The function snmp_varlist_add_variable can be
used to add a variable to the notification_vars.I can add my define oid and its
value to notification_vars.But if I want to add the implemented oid by net-snmp
and the net-snmp's value,how do I get these values?For example,if I want to add
sysLocation,sysContact,sysUptime,and so on to the notification pdu,I don't
know how to get their values by code(Of course,I can parser the snmpd.conf ^_^)
.Some function can be called with OID parameter as a input,or use another
way?Thanks everybody.
_________________________________________________
名模千金特助誰才是富商真愛?下決定拿30萬。-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders