|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Failed to snmpSession.sendGetRequestHi,
I created Asynchrounous SnmpHandler and created Snmpsession and send out a GetRequest
I checked Session-it has valid Agent node ipaddress and community String
I checked the SnmpVarBind also ok
However, after sending the getRequest - The SnmpHandler. processSnmpPollTimeout () called
I verified on my Ethereal - SNMP packet capture and saw that there is no packet being captured
Meaning no packet sent on network.
So, if package doesn't send out - it should not call PollTimeout.
Do you have any idea about what is wrong?
Thanks Thuymai
PS: I used different snmptools to do get and the node agent responsed ok - my Ethereal also capture the packet sent out Looking for last minute shopping deals? Find them fast with Yahoo! Search. =========================================================================== The JDMK-FORUM archives are accessible at http://archives.java.sun.com To unsubscribe, send email to listserv@... and include in the body of the message "signoff JDMK-FORUM". For general help, send email to listserv@... and include in the body of the message "help". |
|
|
Re: Failed to snmpSession.sendGetRequestHi,
From your description it looks as if the request was not sent to your agent, but somewhere else. This is probably why you didn't see anything in ethereal, and it would explain why processSnmpPollTimeout() is called. One way to figure out what happens is to switch on the SNMP traces. -Djava.util.logging.config.file=<your logging property file> switch on com.sun.jdmk.level=FINEST You will find a template logging.property file in the etc/conf directory of the JDMK package. http://docs.sun.com/app/docs/doc/816-7608/6mdjqgni8?a=view Hope this helps, -- daniel http://blogs.sun.com/jmxetc THUYMAI NGUYEN wrote: > Hi, > > I created Asynchrounous SnmpHandler and created Snmpsession and send out > a GetRequest > > I checked Session-it has valid Agent node ipaddress and community String > I checked the SnmpVarBind also ok > > However, after sending the getRequest - The SnmpHandler. > *processSnmpPollTimeout () called* > > I verified on my Ethereal - SNMP packet capture and saw that there is no > packet being captured > Meaning no packet sent on network. > > So, if package doesn't send out - it should not call PollTimeout. > > Do you have any idea about what is wrong? > > Thanks > > Thuymai > > PS: I used different snmptools to do get and the node agent responsed ok > - my Ethereal also capture the packet sent out > > ------------------------------------------------------------------------ > Looking for last minute shopping deals? Find them fast with Yahoo! > Search. > <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>=========================================================================== > The JDMK-FORUM archives are accessible at http://archives.java.sun.com > To unsubscribe, send email to listserv@... and include in the > body of the message "signoff JDMK-FORUM". For general help, send email > to listserv@... and include in the body of the message "help". > =========================================================================== The JDMK-FORUM archives are accessible at http://archives.java.sun.com To unsubscribe, send email to listserv@... and include in the body of the message "signoff JDMK-FORUM". For general help, send email to listserv@... and include in the body of the message "help". |
| Free Forum Powered by Nabble | Forum Help |