I'm trying to detect when a T1 goes to Yellow or Red alarm. I noticed
these events will be displayed on the CLI.
What I'd like to do is cause an email to be sent when from a script on
these events, but somehow I would need to
capture the CLI outputs to detect messages
Message are:
wct4xxp:
Have you looked to see if they're being logged to /var/log/asterisk/full ? That would be much easier to detect. --joeyOn 8/3/06, Bart Fisher
[EMAIL PROTECTED] wrote:I'm trying to detect when a T1 goes to Yellow or Red alarm.I noticed
these events will be displayed on the CLI.What I'd like to do
Oh, good idea - the messages do appear there - I'll check it out
Thanks
Joey McDonald wrote:
Have you looked to see if they're being logged to
/var/log/asterisk/full ? That would be much easier to detect.
--joey
On 8/3/06, *Bart Fisher* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Joey McDonald wrote:
Have you looked to see if they're being logged to
/var/log/asterisk/full ? That would be much easier to detect.
--joey
Hi Joey. What is /var/log/asterisk/full ? I've never heard of it, and don't
see it in my /var/log/asterisk/ .
Cheers,
-- Nick
e: [EMAIL
Check you logger.conf file, it will show types of messages going to full and full is probably commented out. Remove the ; and type logger reload from the CLI.On 8/3/06,
Nick Hoffman [EMAIL PROTECTED] wrote:
Joey McDonald wrote: Have you looked to see if they're being logged to
Bart Fisher wrote:
I'm trying to detect when a T1 goes to Yellow or Red alarm. I noticed
these events will be displayed on the CLI.
What I'd like to do is cause an email to be sent when from a script on
these events, but somehow I would need to
capture the CLI outputs to detect messages
Eric ManxPower Wieling wrote:
Bart Fisher wrote:
I'm trying to detect when a T1 goes to Yellow or Red alarm. I noticed
these events will be displayed on the CLI.
What I'd like to do is cause an email to be sent when from a script on
these events, but somehow I would need to
capture the CLI