Hi Dave,

Thank you very much  for your help! In fact, we want to implement a interface 
that can handler the dynamic snmp tables which is automatic created. It means 
that we need to register the snmp mib handler to snmp agent without using the 
mib2c tools, but just analyse the dynamic mib files and use some agent based 
api to handle the request.

In the common case, we use the mib2c to parse the static mib file, and then we 
compile the generated c code into the snmp agent to handle the snmp request for 
the static table.
But in our case, we need to handle the snmp request without parsing it with 
mib2c or load it into the snmpd process, do you think it's valid or not? If 
this feature can be implemented, could you please give me some examples ? 
Thanks!

Best Regards,
Chen Fei 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Dave Shield
Sent: 2011年1月5日 19:18
To: Chen Figo
Cc: [email protected]
Subject: Re: Request help about the

On 5 January 2011 10:33, Chen Figo <[email protected]> wrote:
> 1. create a snmp mib according to the configuration parameters with a 
> particular algorithm, such as attribute name, host name…... .
> BTW, the generated mib files will change everyday.

That feels a somewhat unusual scenario.
The idea of MIB files is that they provide a _fixed_ structure, within which to 
report the relevant current data (which will naturally change).

Having the MIB files themselves change is somewhat outside the general 
framework of SNMP, so there won't be much support for this non-standard way of 
working within the Net-SNMP suite.


Take a step back - what exactly are you trying to do?


Dave

------------------------------------------------------------------------------
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

Reply via email to