[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LOG checks
- To: hobbit (at) hswn.dk
- Subject: LOG checks
- From: Christian Rehberger <c.rehberger (at) oclcpica.org>
- Date: Thu, 28 Sep 2006 12:25:25 +0200
- Organization: OCLC PICA GmbH
- User-agent: KMail/1.8
Hello all,
I want to check some log files like "var/spool/messages" and I can see
the entries off the file on the webpage, but I cannot test something
to change the color of the side.
In my test case I want to change the color to red when the string
syslogd appears in the /var/log/messages.
I do a kill -HUP on the syslogd to generate the needed entry.
After the kill command I can see the syslogd entry in the message file
on the webside, but nothing happens with the color :-(
On the server machine hobbit is running with the following
configuration. On the client machine 'galway' I did no changes.
client-local.cfg:
[galway]
log:/var/log/messages:10240
ignore MARK
file:/home/sisis/hugo
hobbit-clients.cfg:
HOST=galway
# These are the values for galway.Sisis.de
DISK / 95 98
PORT "LOCAL=%([.:]5000)$" state=LISTEN TEXT=ASE TRACK=ase
PORT "LOCAL=%([.:]3025)$" state=LISTEN color=yellow
TEXT=OPserver TRACK=opserver
PORT "LOCAL=%([.:]3045)$" state=LISTEN color=yellow
TEXT=CATserver TRACK=catserver
PORT "LOCAL=%([.:]8077)$" state=LISTEN color=yellow
TEXT=AVserver TRACK=avserver
PROC /usr/local/apache2/bin/httpd 5 20 TEXT=HTTP-ContentDM
PROC /usr/local/sisis-pap/apache/bin/httpd 5 20
TEXT=HTTP-sisis-pap
FILE /home/sisis/hugo MODE=444 yellow
LOG /var/log/messages syslogd color=red
Any ideas what is wrong?
Thanks
Chris
--
Dipl. Ing. (FH) Christian Rehberger
System Consultant · OCLC PICA GmbH
Grünwalder Weg 28g · 82041 Oberhaching · Germany
t +49-(0)89-61308 333 · f +49-(0)89-61308 399
e c.rehberger (at) oclcpica.org · w http://www.oclcpica.org