The easiest thing to do is to check the size of various dialog profiles (with or without value) using the dialog module's MI commands using kamctl or sercmd, i.e.
kamctl fifo profile_get_size trunk
You can then pull that scalar out from a Perl script or something and feed it into MRTG.
On 05/11/2011 11:42 AM, JR Richardson wrote:
Hi All,
So I'm still banging away at monitoring various SIP trunk capacity, the dialog module is working well for this purpose. I am running local server cron job scripts to pull data and put into local flat files for reference.
My next step is to pull this data from a remote server and graph with MRTG (this is what I use for most other network monitoring). It looks like I can use the mi_xmlrpc module and remotely query the SIP Router with kamctl commands and parse the results into MRTG.
I'm interested in hearing from others that may have already done this and would not mind sharing some scripts or from anyone that has an alternative method.
Any guidance or affirmation that this is a good method that works would be helpful.
On the MRTG server, I'm using perl scripts for a lot of my data pulling. I am using Kamailio 3.0.
Thanks.
JR