cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1749
Views
0
Helpful
2
Replies
danielbarri
Beginner

How can I get tech-support with SNMP

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
Engager

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

Marvin Rhoads
VIP Community Legend

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.