SNMP or Cacti to graph perrformance?
Hi List, I have searched and searched and have found nothing. Id like to be able to keep track of current calls and the CPS and then chart these via Cacti. Is their some a SNMP plugin that I have not seen for FS that can do some of these things? Also, if I have to make some custom plugin that montiors output the of show channels /show calls via one of the API's, anyway we can get a realtime stream so I don't have to query it every second to get correct data? Thanks!
every second is way too high of a resolution. 10 seconds 20 seconds are more sane! /b On Apr 28, 2009, at 9:11 PM, Ron McCarthy wrote:
lso, if I have to make some custom plugin that montiors output the of show channels /show calls via one of the API's, anyway we can get a realtime stream so I don't have to query it every second to get correct data?
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
will hitting it every 10 or 20 seconds hurt performance / eat a lot of CPU? Only reason id like to hit every second so I could get some sort of attempt on the call setups and call transactions. Has anyone even done anything like this before? Thanks On Tue, Apr 28, 2009 at 7:16 PM, Brian West <brian@freeswitch.org> wrote:
every second is way too high of a resolution. 10 seconds 20 seconds are more sane! /b
On Apr 28, 2009, at 9:11 PM, Ron McCarthy wrote:
lso, if I have to make some custom plugin that montiors output the of show channels /show calls via one of the API's, anyway we can get a realtime stream so I don't have to query it every second to get correct data?
Brian West brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Connect to the socket and subscribe to the heartbeat. The heartbeat event fires every 20 seconds and contains the session count. On Tue, Apr 28, 2009 at 21:19, Ron McCarthy <ronmccar@gmail.com> wrote:
will hitting it every 10 or 20 seconds hurt performance / eat a lot of CPU?
Only reason id like to hit every second so I could get some sort of attempt on the call setups and call transactions.
Has anyone even done anything like this before?
Thanks
On Tue, Apr 28, 2009 at 7:16 PM, Brian West <brian@freeswitch.org> wrote:
every second is way too high of a resolution. 10 seconds 20 seconds are more sane! /b On Apr 28, 2009, at 9:11 PM, Ron McCarthy wrote:
lso, if I have to make some custom plugin that montiors output the of show channels /show calls via one of the API's, anyway we can get a realtime stream so I don't have to query it every second to get correct data?
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Shannon
On Apr 28, 2009, at 9:19 PM, Ron McCarthy wrote:
will hitting it every 10 or 20 seconds hurt performance / eat a lot of CPU?
No its just silly in my opinion if you want that then hook on event socket using ESL and write something to register callbacks for each event and collect stats. Then you have realtime stats collection you can query or dump out any way you see fit.
Only reason id like to hit every second so I could get some sort of attempt on the call setups and call transactions.
we already collect those stats on the sofia profiles. <calls-in>14</calls-in> <calls-out>11</calls-out> <failed-calls-in>2</failed-calls-in> <failed-calls-out>3</failed-calls-out> sofia xmlstatus profile XXXX ;)
Has anyone even done anything like this before?
Thanks
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
That's really I want that looks perfect, anyways I can get stats for a gateway? Far as the calls-in and calls out? If not the heartbeat looks like I could writ esomething up and use that to. On Tue, Apr 28, 2009 at 7:33 PM, Brian West <brian@freeswitch.org> wrote:
On Apr 28, 2009, at 9:19 PM, Ron McCarthy wrote:
will hitting it every 10 or 20 seconds hurt performance / eat a lot of CPU?
No its just silly in my opinion if you want that then hook on event socket using ESL and write something to register callbacks for each event and collect stats. Then you have realtime stats collection you can query or dump out any way you see fit.
Only reason id like to hit every second so I could get some sort of attempt on the call setups and call transactions.
we already collect those stats on the sofia profiles.
<calls-in>14</calls-in> <calls-out>11</calls-out> <failed-calls-in>2</failed-calls-in> <failed-calls-out>3</failed-calls-out>
sofia xmlstatus profile XXXX
;)
Has anyone even done anything like this before?
Thanks
Brian West brian@freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Ron McCarthy
-
SP