Skip to main content

Hi,

I not able to activate snmp trap.

i can get a trap from a host configured in Centreon (see log below).

i have a linked a service with a trap: .1.3.6.1.4.1.3375.2.4.0.3 but still getting a message : rap without service associated for host opbrmf5ltm19001. Skipping…

could help

please remind steps to enable traps. may be i missed something

 


2025-01-15 11:48:11 - DEBUG - 1022298 - Trap received from opbrmf5ltm19001.nor.fr.gin.intraorange: SNMPv2-SMI::enterprises.3375.2.4.0.3
2025-01-15 11:48:11 - DEBUG - 1022298 - 0:              hostname
2025-01-15 11:48:11 - DEBUG - 1022298 - 1:              ip address
2025-01-15 11:48:11 - DEBUG - 1022298 - 2:              uptime
2025-01-15 11:48:11 - DEBUG - 1022298 - 3:              trapname / OID
2025-01-15 11:48:11 - DEBUG - 1022298 - 4:              ip address from trap agent
2025-01-15 11:48:11 - DEBUG - 1022298 - 5:              trap community string
2025-01-15 11:48:11 - DEBUG - 1022298 - 6:              enterprise
2025-01-15 11:48:11 - DEBUG - 1022298 - 7:              securityEngineID        (not use)
2025-01-15 11:48:11 - DEBUG - 1022298 - 8:              securityName            (not use)
2025-01-15 11:48:11 - DEBUG - 1022298 - 9:              contextEngineID         (not use)
2025-01-15 11:48:11 - DEBUG - 1022298 - 10:             contextName             (not)
2025-01-15 11:48:11 - DEBUG - 1022298 - 0+:             passed variables
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 0: opbrmf5ltm19001.nor.fr.gin.intraorange
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 1: 10.118.127.6
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 2: 0:10:22:11.01
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 3: .1.3.6.1.4.1.3375.2.4.0.3
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 4: 10.118.127.6
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 5:
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 6: .1.3.6.1.4.1.3375.2.4
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 7:
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 8:
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 9:
2025-01-15 11:48:11 - DEBUG - 1022298 - Value 10:
2025-01-15 11:48:11 - DEBUG - 1022298 - Agent dns name: opbrmf5ltm19001.nor.fr.gin.intraorange
2025-01-15 11:48:11 - DEBUG - 1022298 - Trap digest: aa28cc320ba8550eec53e2248c44a9a0
2025-01-15 11:48:11 - DEBUG - 1022298 - Trap without service associated for host opbrmf5ltm19001. Skipping...
2025-01-15 11:48:11 - DEBUG - 1022298 - Sleeping for 2 seconds
2025-01-15 11:48:13 - DEBUG - 1022298 - Sleeping for 2 seconds
2025-01-15 11:48:15 - DEBUG - 1022298 - Sleeping for 2 seconds
2025-01-15 11:48:17 - DEBUG - 1022298 - Sleeping for 2 seconds
2025-01-15 11:48:19 - DEBUG - 1022298 - Sleeping for 2 seconds
 

 

Hi,

Could anyone help ?

 

Thx,


Hi, 

You have to reload trap configuration, tab “Configuration → Traps SNMP → Generate” 

 


Hi,

thx for the reply.

this action already done.

comparing the the DB ( central and poller) i found that a host is missing. i was facing a pb with an empty DB (poller side). i have copied the db from the central to poller. it seems like synchro is not done. maybe if i copy again the db from the central to the poller it will work. (i will try rignt now). 

generating trap Database doesn’t show any error but DB are not synchronised how to confirm that poller and central are in synch ?


Reply