Module: check_mk
Branch: master
Commit: fdbc7402d984355013f067b744f98d031326525e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fdbc7402d98435…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Sep 14 12:15:52 2015 +0200
#2595 Discovery check can now automatically add missing services and also activate
changes
You can now have the <i>Check_MK Discovery</i> check automatically repair
things by adding missing services or even removing vanished services. This is
activated by using the new rule set <i>Periodic Discovery Check</i> instead
of the previous (now deprecated) global option <i>Enable regular service
discovery checks</i>. In the new rule set you can activate and configure
this feature on a per-host base.
Also the discovery check can now warn about vanished services. The default
is that vanished services will not set the state to WARN, however, and just
display them. So unless you change the configuration the behaviour of the
discovery check has not changed.
<b>Note</b>: Automatically removing vanished services can be dangerous as
broken things like missing file systems or even switch ports that went down
will be removed from the monitoring! Only use in special situations where
this is no problem.
---
.werks/2595 | 24 ++
ChangeLog | 1 +
modules/automation.py | 116 +---------
modules/check_mk.py | 26 ++-
modules/check_mk_base.py | 13 +-
modules/config.py | 2 +
modules/discovery.py | 348 +++++++++++++++++++++++++---
web/htdocs/wato.py | 12 +-
web/plugins/wato/check_mk_configuration.py | 125 +++++++++-
9 files changed, 519 insertions(+), 148 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=fdbc7402d9…