SPUG: /var/log/messages
Mikel Tidwell
dragon at dreamhaven.net
Thu May 30 16:59:43 CDT 2002
Hello,
I have a project where I want to write to /var/log/messages. From what
I've read, this is not a recommended approach, but we already have software
monitoring messages for critical messages, and I'd like to use this system
already in place to flag a critical failure (not not normally logged).
The example I have is when the mysql watching script finds the service hung
(on a remote machine), it would write an error to /var/log/messages, and
then someone would get paged about the message. This made more sense to me
than duplicating the process already in place.
So, how would all the gurus here recommend dealing with /var/log/messages?
Do I treat it like a typical file, use a call to syslog somehow, or is this
just a bad idea all together? Thanks for your continued help. :>
_ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _
-- Mikel Tidwell President: RPGamer -- http://www.rpgamer.com/
MSNM: FireMyst Personal Home Page -- http://dragon.rpgamer.com/
- _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list