[SNMP4J] Adding MOChangeListener to scalar
Liat Gamliel
Liat.Gamliel at ecitele.com
Tue Dec 11 15:40:01 CET 2007
Hi Frank,
Thanks for your quick answer!
I looked at the testAgent example and saw that the snmp agent is a
single thread that runs all the time.
So I have another question: our application is using J2EE container and
we are using ResourceAdapter for getting
a new thread from the application server. Is it possible to use SNMP4j
agent in J2EE application and call to all functions in the
main(TestAgent.java) before
running the thread using ResourceAdapter ?
Thanks again for your help,
Best regards,
Liat.
-----Original Message-----
From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org] On
Behalf Of fock at agentpp.com
Sent: Tuesday, December 11, 2007 11:44 AM
To: snmp4j at agentpp.org; Liat Gamliel
Subject: RE: [SNMP4J] Adding MOChangeListener to scalar
Hi Liat,
You can place the MOChangeListener implementation where
you want. This is your design decision, which depends
on the overall structure of your instrumentation.
Best regards,
Frank
Hi,
I'm trying to build my own SNMP agent and want to add
addMOChangeListener to my scalar.
I need a little help to understand how I can use the MOChangeListener
and operate something according to the new value in this scalar(OID).
Where I should write the MOChangeListener handling - Is it need to be in
the ifMib.java or in testAgent.java?
If someone has a code example, It will be very helpful to me.
Thanks,
Liat Gamliel.
e-mail: liat.gamliel at ecitele.com
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j
More information about the SNMP4J
mailing list