Display the currently configured NMON alarms.
exec
show nmon alarm
| Heading | Description | Filter |
|---|---|---|
| Index | A number that uniquely identifies an entry in the alarm table. Each index entry defines a configured object to be polled at a particular interval. Specify the index number to modify the NMON alarm table configuration settings for a specific monitored object. | index testAndIncr |
| vSwitch | The name of the vSwitch on which the monitored object is running. | vSwitch text |
| vRouter | The name of the vRouter on which the monitored object is running. | vRouter text |
| Base Command | The name of the object being monitored, as configured through the CLI or the Web. This allows for a reference back to the value that triggered the alarm. | baseCommand text |
| Filter Field And Values | The name of the field and corresponding value(s) for filtering at the next NMON poll. This filter can limit the values in the result table to only those that match rows. For example, you can limit fields based on regexp matches for specific parameters. | filterFieldAndValues text |
| Monitor Field | The internal schema's field name of the field in the table that is being monitored with this alarm command. | fieldName text |
| Poll Interval | Interval, in seconds, over which the data is sampled and compared with thresholds. NMON polls values at the poll interval setting and compares the results to the threshold values. At this poll interval, no alarm is generated, but if a threshold is crossed, it is noted for the next alarm interval. Valid values are from 5 to 65535. |
pollInterval integer |
| Alarm Interval | The amount of time (in seconds) between alarm queries. This interval is used to determine if an alarm should be generated when a poll detects a rising or falling threshold event. Valid values are from 5 to 65535. |
alarmInterval integer |
| Sample Type | The method used by the poll for sampling the selected variable and calculating the value to be compared against the thresholds. Valid values:
|
sampleType enumeration |
| Rising Threshold | The upper threshold value to be checked at each NMON poll. When the polled value is greater than or equal to this threshold, and the value at the last poll interval was less than this threshold, the system generates an event of level risingEventLevel. An 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 or risingOrFallingAlarm. After a rising event is generated, the system does not generate another such event until the sampled value falls below this threshold and reaches the alarmFallingThreshold. | risingThreshold text |
| Falling Threshold | Falling threshold defaults to rising threshold if unspecified. A threshold for the sampled statistic. When 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, they system generates an event. 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 or risingOrFallingAlarm. After a falling event is generated, another such event is not generated until the sampled value rises above this threshold and reaches the alarmRisingThreshold. This object may not be modified if the associated alarmStatus object is equal to valid. | fallingThreshold text |
| Rising Event Level | The level of syslog event message that the system sends when a rising threshold alarm is generated. Valid values:
|
risingEventLevel enumeration |
| Falling Event Level | The level of syslog event message that the system sends when a falling threshold alarm is generated. Valid values:
|
fallingEventLevel enumeration |
| Poll Check Count | The number of times the poll check routine was called. This in an internal counter that stores the count of times to determine if a poll detected a rising or falling threshold violation. | pollCheckCount counter32 |
| Alarm Check Count | The number of times the alarm check was called. This is an internal counter that stores the count of times to determine if an alarm should be sent based on a poll detecting a rising or falling threshold violation. | alarmCheckCount counter32 |
| Result Count | The number of NMON polling results, by row, since polling started. Since each alarm can check multiple rows in a table (monitor more than one object), this count reports the total number of results posted since the alarm started polling. Disabling the application or restarting the system resets the count to zero. | resultCount counter32 |
| Current Result Count | The number of rows returned when the system last executed an alarm poll. Since each alarm can check multiple rows in a table, this count reports how many results are represented by a single poll. As rows in a table are added and removed, this value changes. | currentResultCount counter32 |
| Total Rising Triggered Count | The total number of times the rising threshold was crossed. Each time a poll detects that the polled value is greater than or equal to the rising threshold, the count increments. This value is different than the number of alarms generated if the pollInterval and alarmInterval differ. | totalRisingTriggeredCount counter32 |
| Total Falling Triggered Count | The total number of times the falling threshold was crossed. Each time a poll detects that the polled value is less than or equal to the falling threshold, this count increments. This value is different than the number of alarms generated if the pollInterval and alarmInterval differ. | totalFallingTriggeredCount counter32 |
| Rising Alarm Generated Count | Number of alarms sent due to crossing one or more rising thresholds. Each time the system generates a rising alarm, this count increments. | risingAlarmGeneratedCount counter32 |
| Falling Alarm Generated Count | Number of alarms sent due to crossing one or more falling thresholds. Each time the system generates a falling alarm, this count increments. | fallingAlarmGeneratedCount counter32 |
| Last Poll Time | The date and time of the last NMON poll. This value is N/A until the first successful poll. Afterwards, it represents the last date and time that a poll of the current value and value check occurred. The time between poll checks should be close to the pollInterval. | lastPollTime dateTime |
| Last Alarm Time | The date and time that the system last checked to see if a poll detected any crossings of the falling and rising thresholds. The time between alarm checks should be close to the alarmInterval. | lastAlarmTime dateTime |
You can do the following