On Wed, 2005-11-02 at 11:41 +0100, Rob Verduijn wrote:
> I've tried adjusting my /etc/bigsister/syslog.cfg file, but I still get
> alerts.
> I've tried several combinations and still no result.
> Could anyone tell me what I'm doing wrong?
I'll try:
> #### these are the lines if I'm not mistaken
> I/O error(.*) red 20 I/O error $1 disk
> I/O error, dev fd0, sector 0 clear 0 I/O error, dev fd0, sector 0
> disk
> #### end of the lines
I would do this like that:
I/O error, dev fd0, sector 0 green 0 floppy I/O error
I/O error(.*) red 20 I/O error $1 disk
the syslog monitor stops processing at the first matching rule, this
means that in your configuration the 2nd "I/O error ..." is never
applied since the first line always applies when the 2nd would apply ...
Also, clear does not mean "clear" color ("clear" color has been
introduced a few years after the syslog monitor ...), but it means
to remove a message before its timeout was reached. In order to work,
the text of a "clear" (rightmost argument) line must exactly match the
text of the message to be cleared.
Best regards,
Tom
----------------------------------------------------------------------------
Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, Tel: (+41)264180040
Internet: suppressed PGP public key available
----------------------------------------------------------------------------
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.