Hostbased override values hobbit-clients.cfg
Hi there,
I've got one problem with the hobbit-clients.cfg
At the top of this file, defaults are defined:
DEFAULT LOAD 3.0 7.0 DISK * 86 92 [... and others ...]
Below there are single hosts defined (mostly PROC checking), the defaults for LOAD and DISK were fine for all monitored Hosts over the last years(!! ;) ), but now, I want to monitor bigger storage spaces, where a notify level of 86% means 5 or so TB free, which is much too early ... , so I've added the following:
HOST=thisbiggerstorage.fqdn.tld DISK /data 95 98
But, this value is never used, the /data Mountpoints warnlevel stays at 86%
For other Hosts, I've tried the very same with the LOAD keyword, because these hosts utilize a lot of cores and can go upto 16 without any problem. But the very same: the new value is never getting uses. 3.0 / 7.0 from the DEFAULT section stays...
Restarting the hobbit server processes don't show up any effect.
Could someone please shed some light on what am I doing wrong?
Thanks! Stephan
Mit freundlichen Gruessen
-- Stephan Seitz Senior System Administrator
netz-haut GmbH multimediale kommunikation
Zweierweg 22 97074 Würzburg
Telefon: 0931 2876247 Telefax: 0931 2876248
Web: www.netz-haut.de Amtsgericht Würzburg - HRB 10764 Geschäftsführer: Michael Daut, Kai Neugebauer
In <6B73AB901767CA49B818C7A071E03FAC4C1F5E at exchange.nh.local> "netz-haut - stephan seitz" <s.seitz at netz-haut.de> writes:
I've got one problem with the hobbit-clients.cfg
At the top of this file, defaults are defined:
DEFAULT LOAD 3.0 7.0 DISK * 86 92 [... and others ...]
Below there are single hosts defined (mostly PROC checking)
That's wrong. DEFAULT settings MUST go last, anything else should be placed above it.
It even says so in the file:
The special DEFAULT section can modify the built-in defaults - this must
be placed at the end of the file.
Regards, Henrik
On Mon, Feb 14, 2011 at 6:55 AM, netz-haut - stephan seitz < s.seitz at netz-haut.de> wrote:
Hi there,
I've got one problem with the hobbit-clients.cfg
At the top of this file, defaults are defined:
DEFAULT LOAD 3.0 7.0 DISK * 86 92 [... and others ...]
Below there are single hosts defined (mostly PROC checking), the defaults for LOAD and DISK were fine for all monitored Hosts over the last years(!! ;) ), but now, I want to monitor bigger storage spaces, where a notify level of 86% means 5 or so TB free, which is much too early ... , so I've added the following:
HOST=thisbiggerstorage.fqdn.tld DISK /data 95 98
But, this value is never used, the /data Mountpoints warnlevel stays at 86%
For other Hosts, I've tried the very same with the LOAD keyword, because these hosts utilize a lot of cores and can go upto 16 without any problem. But the very same: the new value is never getting uses. 3.0 / 7.0 from the DEFAULT section stays...
Restarting the hobbit server processes don't show up any effect.
Could someone please shed some light on what am I doing wrong?
Man page for hobbit-clients.cfg says:
"The entire file is evaluated from the top to the bottom, and the first match found is used. So you should put specific settings first, and the generic ones last."
Just move the default (i.e. "generic") setting to the bottom of the file and you should be all good.
Ralph Mitchell
participants (3)
-
henrik@hswn.dk
-
ralphmitchell@gmail.com
-
s.seitz@netz-haut.de