Xymon Mailing List Archive search

check_logs dont work

list Flyzone Micky
Tue, 11 Nov 2008 12:27:48 -0500
Message-Id: <user-b2e996196229@xymon.invalid>

Just miss the temp directory
Log in as hobbit and create the $BBHOME/tmp/checkmsg folder,
is the folder "checkmsg" under the tmp of hobbit with mkdir command.
Sorry to didn't yet implement a auto-creation in the script.
Remember also that some distribution don't let the users read
the /var/log/messages and maybe you'll need to give read permission
on the file.

Bye
----- Original Message -----
From: "jose erquicia" <user-69aeb1ef0954@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid, user-4df7b21ff8e1@xymon.invalid
Subject: check_logs dont work
Date: Tue, 11 Nov 2008 11:59:55 +0100


Hi im trying to monitor logs with the check log (logs at hobbit web page)
but it doesn´t work.
my machine i sa debian.
the logs  show this errors.

  File "/home/hobbit/client/ext/check_log/msg_check.py", line 78, in ?
     os.makedir(TMPDIR)
AttributeError: 'module' object has no attribute 'makedir'
Traceback (most recent call last):
   File "/home/hobbit/client/ext/check_log/msg_check.py", line 78, in ?
     os.makedir(TMPDIR)
AttributeError: 'module' object has no attribute 'makedir'
ERROR reading the file /var/log/messages
ERROR reading the file /home/hobbit/tmp/prova.txt
Traceback (most recent call last):
   File "/home/hobbit/client/ext/check_log/msg_check.py", line 100, in ?
     rules = word[1]
IndexError: list index out of range

It seems like i have to modify so much this monitor.
theres some thing  wrong with it?
maybe a it was a configuratiopn problem?
some other documentation about it?
thanks!
-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free user-9cccf6680cef@xymon.invalid