4.2.2 Format of the mapping definition file
Following is the definition format used in the mapping definition file:
unique-key=label
The following example creates the attribute value Hardware Failure in NNMi:
-
label: Hardware Failure
-
unique-key: com.hp.nms.incident.category.HardwareFault
For this example, the following line is added to the mapping definition file:
com.hp.nms.incident.category.HardwareFault=Hardware Failure
When the above specification has been added, Hardware Failure will be displayed in the Event Details window of JP1/IM - View. If no mapping definition file is created, the unique key com.hp.nms.incident.category.HardwareFault is displayed.
The default labels provided by NNMi are displayed for the attribute values of Category and Family, unless a mapping definition file is created.
For details about the default attribute values (unique keys) and labels, see CATEGORY_UK and FAMILY_UK in Table 4-5 Attribute names, attribute values, and labels of NNMi incidents in 4.1.2(5) Attribute values of NNMi incidents.
- Mapping definition file rules
-
The following rule applies to the mapping definition file:
-
The maximum size of the mapping definition file is 10 megabytes.
-