[asterisk-users] How to monitor Asterisk logs ?

Kristian Kielhofner kkielhofner at star2star.com
Wed Jul 16 16:10:41 CDT 2008


On 7/15/08, Olivier <oza-4h07 at myamail.com> wrote:
> Hi,
>
> How can I be notified anytime a given warning message appears in Asterisk
> logs ?
>
> I've got a running system that produces "cause 34" warnings ("Unable to
> create channel of type 'Zap' (cause 34 - Circuit/channel congestion)") once
> or twice a week.
>  I would like to like to be notified (by email, phone, ...) anytime such
> warning message occurs in log file.
>
> I was thinking of using logwatch but wondered if anything better exists.
> Any advice ?
>
> Regards
>

syslog-ng with the proper config file and Asterisk configuration
should do the trick:

http://www.syslog.org/wiki/Syslog-ng/Syslog-ngWiki

-- 
Kristian Kielhofner
http://blog.krisk.org



More information about the asterisk-users mailing list