Module: check_mk
Branch: master
Commit: 8fdeb300a483bb5625a35f926cb8b2b109768e01
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8fdeb300a483bb…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Sep 21 16:19:04 2015 +0200
Updated bug entries #2378
---
.bugs/2378 | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/.bugs/2378 b/.bugs/2378
index dc7aae4..0644141 100644
--- a/.bugs/2378
+++ b/.bugs/2378
@@ -1,12 +1,11 @@
-Title: check_bi_aggr: $HOSTNAME$ in aggregation name does not work with CMC
+Title: check_bi_aggr: $HOSTNAME$ in aggregation name does not work correctly with CMC
Component: checks
State: open
Date: 2015-09-21 15:43:27
Targetversion: 1.2.6
Class: bug
-The reason seems to be, that $HOSTNAME$ is correctly be added
-to the command line arguments, but they are put into the commandlie
-as $ARG1$. The CMC does not recursively expand macros in $ARG1$, so
-$HOSTNAME$ keeps unexpanded. Recursive expansion is not a good idea,
-however! Maybe we need to redefine the API for active checks here...
+If you use $HOSTNAME$ as part of the aggregation name (just as the online help
+suggests), then the correct aggregation is being queried, but the service description
+contains <tt>HOSTNAME</tt> instead of the actual host name. So the expansion
+of <tt>$HOSTNAME</tt> in the service description does not work.