Skip to content
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #13 from Metaswitch/alarms
Browse files Browse the repository at this point in the history
[No review required] Add SNMP Alarms page
  • Loading branch information
mirw committed Mar 4, 2015
2 parents 5b797bd + 65e518a commit 0ec762b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docs/SNMP_Alarms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# SNMP Alarms

Clearwater nodes report errors over the SNMP interface when they are in an abnormal
state, and clear them when they return to normal. They only report errors relating to
that node - not errors relating to the whole deployment, which is the role of an external
monitoring service.

Error indications come in two forms:

* For clearly-defined errors not based on thresholds, the Clearwater node sets an
ITU Alarm MIB from [RFC 3877](http://tools.ietf.org/html/3877) and sends an SNMP
notification to a configured external SNMP manager.

* For errors based on a threshold set on a statistic (such as latency targets or
number of failed connections), the Clearwater node exposes that statistic over
SNMP. A downstream statistics aggregator from the Management and
Orchestration (MANO) layer monitors these statistics, compares them to its
configured thresholds, and raises alarms on that basis.

## EMS

To integrate with an EMS, it must support the following capabilities of RFC 3877 to
obtain the brief description, detailed description, and severity for the alarm:

* The EMS must be configured to catch the SNMP INFORM messages used to
report alarms from Clearwater Core. It is also recommended that the EMS must
display the alarm information provided by the following MIBs.

* Upon receiving a SNMP INFORM message from Clearwater Core the EMS
can obtain the alarm data by the following:

* The EMS must retrieve the AlarmModelEntry MIB table data associated
with the current SNMP INFORM message from Clearwater Core. This
MIB provides the active/clear state, alarm description, and a table index
for the ituAlarmEntry MIB.

* The EMS must the retrieve the ituAlarmEntry MIB table data associated
with the current alarm from Clearwater Core. This MIB provides the alarm
severity and the additional detailed alarm description.

## Alarm Models

The alarm models used by Clearwater are defined in [alarmdefinition.h](https://github.com/Metaswitch/cpp-common/blob/master/include/alarmdefinition.h).
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pages:
- ['Plivo.md', 'Integration', 'Plivo']
- ['Voxbone.md', 'Integration', 'Voxbone']
- ['Clearwater_SNMP_Statistics.md', 'Integration', 'Clearwater SNMP Statistics']
- ['SNMP_Alarms.md', 'Integration', 'SNMP Alarms']
- ['Configuring_MMonit.md', 'Integration', 'Configuring M/Monit']

# Features:
Expand Down

0 comments on commit 0ec762b

Please sign in to comment.