[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check_logs dont work



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" <mosimodo (at) gmail.com>
> To: hobbit (at) hswn.dk, flyzone (at) technologist.com
> 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 Account at www.mail.com