[SNMP4J] Snmp4j-Agent SNMP-MPD-MIB missing for reading snmpInvalidMsgs ?

ulrich berl ulrich.berl at gmx.net
Tue Jan 31 12:19:05 CET 2017


Thanks Frank, will check this.
 
br, Ulrich
 

Gesendet: Montag, 30. Januar 2017 um 08:50 Uhr
Von: "Frank Fock" <fock at agentpp.com>
An: "ulrich berl" <ulrich.berl at gmx.net>
Cc: snmp4j at agentpp.org
Betreff: Re: [SNMP4J] Snmp4j-Agent SNMP-MPD-MIB missing for reading snmpInvalidMsgs ?

Hi Ulrich,
 
SNMP4J-Agent 2.6.0-SNAPSHOT contains the SNMP-MPD-MIB implementation in the new class SnmpMpdMib.
See https://oosnmp.net/dist/snapshot/org/snmp4j/snmp4j-agent/2.6.0-SNAPSHOT/
 
Best regards,
Frank
 

On 27 Jan 2017, at 09:35, ulrich berl <ulrich.berl at gmx.net[mailto:ulrich.berl at gmx.net]> wrote: 

Thanks Frank!
 
br, Ulrich
 

Gesendet: Freitag, 27. Januar 2017 um 02:28 Uhr
Von: "Frank Fock" <fock at agentpp.com[mailto:fock at agentpp.com]>
An: "ulrich berl" <ulrich.berl at gmx.net[mailto:ulrich.berl at gmx.net]>
Cc: snmp4j at agentpp.org[mailto:snmp4j at agentpp.org]
Betreff: Re: [SNMP4J] Snmp4j-Agent SNMP-MPD-MIB missing for reading snmpInvalidMsgs ?
Hi Ullrich

This seems to be an error (that the SNMP-MPD-MIB counters are not implemented by the AgentConfigManager.
I ill add the missing code for the next release.

Meanwhile you can, of course, implement your own CounterListener for those three counters in your own MIB.

Best regards,
Frank

 On 25 Jan 2017, at 15:19, ulrich berl <ulrich.berl at gmx.net[mailto:ulrich.berl at gmx.net]> wrote:

Hi!

>From the snmp4j homepage i see that the SNMP4J-Agent should have an implementation for SNMP-MPD-MIB.
Actually in the code the counter for 'snmpInvalidMsgs' will be incremented on a message process failure (MessageDispatcherImpl.processMessage).

But as there is no SNMP-MPD-MIB implementation, i cant read out the value for 'snmpInvalidMsgs'.

Should i implement CounterListener in my own mib for 'snmpInvalidMsgs' ?

Thanks, Ulrich
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org[mailto:SNMP4J at agentpp.org]
https://oosnmp.net/mailman/listinfo/snmp4j 
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org[mailto:SNMP4J at agentpp.org]
https://oosnmp.net/mailman/listinfo/snmp4j



More information about the SNMP4J mailing list