Alarms

This chapter provides instructions for configuring the alarms on the IR807.

Alarms

This chapter provides instructions for configuring the alarms on the IR807.

Information About Alarms

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.

Alarm Port

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 .

Alarm Conditions

There are two conditions that generate an alarm:

  • If the alarm is connected to a door switch or an enclosure and detects a door opening.
    • This is an external alarm and requires wiring. See the IR807 Hardware Installation Guide.
  • When the internal temperature is too high.
    • This is an internal alarm, no wiring required.

When either condition is met, the alarm LED turns red, and a syslog message and SNMP trap is triggered if configured.

SNMP Traps

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.

Syslog Messages

You can use alarm profiles to send system messages to a syslog server.

Configuration Commands

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:

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/snmp/configuration/15-mt/snmp-15-mt-book/nm-snmp-cfg-snmp-support.html

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.

Configuration Examples

Configure an alarm.


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#

To show the alarm status:


IR807#show environment alarm-contact
 	! 
No Alarm Present
ALARM CONTACT
   Status:      Not Asserted
   Description: Test Input Alarm
   Severity:    Critical
   Trigger:     Closed

Example of an alarm being generated:


IR807#	! 
*Nov 27 14:54:52.573: %IR800_ALARM_CONTACT-0-EXTERNAL_ALARM_CONTACT_ASSERT: External alarm asserted, Severity: Critical

To show the alarm status during an event:


IR807#show environment alarm-contact
ALARM CONTACT
   Status:      Asserted
   Description: Test Input Alarm
   Severity:    Critical
   Trigger:     Closed

Example of an alarm being cleared:


IR807#	!
*Nov 27 14:55:02.573: %IR800_ALARM_CONTACT-0-EXTERNAL_ALARM_CONTACT_CLEAR: External alarm cleared
IR807#

Enabling SNMP Traps

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.