[cisco-voip] Monitor Q931 debug

Jim McBurnett jim at tgasolutions.com
Wed Oct 6 14:59:41 EDT 2010


Use EEM... and it all stays in the router...

You can have EEM issue the debug command when it sees the SNMP Cold start syslog event and then you have the EEM send an email when that happens....
I don't have the syslog pattern right... but I think you get the idea:


IE:
event manager applet routerreboot
 event syslog pattern "snmp cold start"
 action email mail server "192.168.12.24" to "user at emaildomain.com" from "2800router at emaildomain.com" subject "router rebooted" body "Router rebooted--- restarted debugs"
action add_debugs cli command "debug isqn q931"

From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Bill
Sent: Wednesday, October 06, 2010 2:25 PM
To: 'Ben Story'
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Monitor Q931 debug

Would I just send the entire debug to the syslog server? I have a 3845 with 16 PRI's terminated in it. Won't that max out the processor?

Also how can I keep the debug going if the router restarts?

________________________________
From: Ben Story [mailto:ben.story at gmail.com]
Sent: Wednesday, October 06, 2010 1:19 PM
To: Bill
Subject: Re: [cisco-voip] Monitor Q931 debug

syslog with swatch or logwatch would do the trick.
On Wed, Oct 6, 2010 at 1:07 PM, Bill <bill at hitechconnection.net<mailto:bill at hitechconnection.net>> wrote:

I am making some changes to the dial-peers and removing a lot of the generic matching strings such as destination-pattern 1... to more specific digits that the Telco is sending. I am 99% confidant I have all of the patterns but I want to make sure I am not missing anything. I have a debug output of a failed call setup and I basically want to monitor for this specific string:

Cause i = 0x8081 - Unallocated/unassigned number

I have CS-MARS and other systems I can use but I am just wondering what the best way would be to monitor for this event?





_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip



--
--
Ben Story
CCSP, CCNA, CCNA Wireless, CCDA
ben.story at gmail.com<mailto:ben.story at gmail.com>

"You cannot escape the responsibility of tomorrow by evading it today. -- Abraham Lincoln
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20101006/167e24e6/attachment.html>


More information about the cisco-voip mailing list