Re: EEM Scripts

From: Pablo Batchi <ccie28801_at_gmail.com>
Date: Mon, 20 Jun 2011 14:45:21 -0400

Hi Persio,

A few months ago I was looking for a similar solution for crc errors on the
interface.
This EEM will check the port every 60 second and if it notices errors it
will create a syslog msg.

Nov 1 21:33:13.345 ADT: %HA_EM-6-LOG: crc_check: CRC found on interface
GigabitEthernet0/1 : 11770
Nov 1 21:35:13.337 ADT: %HA_EM-6-LOG: crc_check: CRC found on interface
GigabitEthernet0/1 : 10182

event manager applet crc_check
event interface name GigabitEthernet0/1 parameter input_errors_crc entry-val
1 entry-op ge entry-val-is-increment true poll-interval 60
action 1.0 syslog msg "CRC found on interface $_interface_name :
$_interface_value"

good luck,
Pablo
CCIE 28801

On Mon, Jun 20, 2011 at 11:09 AM, Persio Pucci <persio_at_gmail.com> wrote:

> Hi guys,
>
> what do you recommend as a good resource for EEM scripting? I am looking
> for
> a script to notify me upon interface errors of any kind (drops, giants,
> overruns, CRC, etc) but can't find anything on the net and I am having the
> hardest time myself coming up with one.
>
> Regards,
>
> Persio
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Mon Jun 20 2011 - 14:45:21 ART

This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 06:24:28 ART