Skip to main content
Bonjour ,

 

Je voudrais superviser des jobs contre-M en utilisant les trap SNMP. J’ai d’abord commencé par installer la MIB fourni par l’éditeur. Cependant lors de l’intégration j’ai une des trois traduction en erreur.
 
 Voici l’erreur erreur ci-dessous: 

Moving traps in database...
2024-08-09 16:29:28 - INFO - snmptranslate version: NET-SNMP version: 5.9 2024-08-09 16:29:28 - INFO - mib name: BMC-CONTROLEM-MIB 2024-08-09 16:29:28 - INFO - Processing MIB: BMC-CONTROLEM-MIB 2024-08-09 16:29:28 - INFO - # 2024-08-09 16:29:28 - INFO - Split line TRAP-TYPE / NOTIFICATION-TYPE found (OBJECT-TYPE,). 2024-08-09 16:29:28 - INFO - Line: 6 2024-08-09 16:29:28 - INFO - NOTIFICATION-TYPE: OBJECT-TYPE 2024-08-09 16:29:28 - INFO - Enterprise: enterprises1031 2024-08-09 16:29:28 - INFO - Looking up via snmptranslate: BMC-CONTROLEM-MIB::OBJECT-TYPE Unknown object identifier: BMC-CONTROLEM-MIB::OBJECT-TYPE 2024-08-09 16:29:28 - INFO - OID: 2024-08-09 16:29:28 - INFO - # 2024-08-09 16:29:28 - INFO - Line: 232 2024-08-09 16:29:28 - INFO - NOTIFICATION-TYPE: alertTrap 2024-08-09 16:29:28 - INFO - Variables: alertTrapUpdateType alertTrapAlertId alertTrapControlM alertTrapMemName alertTrapOrderId alertTrapSeverity alertTrapStatus alertTrapTime alertTrapUser alertTrapUpdateTime alertTrapMessage alertTrapOwner alertTrapGroup alertTrapApplication alertTrapJobName alertTrapNodeId alertTrapType alertTrapClosedFromEM alertTrapTicketNumber alertTrapRunCounter alertTrapNotes 2024-08-09 16:29:28 - INFO - Enterprise: controlmAlert 2024-08-09 16:29:28 - INFO - Looking up via snmptranslate: BMC-CONTROLEM-MIB::alertTrap 2024-08-09 16:29:28 - INFO - OID: .1.3.6.1.4.1.1031.9.1.999 2024-08-09 16:29:28 - INFO - # 2024-08-09 16:29:28 - INFO - Line: 434 2024-08-09 16:29:28 - INFO - NOTIFICATION-TYPE: xAlertTrap 2024-08-09 16:29:28 - INFO - Variables: xAlertTrapCallType xAlertTrapSerial xAlertTrapCompType xAlertTrapCompMachine xAlertTrapCompName xAlertTrapMessageId xAlertTrapXSeverity xAlertTrapMessage xAlertTrapXTime xAlertTrapXTimeOFLast xAlertTrapCounter xAlertTrapStatus xAlertTrapNote xAlertTrapKey1 xAlertTrapKey2 xAlertTrapKey3 xAlertTrapKey4 xAlertTrapKey5 2024-08-09 16:29:28 - INFO - Enterprise: controlmxAlert 2024-08-09 16:29:28 - INFO - Looking up via snmptranslate: BMC-CONTROLEM-MIB::xAlertTrap 2024-08-09 16:29:28 - INFO - OID: .1.3.6.1.4.1.1031.9.2.999 2024-08-09 16:29:28 - INFO - Done 2024-08-09 16:29:28 - INFO - Total translations: 3 2024-08-09 16:29:28 - INFO - Successful translations: 2 2024-08-09 16:29:28 - INFO - Failed translations: 1
Generate Traps configuration files from Monitoring Engine configuration form!
 
 
Comment oui puis-je la corriger ?
 
--English --
 
Hello,
 
I would like to monitor jobs Control-M using SNMP traps. I started by installing the MIB provided by BMC. However, during the integration, one of the three translations resulted in an error. 

Moving traps in database...
2024-08-09 16:29:28 - INFO - snmptranslate version: NET-SNMP version: 5.9 2024-08-09 16:29:28 - INFO - mib name: BMC-CONTROLEM-MIB 2024-08-09 16:29:28 - INFO - Processing MIB: BMC-CONTROLEM-MIB 2024-08-09 16:29:28 - INFO - # 2024-08-09 16:29:28 - INFO - Split line TRAP-TYPE / NOTIFICATION-TYPE found (OBJECT-TYPE,). 2024-08-09 16:29:28 - INFO - Line: 6 2024-08-09 16:29:28 - INFO - NOTIFICATION-TYPE: OBJECT-TYPE 2024-08-09 16:29:28 - INFO - Enterprise: enterprises1031 2024-08-09 16:29:28 - INFO - Looking up via snmptranslate: BMC-CONTROLEM-MIB::OBJECT-TYPE Unknown object identifier: BMC-CONTROLEM-MIB::OBJECT-TYPE 2024-08-09 16:29:28 - INFO - OID: 2024-08-09 16:29:28 - INFO - # 2024-08-09 16:29:28 - INFO - Line: 232 2024-08-09 16:29:28 - INFO - NOTIFICATION-TYPE: alertTrap 2024-08-09 16:29:28 - INFO - Variables: alertTrapUpdateType alertTrapAlertId alertTrapControlM alertTrapMemName alertTrapOrderId alertTrapSeverity alertTrapStatus alertTrapTime alertTrapUser alertTrapUpdateTime alertTrapMessage alertTrapOwner alertTrapGroup alertTrapApplication alertTrapJobName alertTrapNodeId alertTrapType alertTrapClosedFromEM alertTrapTicketNumber alertTrapRunCounter alertTrapNotes 2024-08-09 16:29:28 - INFO - Enterprise: controlmAlert 2024-08-09 16:29:28 - INFO - Looking up via snmptranslate: BMC-CONTROLEM-MIB::alertTrap 2024-08-09 16:29:28 - INFO - OID: .1.3.6.1.4.1.1031.9.1.999 2024-08-09 16:29:28 - INFO - # 2024-08-09 16:29:28 - INFO - Line: 434 2024-08-09 16:29:28 - INFO - NOTIFICATION-TYPE: xAlertTrap 2024-08-09 16:29:28 - INFO - Variables: xAlertTrapCallType xAlertTrapSerial xAlertTrapCompType xAlertTrapCompMachine xAlertTrapCompName xAlertTrapMessageId xAlertTrapXSeverity xAlertTrapMessage xAlertTrapXTime xAlertTrapXTimeOFLast xAlertTrapCounter xAlertTrapStatus xAlertTrapNote xAlertTrapKey1 xAlertTrapKey2 xAlertTrapKey3 xAlertTrapKey4 xAlertTrapKey5 2024-08-09 16:29:28 - INFO - Enterprise: controlmxAlert 2024-08-09 16:29:28 - INFO - Looking up via snmptranslate: BMC-CONTROLEM-MIB::xAlertTrap 2024-08-09 16:29:28 - INFO - OID: .1.3.6.1.4.1.1031.9.2.999 2024-08-09 16:29:28 - INFO - Done 2024-08-09 16:29:28 - INFO - Total translations: 3 2024-08-09 16:29:28 - INFO - Successful translations: 2 2024-08-09 16:29:28 - INFO - Failed translations: 1
Generate Traps configuration files from Monitoring Engine configuration form!
How can I fix it?
 
Merci / Thank’s

Hi ​@ITBD 

I got the same message/error 

Did you find a solution ? 


Hello ​@ITBD & ​@jdidierpichat 

Some MIBs have IMPORTS that need to be available either on the local directory or as part of the file. You can concatenate if needed for multiple IMPORTS.

🤞


Hi ​@ponchoh 

Thanks for reply, 

I find the issue (already have imported both depencencies mib) and it’s working fine with 2 traps imported and 1 KO.  

I have successfully imported 2 traps on centreon side alert and xalert 

The solution was to use a regexp on trap definition with correct OID. 

From .1.3.6.1.4.1.1031.9.1.999 to .1.3.6.1.4.1.1031.9.1.*

 

Hope it will help other people : We are using ControlM v9.x


Reply