SNMP Traps Version
Posted: Tue Jul 08, 2014 3:37 am
Hi all,
We have a SOPHOS UTM 9 we would like to monitor using SNMP. SOPHOS is providing the MIB and is able to send it in only two version: 2c and 3.
We have a Nagios XI 2014R1.2 virtual machine x64.
We added the MIB with success AFAIK.
We are receiving traps but they go to unknown traps.
The tcpdump is:
The snmpttunknown.log gives:
It seems that all traps are analysed with 9789.1500 instead of 9789.1500.1.5. A test with a snmpV1 test trap is fine. If I modify this trap and change the OID from .1.3.6.1.4.1.9789.1500.1.5 to .1.3.6.1.4.1.9789.1500, then it works fine and the trap appears in Nagios for the host PROXY.
I've got the feeling that it has something to do with the snmp version (1, 2c or 3) ...
Does somebody faced a similar problem ? Don't Nagios (snmptt or snmptrapd) allow to make a difference following the snmp version ?
Many thanks in advance
Francois
We have a SOPHOS UTM 9 we would like to monitor using SNMP. SOPHOS is providing the MIB and is able to send it in only two version: 2c and 3.
We have a Nagios XI 2014R1.2 virtual machine x64.
We added the MIB with success AFAIK.
We are receiving traps but they go to unknown traps.
The tcpdump is:
Code: Select all
15:06:55.670444 IP (tos 0x0, ttl 64, id 29293, offset 0, flags [DF], proto UDP (17), length 142)
proxy.idsa.local.43070 > idnagios.idsa.ch.snmptrap: [udp sum ok] { SNMPv2c C=idcs { V2Trap(101) R=1950607514 system.sysUpTime.0=150467600 S:1.1.4.1.0=E:9789.1500 E:9789.1500.1.5="[portal.idsa.ch][INFO][005]" } }Code: Select all
Mon Jul 7 14:55:09 2014: Unknown trap (.1.3.6.1.4.1.9789.1500) received from proxy at:
Value 0: proxy
Value 1: 192.168.10.254
Value 2: 17:9:46:09.00
Value 3: .1.3.6.1.4.1.9789.1500
Value 4: 192.168.10.254
Value 5:
Value 6:
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.4.1.9789.1500.1.5=[portal.idsa.ch][INFO][005]I've got the feeling that it has something to do with the snmp version (1, 2c or 3) ...
Does somebody faced a similar problem ? Don't Nagios (snmptt or snmptrapd) allow to make a difference following the snmp version ?
Many thanks in advance
Francois