cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
751
Views
6
Helpful
2
Replies

EEM for ISDN Status

Gerard Gacusan
Level 1
Level 1

Hi there,

Anybody has an EEM applet script for ISDN status? let's say if ISDN layer-1 Deactivated or Fail, sends email alert immediately? Thanks !

Global ISDN Switchtype = primary-5ess
ISDN Serial1/0:23 interface
        dsl 0, interface ISDN Switchtype = primary-ni
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x807FFFFF
    Number of L2 Discards = 0, L2 Session ID = 250
    Total Allocated ISDN CCBs = 0

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

This applet should work:

event manager applet isdn-down

event snmp oid 1.3.6.1.2.1.10.20.1.3.4.1.2.X entry-op ne entry-val 2 get-type exact poll-interval 10 exit-op eq exit-val 2

action 1.0 mail from "user@company.com" to "user@company.com" server "smtp.company.com" subject "ISDN is down" body "The ISDN status is currently $_snmp_oid_val"


Besides the obvious email addresses and SMTP server, the value of X here is the ifIndex of the ISDN interface (as seen in the output of "show snmp mib ifmib ifindex").  SNMP will be the easier course of action here as it will work on more versions of IOS in applet form.

cool

i'll try this via snmp oid. Yeah this is probably the easiest way. Thanks !