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

EEM Question

Hello,

how correctly write event syslog pattern

if i want to catch debug isdn q931 events:

Call rejected

No circuit/channel available

Resource unavailable, unspecified

Unallocated/unassigned number

I wrote

event syslog pattern ".*Call rejected.*No circuit/channel available.*Resource unavailable, unspecified.*Unallocated/unassigned number"

but it don't work.

Regards,

Mike

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: EEM Question

If you want one policy to match all messages, you want something like:

event syslog pattern "Cause i =.*(Call rejected|No circuit/channel available|Resource unavailable, unspecified|Invalid information element contents|Switching equipment congestion|Unallocated/unassigned number)"
4 REPLIES
Cisco Employee

Re: EEM Question

This doesn't look right.  Are each of these messages are unique lines?  Can you post the show log output showing the messages you wish to match?

New Member

Re: EEM Question

Hello!

The lines which i want to match are

Cause i = 0x8295 - Call rejected
Cause i = 0x8AA2 - No circuit/channel available
Cause i = 0x80AF - Resource unavailable, unspecified

Cause i = 0x0080E408 - Invalid information element contents

Cause i = 0x82AA - Switching equipment congestion
Cause i = 0x8281 - Unallocated/unassigned number

Regards,

Mike

Cisco Employee

Re: EEM Question

If you want one policy to match all messages, you want something like:

event syslog pattern "Cause i =.*(Call rejected|No circuit/channel available|Resource unavailable, unspecified|Invalid information element contents|Switching equipment congestion|Unallocated/unassigned number)"
New Member

Re: EEM Question

Thank you!

It works now!

Regards,

Mike

807
Views
0
Helpful
4
Replies