Table Of Contents
Alarm Filtering Support in the Cisco Entity Alarm MIB
Prerequisites for Alarm Filtering Support in the Cisco Entity Alarm MIB
Restrictions for Alarm Filtering Support in the Cisco Entity Alarm MIB
Information About Alarm Filtering Support in the Cisco Entity Alarm MIB
How to Configure Alarm Filtering for Syslog Messages and SNMP Notifications
Configuring Alarm Filtering for Syslog Messages
Configuring Alarm Filtering for SNMP Notifications
Configuration Examples for Alarm Filtering Support in the Cisco Entity Alarm MIB
Configuring Alarm Filtering for Syslog Messages: Example
Configuring Alarm Filtering for SNMP Notifications: Example
Feature Information for Alarm Filtering Support in the Cisco Entity Alarm MIB
Alarm Filtering Support in the Cisco Entity Alarm MIB
First Published: November 14, 2008Last Updated: March 12, 2008The Alarm Filtering Support in the Cisco Entity Alarm MIB feature implements the alarm filter profile capability defined in CISCO-ENTITY-ALARM-MIB. Also implemented are configuration commands to control the severity of syslog messages and SNMP notifications triggered by the alarms.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Information About Alarm Filtering Support in the Cisco Entity Alarm MIB" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•Prerequisites for Alarm Filtering Support in the Cisco Entity Alarm MIB
•Restrictions for Alarm Filtering Support in the Cisco Entity Alarm MIB
•Information About Alarm Filtering Support in the Cisco Entity Alarm MIB
•How to Configure Alarm Filtering for Syslog Messages and SNMP Notifications
•Configuration Examples for Alarm Filtering Support in the Cisco Entity Alarm MIB
•Feature Information for Alarm Filtering Support in the Cisco Entity Alarm MIB
•Feature Information for Alarm Filtering Support in the Cisco Entity Alarm MIB
Prerequisites for Alarm Filtering Support in the Cisco Entity Alarm MIB
•SNMP is configured on your routing devices.
•Familiarity with the ENTITY-MIB and the CISCO-ENTITY-ALARM-MIB.
Restrictions for Alarm Filtering Support in the Cisco Entity Alarm MIB
•The CISCO-ENTITY-ALARM-MIB supports reporting of alarms for physical entities only. For line cards, alarms are reported at the physical interface or port level.
Information About Alarm Filtering Support in the Cisco Entity Alarm MIB
To configure alarm filtering in the Cisco Entity Alarm MIB, you should understand the following concepts:
CISCO-ENTITY-ALARM-MIB
The CISCO-ENTITY-ALARM-MIB provides a management client with the capability to monitor alarms generated by physical entities in a network that are identified in the entPhysicalTable of the Entity-MIB (RFC 2737). Examples of these physical entities are chassis, fans, modules, ports, slots, and power supplies. The management client interfaces with an SNMP agent to request access to objects defined in the CISCO-ENTITY-ALARM-MIB.
ceAlarmGroup
The ceAlarmGroup is a group in the CISCO-ENTITY-ALARM-MIB that defines objects that provide current statuses of alarms and the capability to instruct an agent to stop (cut off) signaling for any or all external audible alarms.
Following are the objects in ceAlarmGroup:
•ceAlarmCriticalCount
•ceAlarmMajorCount
•ceAlarmMinorCount
•ceAlarmCutoff
•ceAlarmFilterProfile
•ceAlarmSeverity
•ceAlarmList
ceAlarmFilterProfileTable
The ceAlarmFilterProfileTable filters alarms according to configured alarm lists. The filtered alarms are then sent out as SNMP notifications or syslog messages, based on the alarm list enabled for each alarm type. This table is defined in the CISCO-ENTITY-ALARM-MIB and implemented in the group ceAlarmGroup.
ceAlarmFilterProfile
An alarm filter profile controls the alarm types that an agent monitors and signals for a corresponding physical entity. The ceAlarmFilterProfile object holds an integer value that uniquely identifies an alarm filter profile associated with a corresponding physical entity. When the value is zero, the agent monitors and signals all alarms associated with the corresponding physical entity.
How to Configure Alarm Filtering for Syslog Messages and SNMP Notifications
This section contains the following tasks:
•Configuring Alarm Filtering for Syslog Messages (optional)
•Configuring Alarm Filtering for SNMP Notifications (optional)
Configuring Alarm Filtering for Syslog Messages
Perform this task to configure the alarm severity threshold for generating syslog messages. When you perform this task, the alarm severity threshold is included in the running configuration and automatically applied when the configuration is reloaded.
SUMMARY STEPS
1. enable
2. configure terminal
3. logging alarm [severity]
4. show facility-alarm status
DETAILED STEPS
Configuring Alarm Filtering for SNMP Notifications
Perform this task to configure the alarm severity threshold for generating SNMP notifications. When you perform this task , the alarm severity threshold is included in the running configuration and automatically applied when the configuration is reloaded.
SUMMARY STEPS
1. enable
2. configure terminal
3. snmp-server enable traps alarms [severity]
4. show facility-alarm status
DETAILED STEPS
Configuration Examples for Alarm Filtering Support in the Cisco Entity Alarm MIB
This section provides the following configuration examples:
•Configuring Alarm Filtering for Syslog Messages: Example
•Configuring Alarm Filtering for SNMP Notifications: Example
Configuring Alarm Filtering for Syslog Messages: Example
The following example shows how to configure an alarm filter for syslog messages:
Router# enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# logging alarm 2 Router(config)# exit Router#Router# show facility-alarm statusSystem Totals Critical: 1 Major: 0 Minor: 0Source Severity Description [Index] ------ -------- ------------------- Fa0/0 CRITICAL Physical Port Link Down [0] Fa0/1 INFO Physical Port Administrative State Down [1] AT6/0 INFO Physical Port Administrative State Down [8]Configuring Alarm Filtering for SNMP Notifications: Example
The following example shows how to configure an alarm filter for SNMP notifications:
Router# Router# enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)# snmp-server enable traps alarms 2 Router(config)# Router(config)# exitRouter#Router# show facility-alarm statusSystem Totals Critical: 1 Major: 0 Minor: 0Source Severity Description [Index] ------ -------- ------------------- Fa0/0 CRITICAL Physical Port Link Down [0] Fa0/1 INFO Physical Port Administrative State Down [1] AT6/0 INFO Physical Port Administrative State Down [8]Additional References
The following sections provide references related to the Alarm Filtering Support in the Cisco Entity Alarm MIB feature.
Related Documents
Standards
Standard TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature."
—
MIBs
MIB MIBs Link•ENTITY-MIB
•CISCO-ENTITY-ALARM-MIB
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for Alarm Filtering Support in the Cisco Entity Alarm MIB
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco Nurse Connect, Cisco Pulse, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, and Flip Gift Card are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Fast Step, Follow Me Browsing, FormShare, GainMaker, GigaDrive, HomeLink, iLYNX, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0908R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2005-2008 Cisco Systems, Inc. All rights reserved.