Hello all,
I have a Cisco AS5300 .. and its runing as a VoIP GW
to give you the exact requirment, when i login to the AS5300 i issue this command to know the current running number of calls :
# sh voip rtp connections
it lists all the connections for the VoIP calls ... and at the last line it will says something like : Found 23 active calls ..
I just need this "23" number to be pulled somehow from the AS5300 and then graph it by Cacti ..
is this possible ?
i really hope so...
thanks a alot.
Can i add the VoIP number of current calls on Cisco AS5300 ?
Moderators: Developers, Moderators
you can use an expect script to telnet into the device and grab the info.
I use a perl script called mrat.pl to do this with my cisco devices. very useful indeed. I primarily use it via cron to dump the configs to a tftp server
see http://www.garnel.com/mrtg/pix-vpn.html for an example & scripts.
It has been a long time since I updated the site or the scripts, so the info may be a bit dated, but still applicable.
Also, I am not a coder so my scripts are functional enough to do the task I require of them and they could probably be written better. I provide them as
an example of HOW to do something.
I use a perl script called mrat.pl to do this with my cisco devices. very useful indeed. I primarily use it via cron to dump the configs to a tftp server
see http://www.garnel.com/mrtg/pix-vpn.html for an example & scripts.
It has been a long time since I updated the site or the scripts, so the info may be a bit dated, but still applicable.
Also, I am not a coder so my scripts are functional enough to do the task I require of them and they could probably be written better. I provide them as
an example of HOW to do something.
Who is online
Users browsing this forum: No registered users and 1 guest