2009/2/3 Rodolfo Leffa <rodolfole...@gmail.com>: > But i've reached the following situation: I can have more then one device > from wich I can get one kind of information(like STATUS, for example). So, i > need a way to especify which device I wanna to get the STATUS from.
There are two basic options here. a) You can design your MIB tables to include an index which specifies which device to query. This has the advantage that you can query several devices in a single request, but does require that you have control over the MIB definitions (and can change them) b) You can use the SNMPv3 "context" field to specify which device to query. (And the SNMPv1/2c community string can be used in the same way). This is a little more complex to set up, and you can only query one device at a time. But it doesn't affect the MIB definitions, which may be an issue if you're working with existing MIBs. Dave ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users