[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Monitoring syslog and other log files
Logger requires the facility and level indicators, eg: logger -p
local0.info ...
Allan.Marillier (at) dana.com wrote:
Somebody please point me at some docs on setting filters for syslog and
other log file monitoring, or give me some starting point. I've checked
the archive, browsed through the installation and config pages, looked
through man pages, and I'm just not seeing it.
I have the standard configs on my clients, with clientlaunch.cfg and
hobbitclient.cfg. I tried sending a few test messages to syslog using
logger -p ERR test and logger -p ERROR test, but get nothing reported.
hobbitclient.cfg has the default setup with the following. This is not
the same as processes, disk etc. is it, where the client config is no
longer used, but is set on the hobbit server?
# For the msgs check
DOMSGS="TRUE"
NOMSGSCOLOR="clear"
BBMSGSTAB="$BBHOME/etc/bb-msgstab"
CHKMSGLEN="TRUE"
IGNMSGS=""
MSGEXPIRE="30:60"
MSGFILE="/var/log/messages"
MSGS="NOTICE WARNING"
PAGEMSG="NOTICE"
REDMSGSLINES="20"
YELLOWMSGSLINES="10"
Thanks.
--
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (414)491-6001
Ans Service: (360)715-2467
rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006