[SNMP4J] Subagent notify

Fokusas fokusas at gmail.com
Tue Mar 2 13:38:05 CET 2010


Hi,

Like in agentx testagent i am traying to set value for 1.3.6.1.2.1.1.6.1:
subagent.notify(null, SnmpConstants.warmStart,
                        new VariableBinding[] {
                        new VariableBinding(new OID("1.3.6.1.2.1.1.6.1"),
                                new
OctetString("SNMP4J-AgentX_Test-Subagent")) });
But when i check with snmpwalk -v 2c -c monitor localhost 1.3.6.1.2.1.1.6.1
i got this answer:
"SNMPv2-MIB::sysLocation.1 = No Such Instance currently exists at this OID"
What did i have to do to create new OID? Where is a problem?

Fokusas



More information about the SNMP4J mailing list