Hi,

1. Running a run() method will not prevent that the application exists.
You will have to programm an endless loop instead.
2. Whireshark is not able to sniff the localhost address on windows by default. You need a special loopback interface for that. The base agent sends the trap
to the default target (which is "localhost"/127.0.0.1).

Best regards,
Frank

Am 22.01.2014 08:21, schrieb Geet Bhatia:
Hi,

I am new to SNMP4j and Java as well. I am working on Eclipse on Windows 7.
I want to write a an agent. Here I am facing some difficulties:
1. My agent is not running continuously, though I have used the method
run(). The program should wait for any request but it ends after executing
run() method.
2. sendColdNotification() of BaseAgent is not sending notification. I have
checked in wireshark, it is not sending.


Thanks & Regards
Girdhar
_______________________________________________
SNMP4J mailing list
[email protected]
https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j

--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231

_______________________________________________
SNMP4J mailing list
[email protected]
https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j

Reply via email to