On Wed, Jan 5, 2011 at 5:40 PM, Dave Shield <[email protected]>wrote:
> 2011/1/5 Chen Figo <[email protected]>:
> > we want to implement a interface that can handler the dynamic snmp
> > tables which is automatic created.
>
> But why are you using dynamic tables?
>
It stumps me as well. The way I understand things, snmp was created as a way
to provide *consistency*. i.e. if you knew that there was an snmp agent
sitting at 192.1681.23, all you would need to do is query for the sysDesc or
sysName MIB node to figure out who it is. This system works because every
knows that those values are always found at OID 1.3.6.1.2.1.1.1 or OID
1.3.6.1.2.1.1.5
If you went around changing things on a whim, it would defeat the whole
purpose of the snmp system. Now, if you were trying this out as some
misguided "security" feature, then it would probably be a lot easier to wrap
things around some encryption scheme and use snmp version 3 (admission: I
have no real idea how snmp v3 works).
There is another facet to your query - are you trying to fill in different
values into the table? That can be handled by the snmpd agent quite easily,
I believe.
Or - an even more convoluted method - define multiple tables and configure
the agent to use a certain table at whatever special moments you need to
(Make the other tables return empty).
-Abraham Varricatt
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders