Add this user localized without storing the passphrases in the agent persistently
Migration Tasks
Custom ManagedObjects should implement new GenericManagedObject Interface
SNMP4J-Agent 3 introduces a new interface GenericManagedObject which needs to be implemented by a ManagedObject to be found by the agent (Command handler respectively).
The following SNMP4J-Agent classes already implement GenericManagedObject:
- MOScalar
DefaultMOTableMOSubtreeProxyStaticMOGroup
If your class extends one of these, you do not have to change anything. Otherwise, please implement GenericManagedObject instead ManagedObject.
Do not forget to implement GenericManagedObject interface
If you do not implement GenericManagedObject for your ManagedObject, then it will not be found during MIB walk or for a GET request. It is then not accessible for SNMP requests.
Type your warning message here.
You can use generics even more precisely in your ManagedObject code if you overload the methods of the GenericManagedObject interface like AgentXNode of SNMP4J-AgentX version 3 does:
public void prepare(SubRequest<?> request) {
prepare((SnmpRequest.SnmpSubRequest)request);
}
public void prepare(SnmpRequest.SnmpSubRequest request) {
addAgentXSet2Queue(request);
markAsProcessed(request);
}
SNMP4J ArgumentParser Interface
- The interface of the
org.snmp4j.util.ArgumentParserhas changed. Especially, the parse method now returns Map<String,List