Henry J. Cobb
2007-Jul-16 14:31 UTC
[asterisk-users] Crontab script to check health of Asterisk server?
Has anybody created a crontab script to check the health of an Asterisk server? The part I'm struggling with is some sort of IAX "ping" to test the connection to each provider without making a call. -HJC
Gordon Henderson
2007-Jul-16 14:47 UTC
[asterisk-users] Crontab script to check health of Asterisk server?
On Mon, 16 Jul 2007, Henry J. Cobb wrote:> Has anybody created a crontab script to check the health of an Asterisk > server? > > The part I'm struggling with is some sort of IAX "ping" to test the > connection to each provider without making a call.http://www.voip-info.org/wiki/view/Asterisk+monitoring Gordon
Jared Smith
2007-Jul-16 15:23 UTC
[asterisk-users] Crontab script to check health of Asterisk server?
On Mon, 2007-07-16 at 09:31 -0500, Henry J. Cobb wrote:> Has anybody created a crontab script to check the health of an Asterisk > server? > > The part I'm struggling with is some sort of IAX "ping" to test the > connection to each provider without making a call.The VoIP wiki has a page[1] dedicated to Asterisk monitoring, including links to a couple of Perl scripts that will do an IAX "POKE" to see if the provider is responding, and allow you to measure the latency as well. I've also heard that one of the Asterisk developers is working on a command-line tool (probably in compiled C) to do similar things as well. You might also want to check the iaxclient community and see if they have anything written that could help you. [1] http://voip-info.org/wiki/view/Asterisk+monitoring -- Jared Smith Community Relations Manager Digium, Inc.
Dovid B
2007-Jul-16 20:11 UTC
[asterisk-users] Crontab script to check health of Asterisk server?
Define health. I was working on but gave up on it (no time) to have serverA call serverB. ServerB has an agi that it runs that stores info in DB. if serverB doesn't get a call then we know that there are issues (and run the script vice versa). ----- Original Message ----- From: "Henry J. Cobb" <hcobb at io.com> To: <asterisk-users at lists.digium.com> Sent: Monday, July 16, 2007 5:31 PM Subject: [asterisk-users] Crontab script to check health of Asterisk server?> Has anybody created a crontab script to check the health of an Asterisk > server? > > The part I'm struggling with is some sort of IAX "ping" to test the > connection to each provider without making a call. > > -HJC > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >