Hi all,
i'm looking for creating alert to monitoring the power of a switch or router. Can NPM do this?
Thank you
You will need to create an UnDP for the devices you wish to monitor and then create an alert against that poller.
Here are some examples on our content exchange for monitoring power on some Cisco devices
">
We also have some product tutorials online, one specifically on creating a UnDP here - http://www.solarwinds.com/support/tutorials.aspx
I currently use snmp traps and syslog to monitor the power of my Cisco switches. Using the 'snmp-server enable traps envmon fan shutdown supply temperature status' command, NPM receives a trap and a syslog message anytime there is a power issue. When I receive a trap, I have an alert configured to send off an email to a support group.
Here's an example I receive a couple weeks ago from a Cisco 4507 switch:
clogHistTimestamp.20059 = 4014550789 clogHistMsgText.20059 = Power supply 1 has failed or been turned off clogHistMsgName.20059 = POWERSUPPLYBAD clogHistSeverity.20059 = 5 clogHistFacility.20059 = C4K_IOSMODPORTMAN snmpTrapOID = CISCO-SYSLOG-MIB:clogMessageGenerated sysUpTime = 4014550789
clogHistTimestamp.20060 = 4014550789 clogHistMsgText.20060 = Fan of power supply 1 has failed clogHistMsgName.20060 = POWERSUPPLYFANBAD clogHistSeverity.20060 = 5 clogHistFacility.20060 = C4K_IOSMODPORTMAN snmpTrapOID = CISCO-SYSLOG-MIB:clogMessageGenerated sysUpTime = 4014550789
The trap alert watches for CISCO-ENVMON-MIB:ciscoEnvMonRedundantSupplyNotification messages, which don't have as much info, but at least alerts me to something being wrong.
Hope that helps!
thank you a lot for your help.
i enable the snmp trap alert for a cisco 7204 and i'm using NPM orions version 7 but i don't receive any alert on the events. when i try to show the loggin on the router i can see the alert.
if you can tell me how do you configure this alert for this traps.
I'm using NPM 9.1, so I'm not 100% sure if all of the features are backwards compatible. I've also never used a Cisco 7204, so I don't know how compatible these commands are.
First, I set the device to use my NPM server as both a syslog server and a trap receiver. On my Catalyst 4507 I use:
logging trap notifications (sets the syslog server logging level)
logging facility local5 (use whatever facility you have available)
logging <host_ip> (sets the syslog server ip)
snmp-server enable traps syslog (enables SNMP traps sent to syslog)
snmp-server host <host_ip> envmon (enables SNMP traps to be sent to <host> )
These commands are a bit redundant, in that I have traps being generated that are sent to the trap receiver and also being sent to syslog, which are then sent to the syslog server. It works for me though
Once i have that setup, my NPM receives all syslog and trap messages. I have had the best luck creating alerts in the Trap Viewer app. If you can find a way to simulate the trap you want to create an alert from, then you can use the Trap Viewer to create an alert. You can also use the Trap Viewer to manually create the alerts if you already know the snmpTrapOID for the event you want to alert on.
Hope that helps