[hobbit] how to trigger in column "msgs" ???

Stef Coene stef.coene at docum.org
Tue Jun 23 09:18:15 CEST 2009


On Tuesday 23 June 2009, Cayo de Moraes wrote:
> Hi guys,
>
> im trying to do an easy thing but its not working. I've been looking in the
> client-local.cfg manual but it doesnt helped a lot.
>
> What i want to do is:
> -monitor a logfile (like as usual by the column msgs) which is usualy
> empty. -trigger the status as soon as the logfile get a line --> then it
> should become red!!!
>
> What i tried to do:
> -put some lines like: "trigger allert", "* COLOR=red" etc... in the
> client-local.cfg --> didnt work
>
> ps: I'm trying to do this in the Hobbit-Server... should i change the
> config in the client also?
>
> does somebody know how i can configure this?
Yes.
First make sure the client is sending the content of the file so you have 
something under the files check.  This can be configured in client-local.cfg 
(see the manpage for the correct syntax).  You can also check the tmp 
directory on the client.  There should be some files with the relevant lines 
from client-local.cfg.  It will also take some time (10 minutes) before the 
client picks up the changed config and start sending lines.

Next step is in hobbit-clients.cfg where you can configure what will be 
triggering a red or yellow error.

So, first make sure the client is sending lines from the logfile and then 
confgure what will trigger red/yellow.


Stef



More information about the Xymon mailing list