Now I'm thinking that with the code I'm not able to 'hit' the right mib...
Thanks in advance
Il 29/06/2010 19:12, Frank Fock ha scritto:
> Hi,
>
> Object identifiers are specified in dotted notation:
> each sub-identifier separated by a dot ('.').
nGroup NOTIFICATION-GROUP
END
Thanks in advance
--
Gian Marco Gallo
Elaide SRL
Email: gianmarco.ga...@elaide.com
Phone: +39 049 4102390
___
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j
= new ScopedPDU();
pdu.setType(ScopedPDU.TRAP);
pdu.setContextName(new OctetString("CryptoExtWeb problem"));
But now I don't understand how I can insert the values required by the
.mib file. Should I create and construct a new object or what?
Thanks for your help
--
Gian Marco Gallo
- i.e., that you created with UsmUser. This tells what security settings
> to use when sending traps (you can create more than one UsmUser with
> different settings and use any of them in UserTarget).
>
> -Original Message-----
> From: Gian Marco Gallo [mailto:gianmarco.ga...@elai
urity name, which is
> first argument to UsmUser constructor. You use it later for adding this user
> to USM instance (usm.addUser(user.getSecurityName(), user)). I just called
> security name with "username", but it could be arbitrary string.
>
> -Original Messag
imple snmp class.
Thanks in advance
--
Gian Marco Gallo
Elaide SRL
Email: gianmarco.ga...@elaide.com
Phone: +39 049 4102390
package com.elaide.crypto.ext.web.snmp;
import java.io.IOException;
import org.apache.log4j.Logger;
import org.snmp4j.ScopedPDU;
import org.snmp4j.Snmp;
import org.snmp4j.