I've figured this out, if I connect with an SNMP version that the device 
doesn't support, I get an exception, so this is easy to handle,

Thanks.


-----Original Message-----
From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@agentpp.org] On Behalf 
Of Osian Hughes
Sent: Thursday, 26. August, 2010 10:51
To: snmp4j@agentpp.org
Subject: [SNMP4J] Work Out SNMP version

Hi,

Is there any easy way to work out if a device is supporting either SNMPv1 or 
SNMPv2 (I'm not worried at the moment about v3), e.g. a specific OID i should 
ask for, etc.

Thanks,
Osian

________________________________
This email and any attachment may contain confidential information which is 
intended for use only by the addressee(s) named above. If you received this 
email by mistake, please notify the sender immediately, and delete the email 
from your system. You are prohibited from copying, disseminating or otherwise 
using the email or any attachment.
_______________________________________________
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j


This email and any attachment may contain confidential information which is 
intended for use only by the addressee(s) named above. If you received this 
email by mistake, please notify the sender immediately, and delete the email 
from your system. You are prohibited from copying, disseminating or otherwise 
using the email or any attachment.

_______________________________________________
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to