[SNMP4J] dynamic table instrumentation

Arnoud Zwemmer arnoud.zwemmer at avinity.net
Wed Nov 15 12:30:45 CET 2006


Hi,
 
I have some tables that I need to instrument dynamically when a request
from a manager is received to have the most up-to-date information. A
related example would be to exec an 'arp -a' to dynamically obtain the
ARP table. What is the appropriate way to do this in SNMP4J-Agent, for
the moment assuming that calling some external command like an 'arp -a'
is fast enough? 
 
Can I do this at the moment a request is received (by overriding a
getValue() for example) or do I have to have a separate thread
monitoring the ARP table and creating and deleting rows in the table
accordingly?
 
Thanks!
 
Arnoud.
 



More information about the SNMP4J mailing list