Alarms
This chapter provides instructions for configuring the alarms on the IR807.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter provides instructions for configuring the alarms on the IR807.
This chapter provides instructions for configuring the alarms on the IR807.
If the conditions present on the IR807 do not match the set parameters, the IR807 software triggers an alarm or a system message. By default, the IR807 software sends the system messages to a system message logging facility, or a syslog facility. You can also configure the IR807 to send Simple Network Management Protocol (SNMP) traps to an SNMP server.
The IR807 has an alarm port on the front of the device. Additional details and instructions about connecting the alarm ports are found in the IR807 Hardware Configuration Guide .
There are two conditions that generate an alarm:
When either condition is met, the alarm LED turns red, and a syslog message and SNMP trap is triggered if configured.
SNMP is an application-layer protocol that provides a message format for communication between managers and agents. The SNMP system consists of an SNMP manager, an SNMP agent, and a management information base (MIB).
The snmp-server enable traps command can be changed so that the user can send alarm traps to an SNMP server. You can use alarm profiles to set environmental or port status alarm conditions to send SNMP alarm traps.
You can use alarm profiles to send system messages to a syslog server.
You can set the alarm severity to critical, major, minor, or none. The severity is included in the alarm message when the alarm is triggered.
You must first have an SNMP server setup to send SNMP messages to. Refer to the following documentation for instructions:
To configure and show alarms on the IR807, use the Command Line Interface (CLI).
Command |
Purpose |
---|---|
configure terminal |
Enters global configuration mode. |
alarm contact contact-numberdescription string |
(Optional) Configures a description for the alarm contact number. The contact-number value is from 1 to 4. The description string is up to 80 alphanumeric characters in length and is included in any generated system messages. |
alarm contact {contact-number | all } {severity critical | major | minor | none } | trigger closed | open }} |
Configures the trigger and severity for an alarm contact number or for all contact numbers. Enter a contact number (1 to 4) or specify that you are configuring all alarms. For severity , enter critical, major , minor or none . If you do not configure a severity, the default is minor . For trigger , enter open or closed . If you do not configure a trigger, the alarm is triggered when the circuit is closed . |
end |
Returns to privileged EXEC mode. |
show env alarm-contact |
Shows the configured alarm contacts. |
copy running-config startup-config |
(Optional) Saves your entries in the configuration file. |
IR807#conf term
Enter configuration commands, one per line. End with CNTL/Z.
IR807(config)#alarm-contact 1 description
Your Descriptive Text Here
IR807(config)#alarm-contact 1 severity critical
IR807(config)#alarm-contact 1 trigger closed
IR807#
IR807#show environment alarm-contact
!
No Alarm Present
ALARM CONTACT
Status: Not Asserted
Description: Test Input Alarm
Severity: Critical
Trigger: Closed
IR807# !
*Nov 27 14:54:52.573: %IR800_ALARM_CONTACT-0-EXTERNAL_ALARM_CONTACT_ASSERT: External alarm asserted, Severity: Critical
IR807#show environment alarm-contact
ALARM CONTACT
Status: Asserted
Description: Test Input Alarm
Severity: Critical
Trigger: Closed
IR807# !
*Nov 27 14:55:02.573: %IR800_ALARM_CONTACT-0-EXTERNAL_ALARM_CONTACT_CLEAR: External alarm cleared
IR807#
Step |
Command |
Purpose |
---|---|---|
1 |
configure terminal |
Enters global configuration mode. |
2 |
snmp-server enable traps alarms |
Enables the switch to send SNMP traps. |
3 |
end |
Returns to privileged EXEC mode. |
4 |
show alarm settings |
Verifies the configuration. |
5 |
copy running-config startup-config |
(Optional) Saves your entries in the configuration file. |