cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3625
Views
0
Helpful
3
Replies

How monitor the use of dial-peer (Connect Time)

felixguzman
Level 1
Level 1

How monitor multiple dial-peer (Connect Time) ??

When this reaches the defined time accumulated connected (example: Connect Time = 10000) shutdown the dial-peer.

UC520#show dial-peer voice 2 | beg Connect

Connect Time = 1430, Charged Units = 0,

Successful Calls = 2, Failed Calls = 0, Incomplete Calls = 0

Accepted Calls = 0, Refused Calls = 0,

Last Disconnect Cause is "10  ",

Last Disconnect Text is "normal call clearing (16)",

Last Setup Time = 1445373634.

Last Disconnect Time = 1445375144.

enable dial-peer in a day of the month date concurrently (example: Every day 15 of each month)

commands used:

clear statistics dial-peer voice 1

show dial-peer voice 1 | beg Connect Time

Thanks

Felix Guzman

3 Replies 3

felixguzman
Level 1
Level 1

That this can be done automatically using EEM technology

This should be doable with an EEM policy.  If I understand you correctly you want to watch for connect time to reach 10000 when it does you want to shutdown the dial peer.

And then enable every 1th day of each month.

The first part you would do with a watchdog EEM policy which periodically runs and checks the output of the show dial-peer voice 2 command.

The second part you probably would use a second EEM script to trigger on a cron timer set for the 15th day of the month, and have it run the commands you mentioned.

Thanks.

Hello Jason !!!!

I have very little experience with EEM and TCL script

Any help on this could be great.

Also to read manuals or recommend for these two technologies (EEM and TCL Script)?

Thanks
Felix Guzman

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: