[SNMP4J] if I can distinguish the response between wrong community and no snmp service

Frank Fock fock at agentpp.com
Fri Jun 17 23:16:07 CEST 2011


Hi Pengli,

You cannot distinguish them (with any SNMP entity),
because that is behavior is the desired one.

Best regards,
Frank

On 17.06.2011 10:26, pengli li wrote:
> Hi frank:
>
>         I have a question about snmp4j, think about two scene.
>
>            1. I fetch message form a host which has no SNMP service, then I
> get a response TIME OUT
>
>            2. I fetch message from a host which has SNMP service ,But I used
> a wrong community, then I get a same response TIME OUT
>
>         My question is, how to distinguish them with snmp4j?
>
>
>
> Regards
>
> pengli
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

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




More information about the SNMP4J mailing list