Xymon Mailing List Archive search

host-specific settings

5 messages in this thread

list Johan Booysen · Fri, 8 Aug 2008 11:33:37 +0100 ·
I'm new to hobbit monitor, and trying to set up host-specific settings
in hobbit-clients.cfg on the hobbit server.  At the moment I want to do
a simple test, so that default settings apply to all clients except for
server1 for which I want to use other disk space parameters:

 
In hobbit-clients.cfg I have:

 
DEFAULT

        # These are the built-in defaults.

        UP      1h

        LOAD    5.0 10.0

        DISK    * 90 95

        MEMPHYS 100 101

        MEMSWAP 50 80

        MEMACT  90 97

 
HOST=server1

 DISK    * 95 99

 
However, server1 still applies the default settings for DISK.  I've
reloaded the hobbit service so it rereads its config files, but after
about 30 minutes the changes still don't seem to have taken effect.

 
I've followed the instructions on the hobbit-config.html help page, but
think I may be missing something.

 
Any advice on this?

 
Thanks.
list Chris Ss-is Morris · Fri, 8 Aug 2008 11:46:31 +0100 ·
 
You need to put the server specific entry(ies) BEFORE the default settings.
quoted from Johan Booysen


From: Johan Booysen [mailto:user-6f017f1ad8a9@xymon.invalid] 
Sent: 08 August 2008 11:34
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] host-specific settings


I'm new to hobbit monitor, and trying to set up host-specific settings in
hobbit-clients.cfg on the hobbit server.  At the moment I want to do a
simple test, so that default settings apply to all clients except for
server1 for which I want to use other disk space parameters:

 
In hobbit-clients.cfg I have:

 
DEFAULT

        # These are the built-in defaults.

        UP      1h

        LOAD    5.0 10.0

        DISK    * 90 95

        MEMPHYS 100 101

        MEMSWAP 50 80

        MEMACT  90 97

 
HOST=server1

 DISK    * 95 99

 
However, server1 still applies the default settings for DISK.  I've reloaded
the hobbit service so it rereads its config files, but after about 30
minutes the changes still don't seem to have taken effect.

 
I've followed the instructions on the hobbit-config.html help page, but
think I may be missing something.

 
Any advice on this?

 
Thanks. 

 
**********************************************************************

This e-mail including any attachments is provided for general information purposes only and does not constitute advice except to the addressee if expressly stated in this email. For the avoidance of doubt the contents of this email and any attachments are subject to contract and are not intended to and will not constitute a legally binding contract or any part of a legally binding contract. 

The information contained in this email and any attachments is confidential.  It 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, distribution or copying of the message or associated attachments is strictly prohibited.

If you have received this e-mail in error, please notify user-36fa688b57c1@xymon.invalid and permanently delete the email and any attachments immediately from your system.  You should not retain, copy or use this email or any attachment for any purpose, nor disclose all or any part of the contents to any other person.  Thank you for your co-operation. 

Neither RWE IT UK Ltd nor any of the other companies in the RWE Group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses. 

RWE IT UK Ltd Registered office: Mistral, Westlea Campus, Chelmsford Road, Swindon, Wiltshire, SN5 7EZ. Registered in England and Wales: company number 6052966.

*******************************************
list Buchan Milne · Fri, 8 Aug 2008 12:47:33 +0200 ·
quoted from Johan Booysen
On Friday 08 August 2008 12:33:37 Johan Booysen wrote:
In hobbit-clients.cfg I have:


DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97

HOST=server1
 DISK    * 95 99

However, server1 still applies the default settings for DISK.  I've
reloaded the hobbit service so it rereads its config files, but after
about 30 minutes the changes still don't seem to have taken effect.
# grep ^# /etc/hobbit/hobbit-clients.cfg.rpmnew |tail -n2
# The special DEFAULT section can modify the built-in defaults - this must
# be placed at the end of the file.


Regards,
Buchan
list Ccs Unixbeheer · Fri, 8 Aug 2008 12:56:21 +0200 ·
From hobbit-clients.cfg.5.html

      The entire file is evaluated from the top to bottom, and the first
match found is used. So you should put the specific settings first, and the
generic ones last

Kind regards


                                                                                                                                                                                                                                                                                                         To                                        <user-ae9b8668bcde@xymon.invalid>                                                                                            cc      "Johan Booysen"                                                            <user-6f017f1ad8a9@xymon.invalid>                                     Subject                                        [hobbit] host-specific settings          2008-08-08 12:33 PM                                                                                                                                                                                                                  Please respond to                                                           user-ae9b8668bcde@xymon.invalid                                                                                                                                                                                                         
quoted from Chris Ss-is Morris


I’m new to hobbit monitor, and trying to set up host-specific settings in
hobbit-clients.cfg on the hobbit server.  At the moment I want to do a
simple test, so that default settings apply to all clients except for
server1 for which I want to use other disk space parameters:

In hobbit-clients.cfg I have:

DEFAULT
        # These are the built-in defaults.
        UP      1h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 50 80
        MEMACT  90 97

HOST=server1
 DISK    * 95 99

However, server1 still applies the default settings for DISK.  I’ve
reloaded the hobbit service so it rereads its config files, but after about
30 minutes the changes still don’t seem to have taken effect.

I’ve followed the instructions on the hobbit-config.html help page, but
think I may be missing something.

Any advice on this?

Thanks.
list Johan Booysen · Fri, 8 Aug 2008 12:05:40 +0100 ·
Thanks for the replies.  Next time I'll read through the WHOLE man page
before asking a  question!

 
J
quoted from Chris Ss-is Morris

 
From: Morris, Chris (SS-IS) [mailto:user-d235f3ed1ca2@xymon.invalid] 
Sent: 08 August 2008 11:47
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] host-specific settings

 
You need to put the server specific entry(ies) BEFORE the default
settings.


From: Johan Booysen [mailto:user-6f017f1ad8a9@xymon.invalid] 
Sent: 08 August 2008 11:34
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] host-specific settings

I'm new to hobbit monitor, and trying to set up host-specific settings
in hobbit-clients.cfg on the hobbit server.  At the moment I want to do
a simple test, so that default settings apply to all clients except for
server1 for which I want to use other disk space parameters:

 
In hobbit-clients.cfg I have:

 
DEFAULT

        # These are the built-in defaults.

        UP      1h

        LOAD    5.0 10.0

        DISK    * 90 95

        MEMPHYS 100 101

        MEMSWAP 50 80

        MEMACT  90 97

 
HOST=server1

 DISK    * 95 99

 
However, server1 still applies the default settings for DISK.  I've
reloaded the hobbit service so it rereads its config files, but after
about 30 minutes the changes still don't seem to have taken effect.

 
I've followed the instructions on the hobbit-config.html help page, but
think I may be missing something.

 
Any advice on this?

 
Thanks. 

 
**********************************************************************

This e-mail including any attachments is provided for general
information purposes only and does not constitute advice except to the
addressee if expressly stated in this email. For the avoidance of doubt
the contents of this email and any attachments are subject to contract
and are not intended to and will not constitute a legally binding
contract or any part of a legally binding contract. 

 
The information contained in this email and any attachments is
confidential. It 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, distribution or copying of the message or associated
attachments is strictly prohibited.

 
If you have received this e-mail in error, please notify
user-36fa688b57c1@xymon.invalid and permanently delete the email and any
attachments immediately from your system. You should not retain, copy or
use this email or any attachment for any purpose, nor disclose all or
any part of the contents to any other person. Thank you for your
co-operation. 

 
Neither RWE IT UK Ltd nor any of the other companies in the RWE Group
from whom this e-mail originates accept any responsibility for losses or
damage as a result of any viruses and it is your responsibility to check
attachments (if any) for viruses. 

 
RWE IT UK Ltd Registered office: Mistral, Westlea Campus, Chelmsford
Road, Swindon, Wiltshire, SN5 7EZ. Registered in England and Wales:
company number 6052966.

 
*******************************************