override value of hobbit-clients.cfg
    Nicolas 
    nico at crysto.org
       
    Thu Jul 20 16:02:14 CEST 2006
    
    
  
Hi,
On the server side, in hobbit-clients.cfg, i ve this:
DEFAULT
        UP      1h
        LOAD    5.0 10.0
        DISK    * 90 95
        MEMPHYS 100 101
        MEMSWAP 60 80
        MEMACT  95 97
        PROC    %(/usr/sbin/cron|crond).* 1 5
The problem is that some hosts have more than 5 cron running.
So i declared before DEFAULT section, a specific host to override the
global PROC values:
For instance, the host is called "mrtg-wat":
HOST=mrtg-wat
        PROC    %(/usr/sbin/cron|crond).* 1 20
But it doesn't work, Hobbit takes the 2 values as 2 differents check.
 %(/usr/sbin/cron|crond).* (found 26, req. between 1 and 20)
 %(/usr/sbin/cron|crond).* (found 26, req. between 1 and 5)
Is there a way to change this behaviour in order to override the DEFAULT
value for PROC ?
Hobbit version: hobbit-4.1.2p1
Thanks
Nicolas
    
    
More information about the Xymon
mailing list