Thank you!
On Apr 2, 2010, at 5:55 PM, Sergey Okhapkin wrote:
check process freeswitch
with pidfile /opt/freeswitch/run/freeswitch.pid
start program = "/etc/init.d/freeswitch restart"
stop program = "/etc/init.d/freeswitch stop"
if totalmem > 1000.0 MB for 5 cycles then alert
if totalmem > 1500.0 MB for 5 cycles then alert
if totalmem > 2000.0 MB for 5 cycles then restart
if cpu > 60% for 5 cycles then alert
if failed host HOST_IP_ADDRESS port 5060 type udp protocol sip within 2
cycles
then restart
if 5 restarts within 5 cycles then timeout
On Friday 02 April 2010, Lon Baker wrote:
Would you care to share an example of the config for monit? I will
document the practice on the wiki.
On Fri, Apr 2, 2010 at 2:54 PM, Spencer Thomason
<spencer@5ninesolutions.com> wrote:
We run monit on each local machine sending out an options ping every
minute. �If it doesn't get a response then monit restarts the
freeswitch process. �The nice thing about this is that you can
actually verify that Freeswitch is responding to SIP requests.
On Apr 2, 2010, at 2:24 PM, Lon Baker wrote:
Hi gang!
I'm trying to determine the best way to periodically check the status
of production Freeswitch deployments.
While Freeswitch has been incredibly stable in production, I would
like to ping it periodically to check that its not hung in someway.
Has anyone considered or done this yet?
My thought it so issue a command via fs_cli periodically and compare
the out. But am trying to determine what a good command would be.
thinking of using show channels or show calls, in addition to status.
Any thoughts? Is this a wrong-headed approach?
Thanks for any feedback.
Lon
_______________________________________________
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
_______________________________________________
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.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org