From 30de7d8023fbe24af93ca7a7e599abdcc47b7eee Mon Sep 17 00:00:00 2001 From: Peter Baumann Date: Wed, 4 Mar 2015 11:11:01 +0100 Subject: Use stable release of check_mk_agent (v1.2.6) HEAD Version is considered BETA, Stable Release is v1.2.6. See here: http://mathias-kettner.de/check_mk_download.html --- config/checkmk-agent/checkmk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/checkmk-agent') diff --git a/config/checkmk-agent/checkmk.inc b/config/checkmk-agent/checkmk.inc index 056a39eb..def0ae2d 100644 --- a/config/checkmk-agent/checkmk.inc +++ b/config/checkmk-agent/checkmk.inc @@ -39,7 +39,7 @@ define('ETC_RC_CONF','/etc/rc.conf.local'); function checkmk_install() { // Download latest check_mk version from head repo $checkmk_bin="/usr/local/bin/check_mk_agent"; - mwexec("fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=HEAD'"); + mwexec("fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=refs/heads/1.2.6'"); chmod($checkmk_bin,0755); sync_package_checkmk(); } @@ -69,7 +69,7 @@ function sync_package_checkmk() { $checkmk_bin="/usr/local/bin/check_mk_agent"; if (!file_exists($checkmk_bin) && $mk_config['checkmkenable']=="on"){ $error = "Check_mk-agent Binary file not found"; - log_error($error." You can manually download it using this cmd: fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=HEAD'"); + log_error($error." You can manually download it using this cmd: fetch -o {$checkmk_bin} 'http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob_plain;f=agents/check_mk_agent.freebsd;hb=refs/heads/1.2.6'"); file_notice("Check_mk-agent", $error, "checkmk save config", ""); return; } -- cgit v1.2.3