aboutsummaryrefslogtreecommitdiffstats
path: root/config/checkmk-agent
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-11-13 20:11:51 +0100
committerdoktornotor <notordoktor@gmail.com>2015-11-13 20:11:51 +0100
commit57b1c3e933a9b23b796c724a29241720be7e59f6 (patch)
treee6721ea77da35edce4d1d3280966c2dc5033c8c5 /config/checkmk-agent
parent8779dd64b67ec99731eb0b16def68c1622ae1f73 (diff)
downloadpfsense-packages-57b1c3e933a9b23b796c724a29241720be7e59f6.tar.gz
pfsense-packages-57b1c3e933a9b23b796c724a29241720be7e59f6.tar.bz2
pfsense-packages-57b1c3e933a9b23b796c724a29241720be7e59f6.zip
Add a file_notice() if leftover junk is found from previous package versions.
Diffstat (limited to 'config/checkmk-agent')
-rw-r--r--config/checkmk-agent/checkmk.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/checkmk-agent/checkmk.inc b/config/checkmk-agent/checkmk.inc
index d247e72a..1ab92400 100644
--- a/config/checkmk-agent/checkmk.inc
+++ b/config/checkmk-agent/checkmk.inc
@@ -73,6 +73,7 @@ function checkmk_decrapify() {
if ($i > 0) {
log_error("[check_mk-agent] Inconsistent configuration files; possibly caused by previous check_mk package versions.");
log_error("[check_mk-agent] Please, compare those against default distribution files at https://github.com/pfsense/pfsense and fix as required manually.");
+ file_notice("check_mk-agent", "Inconsistent configuration files found, possibly caused by previous check_mk package versions. See Status - System Logs - General for details.", "Packages", "");
}
}