[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
check_logs dont work
- To: hobbit (at) hswn.dk, flyzone (at) technologist.com
- Subject: check_logs dont work
- From: "jose erquicia" <mosimodo (at) gmail.com>
- Date: Tue, 11 Nov 2008 11:59:55 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=HYBYGE6ryFafXJn7Cz/tdGo0Lcf3oz9WWaAmgTQhOWs=; b=H3rJgp0A0lo852iv1PDBMozw5o+2MHY+amm8cPX+i+/0NGaPlNoP+vjWM9lQraDD/R +I4Ir0T+juq9suh1P9b4PyZ3Kwn2gOJ5sOIiv62uwH5NMfSqKGpPQK0HT3by/iyFsaQZ F0hLR5NzdV8Dq79ca+3sVcMtU3GjHZ6f0Bw/Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=YeL1jArLytMtCqJR7ABVZDPidOJAJztDvbOa4smuiICInl/Y9tsWrQ9lfge6pEWi6b Kl30g1rJHVokVUqwSo+1dD58IpJqnsceokPsDwch1S39nEtm65nTm9poufnC8sFzPoEJ TQ2FwJ0KwoG84f41/BqTgqLHf1FTdkqXtcFNI=
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!