[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] how to trigger in column "msgs" ???
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] how to trigger in column "msgs" ???
- From: Cayo de Moraes <camorae (at) googlemail.com>
- Date: Tue, 23 Jun 2009 09:33:43 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Q/cOh4rLvggu1pLOktYsHq0LONUM7vUV+nqBodfP6VU=; b=q4pUcHuW3G98mMybmKBc33Qkrh+J/v3wzSGACVSOtv2Hf/FiDyBkngrjl5UnuBr41t Qn/NoqklYdH4ViO98MX51g+BYCGA9fPRtTsay5TYAbAUSsd+BfEEUyhoNoeidCv5MIn9 h7C2zTOofnQrKBYAHt+UdXRAvPe4McN33wzP4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cvZOdLzIvxvbJkvy+AIIDigVWAsJKkgbY9qUsBbVPTF1opklOuYEliz867N6R4WRI6 gEbRwI4z+wPhLtWDm729Ad6DiUcyMkyrEjQ9H5nIrBxcyxrRWa5kFQTlGe4TgQ2nh8l4 8g0QdAcFqrYJA1IZmNi6qu+pvov4lvKdtmHDg=
- References: <3d9395ed0906222306x84322b2x28fb7ccc9b907870 (at) mail.gmail.com> <200906230918.16094.stef.coene (at) docum.org>
Thank you for the fast answer Stef!
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.
now the only thing that i want to do is:
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.
i also tried to write something in this logfile and then trigger some words
(to become red) but it didnt work...
TIA
2009/6/23 Stef Coene <stef.coene (at) docum.org>
> 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
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>