# Configuring Alarm Manager using EDM

This section describes the procedure you can use for Alarm Manager.

## Prerequisites

- Open one of the supported browsers.

- Enter the IP address of the switch to open an EDM session.

## Creating an Alarm using EDM

Use the following procedure to create an alarm to receive statistics and history using default values.

### Prerequisites

- Open one of the supported browsers.

- Enter the IP address of the switch to open an EDM session.

### Procedure steps

1. From the navigation tree, double-click Serviceability.

2. In the Serviceability tree, double-click RMON.

3. In the RMON tree, double-click Alarms.

4. In the work area, click the Alarms tab.

5. In the toolbar, click Insert.

   The Insert Alarm dialog box appears.

6. Configure the parameters as required for the alarm.

7. Click Insert.

### Variable definitions

The following table describes the fields of Insert Alarm dialog box.

Field | Description
--- | ---
Variable | Indicates the name and type of alarm. alarmname.x Here x=0 indicates a chassis alarm. alarmname. where the user must specify the index. This index is a card number for module-related alarms, an STG ID for spanning tree group alarms (the default STG is 1, other STG IDs are user-configured), or the Ether Statistics Control Index for RMON Stats alarms alarmname with no dot or index is a port-related alarm and results in display of the port selection tool.
Sample Type | Indicates the sample type. Available options are: absoluteValue deltaValue
Interval | Indicates the time period (in seconds) over which the data is sampled and compared with the rising and falling thresholds.
Index | Uniquely identifies an entry in the alarm table. Each such entry defines a diagnostic sample at a particular interval for an object on the device.
RisingThreshold | Generates a single events if the current sampled value is greater than or equal to this threshold, and the value at the last sampling interval was less than this threshold.
RisingEventIndex | Indicates the index of the event entry that is used after a rising threshold is crossed. The event entry identified by a particular value of this index is the same as identified by the same value of the event index object. (Generally, accept the default that is already filled in.)
RisingThreshold | Generates a single event if the current sampled value is less than or equal to this threshold, and the value at the last sampling interval was greater than this threshold.
FallingEventIndex | Indicates the index of the event entry that is used after a falling threshold is crossed. The event entry identified by a particular value of this index is the same as identified by the same value of the event index object. (Generally, accept the default that is already filled in.)
Owner | Indicates the network management system that created this entry.

## Deleting an alarm using EDM

Use the following procedure to delete an alarm.

### Procedure steps

1. From the navigation tree, double-click Serviceability.

2. In the Serviceability tree, double-click RMON.

3. In the RMON tree, double-click Alarms.

4. In the work area, click the Alarms tab.

5. Select the alarm you want to delete.

6. In the toolbar, click Delete.

### Variable definitions

The following table describes the fields on the Alarms tab.

Field | Description
--- | ---
Index | Uniquely identifies an entry in the alarm table. Each such entry defines a diagnostic sample at a particular interval for an object on the device.
Interval | Indicates the interval in seconds over which data is sampled and compared with the rising and falling thresholds. After setting this variable, in the case of deltaValue sampling, you should set the interval short enough that the sampled variable is very unlikely to increase or decrease by a delta of more than 2^31 - 1 during a single sampling interval.
Variable | Indicates the object identifier of the particular variable to be sampled. Only variables that resolve to an ASN.1 primitive type of INTEGER (INTEGER, Counter, Gauge, or TimeTicks) may be sampled.
Sample Type | Indicates the method of sampling the selected variable and calculating the value to be compared against the thresholds. If the value of this object is absoluteValue(1), the value of the selected variable is compared directly with the thresholds at the end of the sampling interval. If the value of this object is deltaValue(2), the value of the selected variable at the last sample is subtracted from the current value, and the difference compared with the thresholds.
Value | Indicates the value of the statistic during the last sampling period. For example, if the sample type is deltaValue, this value is the difference between the samples at the beginning and end of the period. If the sample type is absoluteValue, this value is the sampled value at the end of the period. This value is compared with the rising and falling thresholds. The value during the current sampling period is not made available until the period is completed and remains available until the next period is completed.
StartupAlarm | Indicates the alarm that may be sent after this entry is first set to Valid. If the first sample after this entry becomes valid is greater than or equal to the risingThreshold and alarmStartupAlarm is equal to risingAlarm(1) or risingOrFallingAlarm(3), a single rising alarm is generated. If the first sample after this entry becomes valid is less than or equal to the fallingThreshold and alarmStartupAlarm is equal to fallingAlarm(2) or risingOrFallingAlarm(3) a single falling alarm is generated.
RisingThreshold | Indicates the threshold for the sampled statistic. After the current sampled value is greater than or equal to this threshold, and the value at the last sampling interval was less than this threshold, a single event is generated. A single event is also generated if the first sample after this entry becomes valid is greater than or equal to this threshold and the associated alarmStartupAlarm is equal to risingAlarm(1) or risingOrFallingAlarm(3). After a rising event is generated, another such event is not generated until the sampled value falls below this threshold and reaches the alarmFallingThreshold.
RisingEventIndex | Indicates the index of the eventEntry that is used after a rising threshold is crossed. The eventEntry identified by a particular value of this index is the same as identified by the same value of the eventIndex object. If there is no corresponding entry in the eventTable no association exists. In particular, if this value is zero, no associated event is generated, because zero is not a valid event index.
FallingThreshold | Indicates the threshold for the sampled statistic. After the current sampled value is less than or equal to this threshold, and the value at the last sampling interval was greater than this threshold, a single event is generated. A single event is also generated if the first sample after this entry becomes valid is less than or equal to this threshold and the associated alarmStartupAlarm is equal to fallingAlarm(2) or risingOrFallingAlarm(3). After a falling event is generated, another such event is not generated until the sampled value rises above this threshold and reaches the alarmRisingThreshold.
FallingEventIndex | Indicates the index of the eventEntry that is used after a falling threshold is crossed. The eventEntry identified by a particular value of this index is the same as identified by the same value of the eventIndex object. If there is no corresponding entry in the eventTable no association exists. In particular, if this value is zero, no associated event is generated, because zero is not a valid event index.
Owner | Indicates the network management system that created this entry.
Status | Indicates the status of this alarm entry.