[hobbit] msgs

Morris, Chris (Shared Services) CHRIS.MORRIS at RWEnpower.com
Mon Jun 26 15:29:18 CEST 2006


If you want to watch the /var/log/bull/bull.log file only on cc-1, then put
an entry in client-local.cfg for cc-1 like :

[cc-1]
log:/var/log/messages:10240
log:/var/log/bull/bull.log:10240
file:/var/log/messages:md5

as the text in client-local.cfg says :" When clients contact the Hobbit
server, they get the section from this file which matches their hostname or
operating system."

Regards,

Chris
 

> -----Original Message-----
> From:	SigurĂ°ur Bjarnason [SMTP:lechef71 at gmail.com]
> Sent:	Monday, June 26, 2006 2:19 PM
> To:	hobbit at hswn.dk
> Subject:	[hobbit] msgs
> 
> Hi all
>  
> I have two clients monitoring files, in the client-local.cfg file I have
>  
> 
> [linux]
> log:/var/log/messages:10240
> log:/var/log/bull/bull.log:10240
> file:/var/log/messages:md5
>  
>  
>  
> in the hobbit-clients.cfg I have
>  
> #
> # CC
> #
> HOST=cc-1
>         UP      1h
>         LOAD    5.0 10.0
>         DISK    * 90 95
>         MEMPHYS 100 101
>         MEMSWAP 50 80
>         MEMACT  90 97
>         FILE /var/log/messages yellow SIZE>0 MTIME<600 TRACK 
>         FILE /var/log/bull/bull.log yellow SIZE>0 MTIME<600 TRACK
>         LOG %/var/log/messages %(I/O|read).error COLOR=red
>  
> #
> # Jabber
> #
> HOST=jabber-1
>         UP      1h
>         LOAD    5.0 10.0
>         DISK    * 90 95
>         MEMPHYS 100 101
>         MEMSWAP 50 80
>         MEMACT  90 97
>         FILE /var/log/messages yellow MODE=644 TRACK 
>         LOG %/var/log/messages %(I/O|read).error COLOR=red
>  
>  
> Everything is working fine for the cc-1 host, and the msgs tab shows
> everything ok.. ..however ! the msgs tab for jabber-1 complains that it
> cant find the bull.log..  but I am not monitoring that file for that host
> !?..  
>  
> So how do I make this host stop.. watching file that is not supposed to
> watch ?:.
>  
> Regards
> vvega


****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.

If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************




More information about the Xymon mailing list