RHEL5 and xymon client monitoring log files

Smith, Cathy cathy.smith at pnl.gov
Tue Jul 27 16:45:59 CEST 2010


Folks

With your help, the RHEL5 server is now showing up in the hobbit display correctly.  This is the xymon client reporting to a hobbit server.  Now I have a question about monitoring log files.  I have included below, my localclient.cfg file.  I want to check /var/log/messages for anything with the word ERROR.  Hobbit displays a white smiley face in the msgs column with the message:
	The client did not report any logfile data

I'm running all processes as root, so there shouldn't be any permissions issues.  

Can you tell me what I've done wrong in the config file?

Thanks.


Cathy


---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory

Phone:  509.375.2687
Fax:        509.375.2330
Email:     cathy.smith at pnl.gov



-----Original Message-----
From: root [mailto:root at pnlelm1.pnl.gov] 
Sent: Tuesday, July 27, 2010 7:35 AM
To: Smith, Cathy
Subject: localclient.cfg

# localclient.cfg - configuration file for a LOCAL Hobbit client.
#
# By default, Hobbit clients send raw data to the Hobbit server,
# which in turn converts the data into status messages.
# In that case, THIS FILE IS NOT USED and you should IGNORE it.
#
# The special DEFAULT section can modify the built-in defaults - this must
# be placed at the end of the file.

HOST=foo.pnl.gov
	MEMSWAP 70 90
        PROC crond
        PROC http
        PROC sendmail
        PROC sshd
        PROC syslogd
	LOG /var/log/messages ERROR COLOR=red

DEFAULT
	# These are the built-in defaults.
	UP      1h
	LOAD    16.0 30.0
	DISK    * 95 99
	MEMPHYS 100 101
	MEMSWAP 50 80
	MEMACT  90 97



More information about the Xymon mailing list