Notification with netmanager for a specific temperature in router
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2011 09:22 AM
HI,
I have netmanager by which I monitor several routers an switches operating in LAN and WAN network, I have also defined notification by e.mail when the equipments ara down up, etc.
I was asked to defined an e.mail notification when the router reach a specific temperature.. buy I have no idea if I can do this.
Is it possible???
regards,
- Labels:
-
Network Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2011 12:01 AM
Netmanager uses actions to detect device state changes:
Or use EEM but you would have to configure the script on each router. Here is a link to a sample script that you can customize according to your enviorment.
Temprature and email notification:
http://forums.cisco.com/eforum/servlet/EEM?page=eem&fn=script&scriptId=764
Below is a sample of what the script should look like to work. Modify and make the changes according to your environment and configure it on the device.
- Modify, Copy & Paste -
event manager environment _email_server 10.10.10.10
event manager environment _email_from router-123@cisco.com
event manager environment _email_to noc@cisco.com
- Copy & Paste -
event manager applet Environment_Health
event syslog pattern ".*%ENVM-[0-3].*"
action 1.0 info type routername
action 1.1 syslog msg "Environment health event detected"
action 1.2 cli command "enable"
action 1.3 cli command "del /force flash:EEM_Environment_Health.txt"
action 1.4 cli command "show environment | append EEM_Environment_Health.txt"
action 1.5 cli command "show log | append EEM_Environment_Health.txt"
action 1.6 cli command "more flash:EEM_Environment_Health.txt"
action 1.7 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "EEM Environment Health Alert (hostname:$_info_routername)" body "$_cli_result"
action 1.8 syslog msg "EEM Environment Health failure notification has been sent to email server!"
More information about EEM can be found here:
http://www.cisco.com/en/US/partner/products/ps6815/products_ios_protocol_group_home.html
