cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
636
Views
0
Helpful
3
Replies

Be advised when a router has been rebooted

slauzon
Level 1
Level 1

Is there a way to be updated when a router has been rebooted. Maybe there is a way to run a ip sla at startup that will send a http post to a webpage or a snmp. And the problem is, if the router has been rebooted but don't have access to the network, will it store the request and send it when the the link come back up. Then another problem, if the router has been rebooted twice before the link is up, maybe it could also be a good idea to store it on the flash.

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

A router will generate a %SYS-5-RESTART syslog message and a coldStart SNMP trap when it reboots.  Using the Embedded Event Manager, you could catch the syslog, and write some data to flash.

--

Please support CSC Helps Haiti

https://supportforums.cisco.com/docs/DOC-8895

https://supportforums.cisco.com

And then could it be possible to send the information to a server somewhere on the network?

Absolutely.  If you wrote an EEM Tcl policy to intercept the %SYS-5-RESTART syslog, it could dump some data to flash, then ping a network server.  If that server is reachable, it could upload the data (TFTP, HTTP, etc.), then delete the file until the next reload.

--

Please support CSC Helps Haiti

https://supportforums.cisco.com/docs/DOC-8895

https://supportforums.cisco.com