Re: [SR-Users] websocket:ws_current_connections vs. kamctl fifo ws.dump

2014-09-11 Thread Dunkley, Peter
websocket:ws_current_connections says how many WebSocket connections are currently open. It is perfectly possible for Kamailio to be doing SIP over both TCP and WebSockets, so counting the number of TCP connections may not tell you how many WebSocket connections are in use as the figure can inc

Re: [SR-Users] websocket:ws_current_connections vs. kamctl fifo ws.dump

2014-09-11 Thread Daniel-Constantin Mierla
I was not checking so far the ws/wss connections, but you can probably rely on tcp stats, because ws/wss are on top of tcp layer. You can run the tcp-related rpc commands via kamcmd: - http://www.kamailio.org/docs/docbooks/4.1.x/rpc_list/rpc_list.html#core.tcp_info Cheers, Daniel On 10/09/1

Re: [SR-Users] websocket:ws_current_connections vs. kamctl fifo ws.dump

2014-09-10 Thread Luis F Urrea
Any ideas are welcome. I wanted to try to get input from someone familiar with the websockets module as these statistics seem rather bogus from the comparison with netstat connections. On Mon, Sep 8, 2014 at 12:09 PM, Luis F Urrea wrote: > Hello > > I have a question in regards monitoring webso

[SR-Users] websocket:ws_current_connections vs. kamctl fifo ws.dump

2014-09-08 Thread Luis F Urrea
Hello I have a question in regards monitoring websocket connections on a production box. We ususally trust whatever is indicated through the $ kamctl fifo get statistics We've seen that this is what the community contributed munin plugins use. However when trying to monitor web socket connecti