Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-28 Thread phillman25
Hi Daniel Sure i will prepare something and let you know. Just brief info: For current number of dialogs i used SNMPSTATS module on Kamailio, and use snmpget function from a remote server (CACTI) to poll data i.e. snmpget -v2c -c public xx.xx.xx.xx .1.3.6.1.4.1.34352.3.1.3.1.3.2.2.0 | cut -b58-6

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread Daniel-Constantin Mierla
Hello, On 8/27/12 4:06 PM, phillman25 wrote: Thanks Daniel i was able to implement what you advised below and am able to poll specific data into CACTI successfully. great! Have you made it like a plugin? Maybe you can write few words about or make web page available for it, there is a similar p

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread phillman25
Thanks Daniel i was able to implement what you advised below and am able to poll specific data into CACTI successfully. Thanks again! Phillip On Mon, Aug 27, 2012 at 1:08 PM, Daniel-Constantin Mierla wrote: > Hello, > > I am not sure it supports right now sending from the same socket, but it

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread Daniel-Constantin Mierla
Hello, I am not sure it supports right now sending from the same socket, but it should send back to same ip and port from where it received the command. A patch it might be required to get it like that, so far I don't remember anyone willing to get such thing. Btw, another alternative, you c

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread phillman25
Thanks for the info Daniel. I have implemented mi_datagram module and defined it with the following parameters: modparam("mi_datagram", "socket_name", "udp:2.2.2.2:8033") When i run the below command from a remote server: echo -ne ":address_dump:\n\n" | nc -w 1 -u 2.2.2.2 8033 i don't receive

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-26 Thread Daniel-Constantin Mierla
Hello, if you want to execute from a remote server, maybe it is better to use mi_datagram or xmlrpc modules to run MI/RPC commands. Cheers, Daniel On 8/22/12 12:02 PM, phillman25 wrote: Dear List I am trying to run the below command from a REMOTE server where i use Cacti to graph all my d

[SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-22 Thread phillman25
Dear List I am trying to run the below command from a REMOTE server where i use Cacti to graph all my data. I am trying to graph on a per trunk basis. kamctl fifo profile_get_size trunk | awk -F '=' '{print $4}' This command yields an output on the local server. Could someone perhaps point me i