Hi Frank,

I'm trying  to use the SnmpRequest class  , when using the following
arguments like in the usage help  : (as the main arguments )

SNMP4J -c private -v 2c -p SET udp:localhost/161
"1.3.6.1.2.1.1.5.0={s}SNMP4J"

, I have the following exception :


Error: *SNMP4J/161java.lang.IllegalArgumentException*: SNMP4J/161

at org.snmp4j.smi.UdpAddress.<init>(*UdpAddress.java:48*)

at org.snmp4j.tools.console.SnmpRequest.getAddress(*SnmpRequest.java:560*)

at org.snmp4j.tools.console.SnmpRequest.<init>(*SnmpRequest.java:116*)

at org.snmp4j.tools.console.SnmpRequest.main(*SnmpRequest.java:1197*)



Could you help please ?

Thanks in advance .

Ouafae
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to