[SNMP4J] Implementing application specific SNMP tables using SNMP4J-Agent

Frank Fock fock at agentpp.com
Thu Mar 16 21:57:26 CET 2006


Hi,

You have several options:

1. You can implement your own MOColumn or MOMutableColum subclass
and overwrite the get(..), prepare(..), commit(..) etc. methods.

2. You can implement your own MOTableModel.

3. You can implement your own MOTable implementation or simply
extending the DefaultMOTable class by overwriting the ManagedObject
methods.

Best regards,
Frank

Vinayak Pawar wrote:
> I'm looking out for a way to implement SNMP table using SNMP4J. The 
> table contents change very fast and want to provide up-to-date values in 
> response to GET/GETNEXT request on table columns. In nutshell, I'm 
> looking a solution similar implementing application specific SNMP scalar 
> objects where we extend MOScalar class and override getValue method.
> 
> Any pointers to achieve the above stuff is appreciated.
> 
> FYI: I looked at the TestAgent example but the table rows and column 
> values are fixed. I could use the approach of TestAgent example but then 
> I need to reload the table contents at periodic intervals which I don't 
> want to do as the table contents are time sensitive.
> 
> Thanks
> 
> _________________________________________________________________
> STILL SINGLE? Get married through MSN Matrimony. Join now for FREE! 
> http://www.shaadi.com/msn/matrimonials.php
> 
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list