Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] SNMP or Cacti to graph perrformance?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ronmccar at gmail.com
Guest





PostPosted: Tue Apr 28, 2009 9:12 pm    Post subject: [Freeswitch-users] SNMP or Cacti to graph perrformance? Reply with quote

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!
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Apr 28, 2009 9:16 pm    Post subject: [Freeswitch-users] SNMP or Cacti to graph perrformance? Reply with quote

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:
Quote:
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 (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
ronmccar at gmail.com
Guest





PostPosted: Tue Apr 28, 2009 9:20 pm    Post subject: [Freeswitch-users] SNMP or Cacti to graph perrformance? Reply with quote

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 (brian@freeswitch.org)> wrote:
Quote:
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:

Quote:
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 (brian@freeswitch.org)



-- Meet us at ClueCon!  http://www.cluecon.com











_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
sprice at gmail.com
Guest





PostPosted: Tue Apr 28, 2009 9:31 pm    Post subject: [Freeswitch-users] SNMP or Cacti to graph perrformance? Reply with quote

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:
Quote:
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:
Quote:

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

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Apr 28, 2009 9:34 pm    Post subject: [Freeswitch-users] SNMP or Cacti to graph perrformance? Reply with quote

On Apr 28, 2009, at 9:19 PM, Ron McCarthy wrote:
Quote:
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.

Quote:

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


Wink




Quote:

Has anyone even done anything like this before?

Thanks


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
ronmccar at gmail.com
Guest





PostPosted: Tue Apr 28, 2009 10:02 pm    Post subject: [Freeswitch-users] SNMP or Cacti to graph perrformance? Reply with quote

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 (brian@freeswitch.org)> wrote:
Quote:

On Apr 28, 2009, at 9:19 PM, Ron McCarthy wrote:

Quote:
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.

Quote:

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


Wink




Quote:

Has anyone even done anything like this before?

Thanks



Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon!  http://www.cluecon.com











_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services