Module: check_mk
Branch: master
Commit: 143343aaf7761bcf2611f98f8584780a000765b6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=143343aaf7761b…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Thu Mar 31 08:58:06 2016 +0200
3108 network interface and switch port discovery rules can now be combined to dicover
multiple sets of interfaces
Previously, multiple rules "network interface and switch port discovery" were
merged and thus their
parameters overwritten or combined.
I.E. if one rule had "Match interface alias (regex)" and the other "Match
interface description
(regex)" both those conditions had to apply for the interface to be discovered.
This has been changed so that only one of the supplied rules has to match for an interface
to be
discovered and the visual parameters (i.e. "Pad port numbers with zeroes") of
only that (first)
matching rule will apply.
This is an incompatible change in that if you have multiple rules apply for the same host
already,
re-discovery may now produce different items. Without re-discovery, nothing will change.
---
.werks/3108 | 19 +++
ChangeLog | 2 +
checks/if.include | 258 ++++++++++++++++++----------------
web/plugins/wato/check_parameters.py | 2 +-
4 files changed, 156 insertions(+), 125 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=143343aaf7…