Thank you for the fast answer Stef!<br><br>im geting the lines from my logfile and i can see them in hobbit. So far its working. But somehow they can not be triggered.<br><br>now the only thing that i want to do is:<br>msgs column should get red, when this logfile get a line (the content doesnt matter). Thats why i think that the trigger would not be a really good idea, because i would have to trigger a status for every type of entries in this log.<br>
<br>i also tried to write something in this logfile and then trigger some words (to become red) but it didnt work...<br><br>TIA<br><br><div class="gmail_quote">2009/6/23 Stef Coene <span dir="ltr"><<a href="mailto:stef.coene@docum.org">stef.coene@docum.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Tuesday 23 June 2009, Cayo de Moraes wrote:<br>
> Hi guys,<br>
><br>
> im trying to do an easy thing but its not working. I've been looking in the<br>
> client-local.cfg manual but it doesnt helped a lot.<br>
><br>
> What i want to do is:<br>
> -monitor a logfile (like as usual by the column msgs) which is usualy<br>
> empty. -trigger the status as soon as the logfile get a line --> then it<br>
> should become red!!!<br>
><br>
> What i tried to do:<br>
> -put some lines like: "trigger allert", "* COLOR=red" etc... in the<br>
> client-local.cfg --> didnt work<br>
><br>
> ps: I'm trying to do this in the Hobbit-Server... should i change the<br>
> config in the client also?<br>
><br>
> does somebody know how i can configure this?<br>
</div></div>Yes.<br>
First make sure the client is sending the content of the file so you have<br>
something under the files check.  This can be configured in client-local.cfg<br>
(see the manpage for the correct syntax).  You can also check the tmp<br>
directory on the client.  There should be some files with the relevant lines<br>
from client-local.cfg.  It will also take some time (10 minutes) before the<br>
client picks up the changed config and start sending lines.<br>
<br>
Next step is in hobbit-clients.cfg where you can configure what will be<br>
triggering a red or yellow error.<br>
<br>
So, first make sure the client is sending lines from the logfile and then<br>
confgure what will trigger red/yellow.<br>
<br>
<br>
Stef<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</blockquote></div><br>