cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

Automatically email only when 1 T1 goes down.

Jump to solution

Hi,  I have quite a bit of customer that have two T1 for redundancy.  Does anyone have a guide to program only when T1 goes up or down.  I've tried to use email logging with event history error set to 1, but it is sending out too many emails.  I just want it to send out email if T1 goes up and T1 goes down.

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: Automatically email only when 1 T1 goes down.

Jump to solution

I would configure a track to monitor the interface.  You can't monitor a t1 interface directly with tracks, but you can monitor the routable interface that is connected to it (ppp, hdlc, frame-relay, etc.).

Example of  track testing ppp 1:

track wan1

test if interface ppp 1 line-protocol

no shutdown

Example of the mail client:

mail-client wan1.fail

  address to <recipient@address>

  address from <from@address>

  server <your smtp relay address>

  subject WAN interface monitoring event

  capture commands

    do show interface t1 0/1

    do show interface  ppp 1

    exit

  capture trigger track wan1

  send trigger track wan1 fail

  no shutdown

This will email you whenever the ppp 1 interface goes down.

Im not sure if you have to create another mail-client and send trigger track wan1 pass to report on the interface going back up, or if you can issue a second send trigger within the same client, but this works.

View solution in original post

0 Kudos
3 Replies
Anonymous
Not applicable

Re: Automatically email only when 1 T1 goes down.

Jump to solution

I would configure a track to monitor the interface.  You can't monitor a t1 interface directly with tracks, but you can monitor the routable interface that is connected to it (ppp, hdlc, frame-relay, etc.).

Example of  track testing ppp 1:

track wan1

test if interface ppp 1 line-protocol

no shutdown

Example of the mail client:

mail-client wan1.fail

  address to <recipient@address>

  address from <from@address>

  server <your smtp relay address>

  subject WAN interface monitoring event

  capture commands

    do show interface t1 0/1

    do show interface  ppp 1

    exit

  capture trigger track wan1

  send trigger track wan1 fail

  no shutdown

This will email you whenever the ppp 1 interface goes down.

Im not sure if you have to create another mail-client and send trigger track wan1 pass to report on the interface going back up, or if you can issue a second send trigger within the same client, but this works.

0 Kudos
Anonymous
Not applicable

Re: Automatically email only when 1 T1 goes down.

Jump to solution

Thank You!  I will try it after hours.

Anonymous
Not applicable

Re: Automatically email only when 1 T1 goes down.

Jump to solution

-

I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post to unmark it and select another in its place with the applicable buttons.  If you have any additional information on this that others may benefit from, please come back to this post to provide an update.  If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.


Thanks,

Noor