Xymon Mailing List Archive search

check_logs dont work

4 messages in this thread

list Jose Erquicia · 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!
list Henrik Størner · Tue, 11 Nov 2008 11:18:08 +0000 (UTC) ·
quoted from Jose Erquicia
In <user-e3c0c56b4f0a@xymon.invalid> "jose erquicia" <user-69aeb1ef0954@xymon.invalid> writes:
Hi im trying to monitor logs with the check log (logs at hobbit web page)

but it doesn=B4t work.
quoted from Jose Erquicia
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)
Just to be clear - the "check_log" extension is not part of
Hobbit. I don't even know where you got it from, much less
how it works ...


Regards,
Henrik
list Jose Erquicia · Tue, 11 Nov 2008 12:35:56 +0100 ·
HI!
i got it from deadcat , there are extensions  for b , i tought there
was compatible with hobbit.
seems that extension was tested for linux 2.6 .x .
Some idea?
thanks

2008/11/11 Henrik Størner <user-ce4a2c883f75@xymon.invalid>:
quoted from Jose Erquicia
In <user-e3c0c56b4f0a@xymon.invalid> "jose erquicia" <user-69aeb1ef0954@xymon.invalid> writes:
Hi im trying to monitor logs with the check log (logs at hobbit web page)
but it doesn=B4t 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)
Just to be clear - the "check_log" extension is not part of
Hobbit. I don't even know where you got it from, much less
how it works ...


Regards,
Henrik

list Flyzone Micky · Tue, 11 Nov 2008 12:27:48 -0500 ·
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
quoted from Jose Erquicia
----- 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