| Business Objects and Data Sources > States > Alarm States |
Alarm States |
INDEX
PREVIOUS
NEXT
|
The network component provides a graphical representation for the alarm state of managed objects. New raw alarms are represented by a round rectangle alarm balloon; new impact alarms are represented by an impact alarm cloud. In addition, a secondary alarm state representation is provided for cases when an object has both impact and raw alarms.
The following sections outline the characteristics of graphical representations of telecom object alarm conditions.
The main graphical cues for alarms are:
Alarms can be either new or acknowledged. The term outstanding alarms includes both new and acknowledged alarms.
The graphical representation of a telecom object alarm condition shows the number and highest severity of new alarms and the number and highest severity of outstanding alarms in the following manner:
An alarm count summary displays the number and highest severity of new or outstanding alarms. It is composed of:
A telecom object can have raw and impact alarms at the same time, which introduces the concepts of primary and secondary alarm states. The primary alarm state has a more detailed representation than the secondary alarm state. By default, the primary alarm state is the raw alarm state.
The primary alarm state is identified by the following:
The secondary alarm state is identified by the following:
JViews TGO provides two types of alarms: raw and impact alarms.
Raw alarms have a range of six severity levels, including the Cleared severity. These levels and their associated color and short text are shown in Table 12.1.
Severity |
Color |
Text |
|---|---|---|
Critical |
Red |
C |
Major |
Red |
M |
Minor |
Orange |
m |
Warning |
Yellow |
w |
Unknown |
Grey |
u |
Cleared |
Not represented |
Not represented |
| Note |
| The Cleared severity is never represented in alarm states. |
Impact alarms have a range of ten severity levels, including the Cleared severity. These levels and their associated color, short text and icon are shown in Table 12.2.
| Note |
| The Cleared severity is never represented in alarm states. |
You can extend the default severity levels of raw and impact alarms. You can add new severity levels and associate them with a color and label. Functions for extending severity levels, as well as examples, are provided in Customizing Alarm Severities in the Styling documentation.
Table 12.3 provides some alarm state examples and their associated visual representations.
JViews TGO offers two approaches to setting the alarm counters:
It is possible to combine the two computation models, having JViews TGO compute the alarm counters for some managed objects and the back end for the other managed objects.
To set the counters:
computedFromAlarmList property of the alarm state to false.
To update the counter values according to changes in the back end:
JViews TGO can compute alarm state counters for a given managed object based on the list of alarms for this object.
To set the counters:
IltDefaultDataSource for the data source.
computedFromAlarmList property of the alarm state to true.
IltAlarm objects. In the IltAlarm objects, set the managedObjectInstance attribute value to the object identifier of the managed object.
IltAlarm objects in the same data source as the IltObject corresponding to the managed object.
To update the alarm state according to changes in the back end:
IltAlarm business objects according to the changes.
The handlingAlarmReferences property of IltDefaultDataSource controls whether the alarm state consolidation occurs or not in a given data source. By default the consolidation is active.
You can have JViews TGO compute the alarm counters for some managed objects, and the back end compute the counters for the other managed objects. You can also switch from one computation model to the other for a given managed object.
IltAlarm.State.setComputedFromAlarmList. This will reset the counters to zero.
IltAlarm objects. In the IltAlarm, set the ManagedObjectInstanceAttribute value to the object identifier of the managed object.
IltAlarm objects in the same data source as the IltObject corresponding to the managed object.
IltAlarm objects according to the back-end notifications.
IltAlarm.State.setComputedFromAlarmList. This will reset the counters to zero
Alarms carried by telecom objects are described in the same way as states. Alarms are held by one of the IltObjectState object attributes and are modeled using an instance of the class IltAlarm.State, which is a subclass of IltState. The alarm state object includes the following information:
The alarm model is the same for most of the existing object state classes. When the alarm information is based on the alarm model, you can retrieve this information by calling the method IltObject.getAlarmState.
The API for managing alarms is directly available from the IltObject class.
The following code line retrieves the object state corresponding to the alarms for an object named paris.
IltAlarm.State alarms = paris.getAlarmState();
The following code line shows how to set the count of new alarms to the object.
alarms.setNewAlarmCount(IltAlarm.Severity.Critical, 2);
To set the count of acknowledged alarms, use the following code:
alarms.setAcknowledgedAlarmCount(IltAlarm.Severity.Critical, 2);
Alarms can be set either directly, as shown above, or incrementally, as in the following code where a new critical alarm is added to the same network element.
alarms.addNewAlarm(IltAlarm.Severity.Critical);
System.out.println("Critical alarms on Paris: "
+ alarms.getNewAlarmCount(IltAlarm.Severity.Critical));
The printed output is the following:
Critical alarms on Paris: 3 new
Special alarm statuses are set and unset using dedicated APIs.
To switch to the loss-of-connectivity mode, use the following:
alarms.setLossOfConnectivity(true);
To switch to the not-reporting mode, use the following:
alarms.setNotReporting(true);
For details on how to load alarm states in XML, please refer to Alarm States.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |