Configure Cisco Works to trap and notify on power supply failures

Answered Question
Dec 4th, 2009
User Badges:

At one time, we had out Cisco Works configured to trap and notify when there were reported power supply outages.  I know it trapped of the Cisco devices log.  How do I get a copy of the potential error messages that can be generated from the various Cisco device logs?


Thanks


Dwane

Correct Answer by Joe Clarke about 7 years 5 months ago

The messages are broken down like this:


FACILITY-SUBFACILITY-SEVERITY-MNEMONIC


So, Dec  1 05:58:33: %C6KPWR-SP-2-PSFAIL: power supply 1 output failed. breaks down to:


Facility : C6KPWR

Sub-facility : SP

Severity : 2

Mnemonic : PSFAIL


If you wanted to match on all C6KPWR messages, you will do:


Facility : C6KPWR

Sub-facility : *

Severity : *

Mnemonic : *

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
dpatkins Sat, 12/05/2009 - 08:29
User Badges:

Sir,


Thank you for your answer.  I am new at this Cisco Works Syslog thing.  If I want to alert when a power supply goes out and comes back on on Cisco IOS 12.2.25, what are the parameters that I will need to put in the syslog portion. I am aware of how to get delve down into this portion, but right now, my window options has nothing but asterisks in them and I am trying to find a good example on how to complete thsi tasking.  And do I complete the notification of personnel in this same area.


Thank you so much for the help


Dwane

Joe Clarke Sat, 12/05/2009 - 09:30
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Exactly what type of device is this?

dpatkins Sun, 12/06/2009 - 16:59
User Badges:

Dec  1 05:58:33: %C6KPWR-SP-2-PSFAIL: power supply 1 output failed.
Dec  1 05:58:33: %C6KPWR-SP-4-PSREDUNDANTONESUPPLY: in power-redundancy mode, system is operating on one power supply.
Dec  1 05:58:43: %C6KPWR-SP-4-PSOK: power supply 1 turned on.
Dec  1 05:58:43: %C6KPWR-SP-4-PSREDUNDANTBOTHSUPPLY: in power-redundancy mode, system is operating on both power supplies.


This is a Cat 6500 version12.2.18.


I know I am trying to modify the RME->Tools->Syslog->Automated Actions but I am not real sure what goes where.


Thank you for all your help.


Dwane

Correct Answer
Joe Clarke Sun, 12/06/2009 - 17:07
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The messages are broken down like this:


FACILITY-SUBFACILITY-SEVERITY-MNEMONIC


So, Dec  1 05:58:33: %C6KPWR-SP-2-PSFAIL: power supply 1 output failed. breaks down to:


Facility : C6KPWR

Sub-facility : SP

Severity : 2

Mnemonic : PSFAIL


If you wanted to match on all C6KPWR messages, you will do:


Facility : C6KPWR

Sub-facility : *

Severity : *

Mnemonic : *

dpatkins Sun, 12/06/2009 - 18:16
User Badges:

Thank you, Sir. This answers my questions and I am assuming that this syntax can also be used on 4000 series as well?


Dwane

Joe Clarke Sun, 12/06/2009 - 18:26
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

All Cisco devices follow the same syslog format, but the power supply values for facility, severity, and mnemonic will be different for different platforms.

dpatkins Tue, 12/22/2009 - 11:09
User Badges:

Joe,


Most of our IOS is 12.2 for all platforms.  Will the Cisco IOS system error messages fit the bill for 6509s, 4506s & 3750s, for example?  Or will I need to find the system messages for all 3 devices?


Thank you


Dwane

Joe Clarke Tue, 12/22/2009 - 12:52
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You will need to look at each platform's system messages to find the proper facility, severity, and mnemonic.

dpatkins Wed, 12/23/2009 - 11:10
User Badges:

Joe,


Thank you for the quick response.


How do I tell if the event is actually being sent to the RME server from the Cisco switch.  Let's take the 6500 that we have used in this case.  Do I need to make sure that the SNMP server is set to send traps to the Cisco Works?


These is my snmp portion:


set snmp community read-only      xxxxx
set snmp community read-write     xxxxx
set snmp community read-write-all xxxxx
set snmp rmon enable
set snmp trap enable  chassis
set snmp trap enable  vtp
set snmp trap 10.11.10.177 xxxxxxx version 1 port 162 owner CLI index 1 wher e 10.11.10.177 is my Ciscoworks server IP.


The syslog portion is


#syslog
set logging console disable
set logging telnet disable
set logging server enable
set logging server 10.11.10.177
set logging level cdp 5 default
set logging level dtp 4 default
set logging level ip 4 default
set logging level pruning 4 default
set logging level snmp 3 default
set logging level spantree 4 default
set logging level vtp 4 default
set logging level mls 4 default
set logging level security 3 default
set logging level ethc 2 default
set logging server facility SYSLOG
set logging server severity 6
set logging buffer 300


Do I need to change anything?  I have Ciscoworks set up to send an email to my work email account but this did not happen last weekend.  If you feel all configurations are correct, then I will wait until this weekend to see if we received a page.




Thank you,


Dwane

Joe Clarke Wed, 12/23/2009 - 11:39
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Your trap config has no bearing on this.  Your syslog config is fine.  The RME server should be receiving these messages.

Actions

This Discussion