Hello,
a million of thanks. I tried it and It's working :-) but... we would like to show the date before WARNING which is within the same line in /var/log/messages. I tried with some patterns without success. Could you tell us anything about how to show the date too?
Thanks again. Best Regards and Happy New Year!
Javi
Javier Pomares Escudero
Advanced Services Engineer
> CS&NO
BT Spain
> * +3491270 6082
-----Mensaje original-----
De: Thomas Aeby [mailto:suppressed
Enviado el: miércoles, 27 de diciembre de 2006 15:17
Para: Pomares Escudero,J,Javier,JCEB R
CC: suppressed
Asunto: Re: [Bigsister-general] How to see the WARNING and NOTICE messagesin the Web?
On Tue, 2006-12-26 at 20:04 +0000, suppressed wrote:
> we want to see the WARNING and NOTICE messages that there're
> within /var/log/messages. When Big Sister detects these messages, only
> we can see the message "warning". We would like to see the whole
> message. How to make it?.
Have a look at the etc/syslog file: therein you'll find a pattern like
warning yellow 15 warning
If you change this to i.e.
warning(.*) yellow 15 warning $1
Then you'll get the text that is printed after the keyword "warning" in syslog reprinted in Big Sister.
Best regards,
Tom
--
----------------------------------------------------------------------------
Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, Tel: (+41)264180040
Internet: suppressed PGP public key available
----------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.