Changes between Version 10 and Version 11 of OMDconfiguration

Show
Ignore:
Timestamp:
10/04/11 11:36:49 (7 years ago)
Author:
jonmills (IP: 152.54.8.104)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OMDconfiguration

    v10 v11  
    146146== ignore.mk == 
    147147 
    148 Sometimes you want Check_MK to ignore certain services when it inventories a host.  There are 3 levels of ignoring things. 
     148Sometimes you want Check_MK to ignore certain services when it inventories a host.  There are 3 levels of ignoring things: 
    149149 
     150=== ignored_checktypes === 
     151* Allows you to ignore an entire type of check for all hosts across the board.  It's as if Check_MK no longer knows what that checktype is. 
     152* For example, this tells Check_MK to never check for NFS mounts: 
    150153{{{ 
    151154ignored_checktypes += [ 
    152         "cups_queues", 
    153         "ipmi", 
    154         "mounts", 
    155         "netif.link", 
    156         "netif.params", 
    157         "ntp", 
     155        "nfsmounts", 
    158156] 
    159157}}} 
    160158 
     159=== ignored_checks === 
     160* Allows you to ignore a checktype on specific hosts (one, or all of them). 
     161* For example, this tells Check_MK to ignore all NFS mounts on one specific host. 
    161162{{{ 
    162163ignored_checks += [ 
     164( [ 'nfsmounts' ], [ "euca-m.unc.ben" ] ), 
    163165] 
    164166}}} 
    165167 
     168=== ignored_services === 
     169*Allows you to ignore a specific instance of a type of check on one or more hosts. 
     170* For example, this tells Check_MK to ignore only the NFS mount /home/*, only on hosts with the host tag "linux". (This would be good if, for example, you automount your home directories) 
    166171{{{ 
    167172ignored_services += [ 
     173( [ 'linux' ], ALL_HOSTS, [ 'NFS mount /home/*' ] ), 
    168174] 
    169175}}}