aboutsummaryrefslogtreecommitdiffstats
path: root/config/checkmk-agent
diff options
context:
space:
mode:
authorPeter Baumann <peter.baumann@infotrust.ch>2015-03-04 11:11:01 +0100
committerPeter Baumann <peter.baumann@infotrust.ch>2015-03-04 11:11:01 +0100
commit30de7d8023fbe24af93ca7a7e599abdcc47b7eee (patch)
tree62af133377521eb2abd78bac38086ed6e9ae76bc /config/checkmk-agent
parente7aca8a470e3ea13e018c99f7db4351c4119f082 (diff)
downloadpfsense-packages-30de7d8023fbe24af93ca7a7e599abdcc47b7eee.tar.gz
pfsense-packages-30de7d8023fbe24af93ca7a7e599abdcc47b7eee.tar.bz2
pfsense-packages-30de7d8023fbe24af93ca7a7e599abdcc47b7eee.zip
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
Diffstat (limited to 'config/checkmk-agent')
-rw-r--r--config/checkmk-agent/checkmk.inc4
1 files changed, 2 insertions, 2 deletions
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;
}