Re: Is there a way to query multiple variable at the same time?
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/6/24 xiao ren <[email protected]>: > how can I query multiple variables from a host at one time? By adding the relevant varbinds to the same request PDU. > Any advice is appreciated Just call "snmp_add_null_var()" several times to add each of the necessary varbinds, before calling 'snmp_send()' or 'snmp_synch_response()' to actually send the request. > and code example is more helpful. See apps/snmpget.c or apps/snmpstatus.c (or almost any of the other command-line tools) for examples. Dave ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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