2009/9/4 Michal Filka <[email protected]>: > How can I get a value assigned to OID1 in OID2 SET handler?
Normally, I'd suggest using the call "netsnmp_query_get()" (as used in e.g. disman/event). This generates an internal query, to retrieve the requested OID value. Unfortunately, that won't work with SET processing which is inherently serial (by design). The agent locks out any other queries until the SET has finished. You'll have to hardcode the data lookup that would otherwise be used for the target OID, and include this within the SET handler. Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
