We have just installed a dozen Cisco 4507R+E switches. We have had a number of power supplies shut down. I do not seem to be able to find how to get any power statistics and alerts. Thoughts?
I would assume a syslog would be logged for a faulty power supply. So from this syslog create an email alert for it.
As for statistics, Solarwinds does provide some power statistics for certain devices and IOS's but otherwise you can write some custom SNMP pollers to get the info you're looking for.
This example may get you started
http://thwack.solarwinds.com/docs/DOC-73234
Unfortunately, part of the problem is that Cisco, in the current IOS series, is not logging a number of important events. Thanks for the SNMP poller link, I'll let you know how I make out.
So even when you do a show log on the device, you can't see any reference to a power supply going down? I've not heard of Cisco removing this functionality and I would expect show log would show a power failure error. But some "important" syslog messages (such as power) may only be logged as a syslog 4 so you'd have to set up your syslog alerting accordingly.
Surprises are so over rated! Local log shows nothing related to the power supply(s) going offline. Our external logging is set to 5, nothing reported. Cisco has replaced three power supplies thus far, but our biggest concern is the lack of logging and with that lack of notifications.