Module: check_mk
Branch: master
Commit: 8c99482c13e2294fa16028653a95fc4f16048592
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8c99482c13e229…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu May 12 10:00:24 2011 +0200
check_mk_templates.cfg: make check-mk-ping take arguments
---
ChangeLog | 1 +
doc/check_mk_templates.cfg | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4776800..7dcffd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
* new option --debug: creates execution profile of check_mk itself
* sped up use of stored snmp walks
* find configuration file in subdirectories of conf.d also
+ * check_mk_templates.cfg: make check-mk-ping take arguments
Multisite:
* FIX: Display limit-exceeded message also in multi site setups
diff --git a/doc/check_mk_templates.cfg b/doc/check_mk_templates.cfg
index 2519fd6..803b4cb 100644
--- a/doc/check_mk_templates.cfg
+++ b/doc/check_mk_templates.cfg
@@ -282,13 +282,13 @@ define command {
define command {
command_name check-mk-ping
- command_line @CHECK_ICMP@ $HOSTADDRESS$
+ command_line @CHECK_ICMP@ $ARG1$ $HOSTADDRESS$
}
# Check for clusters: it is UP if at least one node is up
define command {
command_name check-mk-ping-cluster
- command_line @CHECK_ICMP@ -m 1 $_HOSTNODEIPS$
+ command_line @CHECK_ICMP@ -m 1 $ARG1$ $_HOSTNODEIPS$
}
# _____ _ _ _