[asterisk-users] How to monitor Asterisk logs ?

Zach Segal zwsegal at gleim.com
Wed Jul 16 16:58:33 CDT 2008


Paul Chambers wrote:
> It's probably total overkill, but nagios is a very sophisticated system 
> monitoring tool. The learning curve is quite steep, but once there, 
> it'll be able to monitor just about anything of concern.
> 
> Paul

I have to second this while acknowledging the overkill caveat.  We've 
got a handful of Nagios checks watching our live Asterisk box: check 
that call reporting is sane and data is being imported regularly to a 
mysql db, monitor astmanproxy, monitor asterisk process itself, monitor 
voicemail backup system, monitor the fax printer, etc...  And that's on 
top of all the checks like disk space, load, and the rest of the run of 
the mill metrics you tend to monitor on any Linux server.

Most recently when we began to notice problems with our PRI it took all 
of 5m to whip up a differential log file monitor using one of the 
vanilla Nagios check scripts that would notify us whenever an alarm or 
checksum error was detected on the circuit.

The Nagios check scripts themselves are really simple and comprehensize 
and the architecture is flexible enough to allow you to write custom 
checks in whatever language you like.  It can be very helpful when 
you're trying to stay on top of a complex and diverse environment like a 
PBX.

-- 
Zach Segal
Network Operations
Gleim Internet



More information about the asterisk-users mailing list