How to map incoming trap from Rittal device - unknown alert 0x10801
Release:
Component:
The trap is not mapped in the AlertrMap file.
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.
6. Click on Compile button.
8. Click on Browse and compile the RITTAL-CMC-III-MIB.mib file. Click on Add button to save it into the MIB Database.
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.
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.