help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syslogging alerts?


From: mark
Subject: Re: Syslogging alerts?
Date: Wed, 14 May 2003 19:15:25 +0200 (MEST)

Perhaps an alert function that sends directly to syslog could
be added. Other types of alerts could be generated too, e.g.
SNMP traps.

M

On 14 May, Chip Seraphine wrote:
> 
> I have a kludgey alert system in place-- I define a class ("complain"), 
> which causes a shellscript to kick off that analyzes $CFALLCLASSES and 
> generates appropriate notifications (turning on lights in NMS, sending 
> out emails/pages, etc).  This works fine, but seems like it should not 
> be neccessary given that cfengine supports an "alerts:'"section. 
>  Unfortunately, I haven't seen a good way to get an alert to go to 
> syslog instead of stdout-- just ugly hacks like redirecting cfengine 
> output.  The syslog() option in control: seems to be ignored by 
> alerts...  Am I missing something?
> 
> If not, then maybe we could put that down as a feature request-- an 
> option that can be added to alerts that would allow you to send alert 
> messages to syslog (at a specific priority) so that my network 
> monitoring system can handle it.  Or, at the least, send a copy of the 
> alert to syslog if Syslog( on ) is set....
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]