[Asterisk-Users] Asterisk monitoring with Nagios and IAX
Jens Vagelpohl
jens at dataflake.org
Tue Jan 18 14:50:53 MST 2005
> an application available called iaxping with would send a set of well
> formed iax packets and wait for the response. Unfortunately that
> application was written in visual basic, and no source code was
> distributed. A skilled coder could probably use some of the required
> functions from iaxclient or libiax2 and create a similar function in C.
I've googled around and tried a few things. The ideal solution would
involve no library dependencies to make maintenance easier.
The specific problem I have is that I don't know what a IAX packet
contains which elicits a measurable response from Asterisk. I have
looked at the sources but it's very convoluted and the last time I
touched any C was 7 years ago...
So if there was a way to "synthesize" this IAX PING or POKE packet it
shouldn't be hard to just package that into a script that handles the
connection establishment, sends it, and listens for a response.
jens
---------------
Jens Vagelpohl jens at zetwork.com
Software Engineer +49-(0)441-36 18 14 38
Zetwork GmbH http://www.zetwork.com/
More information about the asterisk-users
mailing list