[omd-commits] OMD Git: omd: Check_MK: make host check command take arguments
git version control
git at mathias-kettner.de
Thu May 12 10:02:41 CEST 2011
Module: omd
Branch: master
Commit: 69a8922669a1656e5cbd92afc5d7a7a340b31076
URL: http://omdistro.org/projects/omd/repository/revisions/69a8922669a1656e5cbd92afc5d7a7a340b31076
Author: Mathias Kettner <mk at mathias-kettner.de>
Date: Thu May 12 10:01:24 2011 +0200
Commiter: Mathias Kettner <mk at mathias-kettner.de>
Date: Thu May 12 10:01:24 2011 +0200
Check_MK: make host check command take arguments
---
.../skel/etc/nagios/conf.d/check_mk_templates.cfg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/check_mk/skel/etc/nagios/conf.d/check_mk_templates.cfg b/packages/check_mk/skel/etc/nagios/conf.d/check_mk_templates.cfg
index 5d75749..d72738a 100644
--- a/packages/check_mk/skel/etc/nagios/conf.d/check_mk_templates.cfg
+++ b/packages/check_mk/skel/etc/nagios/conf.d/check_mk_templates.cfg
@@ -282,13 +282,13 @@ define command {
define command {
command_name check-mk-ping
- command_line ###ROOT###/lib/nagios/plugins/check_icmp $HOSTADDRESS$
+ command_line ###ROOT###/lib/nagios/plugins/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 ###ROOT###/lib/nagios/plugins/check_icmp -m 1 $_HOSTNODEIPS$
+ command_line ###ROOT###/lib/nagios/plugins/check_icmp -m 1 $ARG1$ $_HOSTNODEIPS$
}
# _____ _ _ _
More information about the omd-commits
mailing list