cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2237
Views
0
Helpful
2
Replies

How can I get tech-support with SNMP

danielbarri
Level 1
Level 1

I need some script for getting automatically the show tech-support to the NMS from a router. This script will be triggered by an event when the CPU utilizations is more than 90%.

2 Replies 2

nhabib
Level 9
Level 9

Unfortunately there is no way to get the show tech via SNMP

Marvin Rhoads
Hall of Fame
Hall of Fame

You should be able to do this indirectly with CiscoWorks.

Assuming you have set up the router to send a trap or log event log notification (using the RMON threshold service - see http://www.cisco.com/warp/public/477/RMON/alarm_event.shtml) to the syslog server that CW is using, you would then define an automated action for said event in CW. For details on automated actions, see http://www.cisco.com/univercd/cc/td/doc/product/rtrmgmt/cw2000/cw2000e/e_4_x/4_0/u_guide/syslog.htm#wp1211314

That action would be to launch a script (or possibly a batch file in Windows) to telnet into the device generating the event, sh tech, and log the session to a file uniquely defined by passing a parameter (and possibly a one up identifier) from the triggering event (e.g., devicename) to the log session file name.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco