How to compile and map the Rittal device's traps - unknown alert 0x10801
search cancel

How to compile and map the Rittal device's traps - unknown alert 0x10801

book

Article ID: 137203

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

How to map incoming trap from Rittal device - unknown alert 0x10801

Environment

Release:

 

Component:

Cause

The trap is not mapped in the AlertrMap file.

Resolution

 

Here are the steps:


1. Download the following MIB files from Rittal device manufacturer:

- RITTAL-SMI-MIB.mib

- RITTAL-CMC-III-MIB.mib


2. Launch the CA/DX Spectrum MIB Tools



3. Click on the following button to import/compile the MIB files.


4. Click on Browse button to select the MIB file to import/compile.

5. Select the RITTAL-SMI-MIB.mib file.

6. Click on Compile button.


7. Successfully compiled RITTAL-SMI-MIB.mib file. Click on Add button to save it into the MIB Database.

8. Click on Browse and compile the RITTAL-CMC-III-MIB.mib file. Click on Add button to save it into the MIB Database.


9. Click on Close button. You will now see the two compiled files in the Navigation panel of MIB Tools.


10. Map the traps to events. Select the RITTAL-CMC-III-MIB in the Navigation panel, then in Contents panel click on Map TAB, and in Trap Support, click on the following button.


11. Click on OK button to map the traps.

12. Traps were successfully mapped.


13. Launch the Event Configuration Editor. You will see the new two event codes, 0xfff00044 and 0xfff00045. You should have different event codes. CA/DX Spectrum will map the traps to the next available event code in your environment.

 



Additional Information

How to create an event condition to evaluate the value of variable 3 (cmcIIIMsgText) and create additional event codes.



In the $SPECROOT/custom/Events/EventDisp file:

 

0xfff00000 R CA.EventCondition, \

 "(regexp({v 3}, {S \"C_UPS\"}))" , "0xfff00002 -:-", \

 "(regexp({v 3}, {S \"Temperature\"}))" , "0xfff00003 -:-"

0xfff00001 E 20

0xfff00002 E 20

0xfff00003 E 20

 

In the variable  v 3  (cmcIIIMsgText) we should have either:

-  C_UPS BLADE 1 BATT or C_UPS BLADE 2 BATT or C_UPS BLADE1 BYPASS or C_UPS BLADE2 BYPASS

-  Temperature

 

So the regexp({v 3} will evaluate the value of v 3 variable, if the variable contains "C_UPS" it will generate a new event code 0xfff00002. If the variable contains "Temperature" it will generate a new event code 0xfff00003.

 

You will also need to copy the Event Message of 0xfff00000 event code to both 0xfff00002 and 0xfff00003, so when the new events are generated, you will have the correct event message. You can copy using the Event Configuration Editor.