SNMP Trap - see entry in log but pending in UI
Posted: Mon Nov 02, 2015 7:51 am
Hi,
I follow that guide : https://assets.nagios.com/downloads/nag ... ios_XI.pdf. After that I create a host and setup the snmptrap to that host. I make sure the mib is upload by "manage mib".
Now I see the host information in NagiosXI UI and I see the SNMP Traps : Pending : No check result for service yet.
I see some trap coming in the log : /var/log/snmptt/snmptt.log
Fri Oct 30 13:03:04 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:05 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001 - Device reinitialized (coldStart)
Fri Oct 30 13:03:05 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0004-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:05 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0004 - Device reinitialized (coldStart)
Fri Oct 30 13:03:19 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0002-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:20 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0002 - Device reinitialized (coldStart)
Fri Oct 30 13:03:38 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0003-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:38 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0003 - Device reinitialized (coldStart)
Fri Oct 30 13:04:00 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001-wan - Device reinitialized (coldStart)
Fri Oct 30 13:04:00 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001 - Device reinitialized (coldStart)
and
/var/log/snmptt/snmpttunknown.log
Fri Oct 30 13:04:00 2015: Unknown trap (.1.3.6.1.4.1.8072.4.0.2) received from sanrpa0001 at:
Value 0: sanrpa0001
Value 1: 172.26.252.164
Value 2: 0:0:00:55.36
Value 3: .1.3.6.1.4.1.8072.4.0.2
Value 4: 192.168.10.20
Value 5: public
Value 6: .1.3.6.1.4.1.8072.4
Value 7:
Value 8:
Value 9:
Value 10:
Fri Oct 30 13:04:00 2015: Unknown trap (.1.3.6.1.4.1.8072.4.0.2) received from sanrpa0001 at:
Value 0: sanrpa0001
Value 1: 172.26.252.164
Value 2: 0:0:00:55.36
Value 3: .1.3.6.1.4.1.8072.4.0.2
Value 4: 172.26.252.164
Value 5:
Value 6: .1.3.6.1.4.1.8072.4
Value 7:
Value 8:
Value 9:
Value 10:
I see the short name in the snmp log but my host is configure with fqdn. I don't understand why the trap is unknow because I upload the right mib.
Thx in advance for your help
I follow that guide : https://assets.nagios.com/downloads/nag ... ios_XI.pdf. After that I create a host and setup the snmptrap to that host. I make sure the mib is upload by "manage mib".
Now I see the host information in NagiosXI UI and I see the SNMP Traps : Pending : No check result for service yet.
I see some trap coming in the log : /var/log/snmptt/snmptt.log
Fri Oct 30 13:03:04 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:05 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001 - Device reinitialized (coldStart)
Fri Oct 30 13:03:05 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0004-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:05 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0004 - Device reinitialized (coldStart)
Fri Oct 30 13:03:19 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0002-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:20 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0002 - Device reinitialized (coldStart)
Fri Oct 30 13:03:38 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0003-wan - Device reinitialized (coldStart)
Fri Oct 30 13:03:38 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0003 - Device reinitialized (coldStart)
Fri Oct 30 13:04:00 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001-wan - Device reinitialized (coldStart)
Fri Oct 30 13:04:00 2015 .1.3.6.1.6.3.1.1.5.1 Normal "Status Events" sanrpa0001 - Device reinitialized (coldStart)
and
/var/log/snmptt/snmpttunknown.log
Fri Oct 30 13:04:00 2015: Unknown trap (.1.3.6.1.4.1.8072.4.0.2) received from sanrpa0001 at:
Value 0: sanrpa0001
Value 1: 172.26.252.164
Value 2: 0:0:00:55.36
Value 3: .1.3.6.1.4.1.8072.4.0.2
Value 4: 192.168.10.20
Value 5: public
Value 6: .1.3.6.1.4.1.8072.4
Value 7:
Value 8:
Value 9:
Value 10:
Fri Oct 30 13:04:00 2015: Unknown trap (.1.3.6.1.4.1.8072.4.0.2) received from sanrpa0001 at:
Value 0: sanrpa0001
Value 1: 172.26.252.164
Value 2: 0:0:00:55.36
Value 3: .1.3.6.1.4.1.8072.4.0.2
Value 4: 172.26.252.164
Value 5:
Value 6: .1.3.6.1.4.1.8072.4
Value 7:
Value 8:
Value 9:
Value 10:
I see the short name in the snmp log but my host is configure with fqdn. I don't understand why the trap is unknow because I upload the right mib.
Thx in advance for your help