VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
christian.loeschenkohl... Guest
|
Posted: Mon Oct 19, 2009 11:26 am Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
hello
we have the problem here that our freeswitch server "freezes" from time
to time (no sip traffic is possible any more).
has somebody here expirience or any idea how to monitor freeswitch to answer
the questions
- is the server alive
- does he process sip messages (invites, registrations)
and so on
the monitoring should work via cron local and remote (with esl for example)
a simple "fs_cli -x 'version'" wouldn't work - it's too simple, am i right?
any ideas would be helpful
br
--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP
xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria
T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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 |
|
Back to top |
|
|
rob4manhere at gmail.com Guest
|
Posted: Mon Oct 19, 2009 11:33 am Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
Hi Christian,
You can subscribe and monitor the heartbeat event either locally or
remotely:
http://wiki.freeswitch.org/wiki/Perl_freeswitch_client_example
You could also send an application level SIP packet, like a ping, to
Freeswitch externally. I have a small script if you can't find one.
More importantly, while monitoring is good, its probably worth
investigating the root cause of the freezes since thats not normal.
Rob
On Oct 19, 2009, at 11:07 AM, Christian Löschenkohl wrote:
Quote: | hello
we have the problem here that our freeswitch server "freezes" from
time
to time (no sip traffic is possible any more).
has somebody here expirience or any idea how to monitor freeswitch
to answer
the questions
- is the server alive
- does he process sip messages (invites, registrations)
and so on
the monitoring should work via cron local and remote (with esl for
example)
a simple "fs_cli -x 'version'" wouldn't work - it's too simple, am i
right?
any ideas would be helpful
br
--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP
xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria
T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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 |
|
Back to top |
|
|
woof at iwoof.org Guest
|
Posted: Mon Oct 19, 2009 11:37 am Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
Woof!
On Mon, 19 Oct 2009 12:07:10 -0400, Christian Löschenkohl
<christian.loeschenkohl@xpirio.com> wrote:
Quote: | any ideas would be helpful
|
We run a perl script that checks if the servers are responding to
requests. It can send OPTIONS, and PING requests to various servers
periodically. If the response it gets back isn't correct, it can send
e-mail. It'll keep testing and send an e-mail again when the system is
working again. It's defaults setup for testing sipXecs servers, but it's
easy enough to set the various command line arguments to point it at
FreeSWITCH directly.
Code here.
http://code.sipfoundry.org/browse/~raw,r=14874/sipXecs/main/sipXtools/src/sipx-servtest.in
--Woof!
_______________________________________________
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 |
|
|
msc at freeswitch.org Guest
|
Posted: Mon Oct 19, 2009 11:48 am Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
2009/10/19 Christian Löschenkohl <christian.loeschenkohl@xpirio.com (christian.loeschenkohl@xpirio.com)>
Quote: | hello
we have the problem here that our freeswitch server "freezes" from time
to time (no sip traffic is possible any more).
|
Monitoring is definitely important, but I'm sure the FS devs would like to know more about what happens when FS "freezes" - is it FS or some other process that is messing things up? If there's an issue with FS then the developers would like to know more.
-MC |
|
Back to top |
|
|
chris at cloudtel.com Guest
|
Posted: Mon Oct 19, 2009 12:48 pm Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
There's a check_sip plugin for nagios if you're into that sorta thing
On October 19, 2009 12:39:53 pm Michael Collins wrote:
Quote: | 2009/10/19 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>
Quote: | hello
we have the problem here that our freeswitch server "freezes" from time
to time (no sip traffic is possible any more).
|
Monitoring is definitely important, but I'm sure the FS devs would like to
know more about what happens when FS "freezes" - is it FS or some other
process that is messing things up? If there's an issue with FS then the
developers would like to know more.
-MC
|
_______________________________________________
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 |
|
|
christian.loeschenkohl... Guest
|
Posted: Mon Oct 19, 2009 1:23 pm Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
i know, we tried to to get closer to this with anthony (see thread "stability problems",
started on 03.09.2009).
the old issue described a server that used more profiles (8-10) and some event socket scripts.
we came to the conclusion that it could be a race condition when using multiple profiles.
now on the server we need monitor we use only internal functions and conditions
- no external scripts
- no database
- only on profile
- only freeswitch stock functions
the symptoms are the same
- no more progress displays on the fs_cli console (debug level info)
- invites are answered with trying, but no more communication after this
- customers said that option requests are answered (they could not switch to fallback
because this worked)
we did use the trunk version and have now updated to 15162, but i don't think our problem is
solved with any update so far.
br
On 2009-10-19 18:39, Michael Collins wrote:
Quote: |
2009/10/19 Christian Löschenkohl <christian.loeschenkohl@xpirio.com
<mailto:christian.loeschenkohl@xpirio.com>>
hello
we have the problem here that our freeswitch server "freezes" from time
to time (no sip traffic is possible any more).
Monitoring is definitely important, but I'm sure the FS devs would like
to know more about what happens when FS "freezes" - is it FS or some
other process that is messing things up? If there's an issue with FS
then the developers would like to know more.
-MC
------------------------------------------------------------------------
_______________________________________________
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
|
--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP
xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria
T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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 |
|
Back to top |
|
|
christian.loeschenkohl... Guest
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Oct 19, 2009 1:41 pm Post subject: [Freeswitch-users] check to see if freeswitch is alive |
|
|
do you have a jira ticket open for this?
The mailing list is not a good place to ask for bugs to be fixed because I can't possibly scour them for responses.
If you can update to latest trunk and still reproduce this problem:
make sure gdb and gcore is installed on your box
from the FS build root enter
./support-d/fscore_pb gcore
and submit the url it generates to me
2009/10/19 Christian Löschenkohl <christian.loeschenkohl@xpirio.com (christian.loeschenkohl@xpirio.com)>
Quote: | i know, we tried to to get closer to this with anthony (see thread "stability problems",
started on 03.09.2009).
the old issue described a server that used more profiles (8-10) and some event socket scripts.
we came to the conclusion that it could be a race condition when using multiple profiles.
now on the server we need monitor we use only internal functions and conditions
- no external scripts
- no database
- only on profile
- only freeswitch stock functions
the symptoms are the same
- no more progress displays on the fs_cli console (debug level info)
- invites are answered with trying, but no more communication after this
- customers said that option requests are answered (they could not switch to fallback
because this worked)
we did use the trunk version and have now updated to 15162, but i don't think our problem is
solved with any update so far.
br
On 2009-10-19 18:39, Michael Collins wrote:
Quote: |
hello
we have the problem here that our freeswitch server "freezes" from time
to time (no sip traffic is possible any more).
Monitoring is definitely important, but I'm sure the FS devs would like
to know more about what happens when FS "freezes" - is it FS or some
other process that is messing things up? If there's an issue with FS
then the developers would like to know more.
-MC
|
Quote: | ------------------------------------------------------------------------
|
--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP
xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria
T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.com (christian.loeschenkohl@xpirio.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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
|
|
|
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
|