Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Be advised when a router has been rebooted

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
Cisco Employee

Re: Be advised when a router has been rebooted

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

New Member

Re: Be advised when a router has been rebooted

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

Cisco Employee

Re: Be advised when a router has been rebooted

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

308
Views
0
Helpful
3
Replies