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…
Module: check_mk
Branch: master
Commit: e5ce909d4d6ca4d4691bf98242352762f8e63b26
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5ce909d4d6ca4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 30 16:14:58 2016 +0200
setup.sh: Fixed possible encoding problem in defaults.py and fixed apache user write permissions on var dir
---
scripts/setup.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/setup.sh b/scripts/setup.sh
index b18dc17..74e94e8 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -468,6 +468,7 @@ create_defaults ()
{
cat <<EOF
+# encoding: utf-8
# This file has been created during setup of check_mk at $(date).
# Do not edit this file. Also do not try to override these settings
# in main.mk since some of them are hardcoded into several files
@@ -838,6 +839,8 @@ do
fi &&
mkdir -p $DESTDIR$confdir/conf.d &&
if [ -z "$DESTDIR" ] ; then
+ chgrp -R $wwwgroup $DESTDIR$vardir &&
+ chmod -R g+w $DESTDIR$vardir &&
chgrp -R $wwwgroup $DESTDIR$vardir/web &&
chmod -R g+w $DESTDIR$vardir/web &&
chgrp -R $wwwgroup $DESTDIR$vardir/log &&