Archive

Archive for September 7th, 2013

Cisco EEM Applet – interface rxload | apply ACL when threshold reached

September 7th, 2013 No comments

INTERFACE EVENTS:
Two EEM applets measure rxload on an interface at 30-second intervals.  When a threshold is reached an ACL is applied to only permit important traffic thereby reducing the load.

1) When the Rx load is above 50% the access-list is applied.
2) When the Rx load goes below 25, the access-list is removed. Read more…

Categories: CISCO, EEM Scripts Tags:

Cisco EEM Applet – Prevent debug being enabled by exec users

September 7th, 2013 No comments

CLI EVENT DETECTOR:
The EEM applet prevents the “debugging” command being executed on the CLI. Any attempt will store the system clock and user’s on the flash. Read more…

Categories: CISCO, EEM Scripts Tags:

Cisco EEM Applet – Prevent and alert upon interfaces being shutdown

September 7th, 2013 No comments

SYSLOG EVENT DETECTOR:
When an interface has been shutdown, the EEM applet re-enables interface and sends an email alert with logged in users information. Read more…

Categories: CISCO, EEM Scripts Tags:

Cisco EEM Applet – Measure CPU Utilisation

September 7th, 2013 No comments

This EEM applet reads the Cisco “cpmCPUTotal5sec” object variable in the CISCO-PROCESS-MIB and triggers when the threshold exceeds 60 %.  Three files are stored on the flash, containing the output of the CLI command “show process cpu | sorted” and “show ip traffic” as well as the current syslog. Read more…

Categories: CISCO, EEM Scripts Tags: