Re: [SR-Users] stats in kamailio

2011-04-19 Thread Daniel-Constantin Mierla
Hello, On 4/18/11 12:12 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: i'm coming back to this rather old thread. my question is, what is the benefit (if any) of using htable to store the stats as opposed to shared variables ($shv instead of $sht)? the benefit of using htable is d

Re: [SR-Users] stats in kamailio

2011-04-18 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > > i'm coming back to this rather old thread. my question is, what is the > > benefit (if any) of using htable to store the stats as opposed to shared > > variables ($shv instead of $sht)? > the benefit of using htable is dynamic name for keys, otherwise the >

Re: [SR-Users] stats in kamailio

2011-04-18 Thread Daniel-Constantin Mierla
On 4/18/11 11:35 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: Here is what I do if I want to get like "load" stats - i.e., number of events in a specific period of time. For example number of 2xx transactions per minute: Load htable module and define a htable, say stats. In eve

Re: [SR-Users] stats in kamailio

2011-04-18 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Here is what I do if I want to get like "load" stats - i.e., number of > events in a specific period of time. For example number of 2xx > transactions per minute: > > Load htable module and define a htable, say stats. > > In event_route[htable:mod-init] I set

Re: [SR-Users] stats in kamailio

2011-03-14 Thread Henning Westerholt
On Friday 04 March 2011, Daniel-Constantin Mierla wrote: > [..] > - insert in db the value of $var(diff) along with the timestamp so you have > the number of transactions answered with 2xx during the last minute. Then > configure siremis to make a graph out of the db records > > You can have anoth

Re: [SR-Users] stats in kamailio

2011-03-04 Thread Daniel-Constantin Mierla
On 2/27/11 5:27 AM, Juha Heinanen wrote: Henning Westerholt writes: "kamctl fifo get_statistics all" will show you all available statistics, for a more simpler view try "kamctl moni". The closest thing you'll find regards to the load are inuse transaction, or concurrent dialogs. tmx:inuse_tr

Re: [SR-Users] stats in kamailio

2011-02-26 Thread Juha Heinanen
Henning Westerholt writes: > "kamctl fifo get_statistics all" will show you all available statistics, > for a more simpler view try "kamctl moni". The closest thing you'll > find regards to the load are inuse transaction, or concurrent dialogs. tmx:inuse_transactions would be more useful if it wo

Re: [SR-Users] stats in kamailio

2011-02-23 Thread Henning Westerholt
Ricardo asked: > In particular is there a way to see the statistics related to the "load" > of the server? Or cpu used by kamailio? Hi, "kamctl fifo get_statistics all" will show you all available statistics, for a more simpler view try "kamctl moni". The closest thing you'll find regards to the

Re: [SR-Users] stats in kamailio

2011-02-23 Thread Ricardo Martinez
de 2011 16:52 Para: Ricardo Martinez CC: sr-users@lists.sip-router.org Asunto: Re: [SR-Users] stats in kamailio Each module may or may not have statistics. Check the README file for each module that you have loaded to see what statistics are available. For example, here are the statistics exported

Re: [SR-Users] stats in kamailio

2011-02-23 Thread Ovidiu Sas
Each module may or may not have statistics. Check the README file for each module that you have loaded to see what statistics are available. For example, here are the statistics exported by the tmx module: http://www.kamailio.org/docs/modules/3.1.x/modules_k/tmx.html#id2700650 Regards, Ovidiu Sas