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

check_logs dont work



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!