[Asterisk-Users] Nagios/measurement with Asterisk - any plugins?
Florian Overkamp
florian at obsimref.com
Mon Dec 15 15:07:22 MST 2003
Hi,
Citeren John Todd <jtodd at loligo.com>:
> astping.tar (http://www.dynx.net/ASTERISK/misc-progs/ and also in the
> mailing list archives) supposedly sends a query to an Asterisk
> server, but I have been unable to get it to do anything other than
> reply with the IP address of the queried host (regardless of Asterisk
> status)
Actually I wrote that thing a long time ago as a quick hack to work
from 'mon'. Mon expects an exit code in the program to state wether or not
there was a problem and if there was a problem just output the problematic
hosts on stdout. It cannot tell you precisely what is wrong, because the only
thing it tries is to login to the manager interface and disconnect again. It
assumes that if the manager login works, asterisk is at least not crashed or
frozen :-)
At the time of writing it served my purpose, but it had some problems with
asterisk becoming unresponsive after a large number of manager logins/logouts.
I suppose this has been solved by now, but I stopped testing it heavily since
I had not had a large amount of requests for it...
--
Best regards,
Florian Overkamp
More information about the asterisk-users
mailing list