From 10b3e08af042c0e2a622f80b750d88329cf57776 Mon Sep 17 00:00:00 2001 From: jas01 Date: Thu, 1 Oct 2020 16:25:00 +0200 Subject: [PATCH] Missing parameters Without those parameters the module don't work under FreeBSD, the file 'constants.conf' created by the module don't get the PluginDir or PluginContribDir, but the standard config for the plugin still get thing like command = [ PluginDir + "/check_ping" ] so icinga2 won't start because PluginDir/PluginContribDir are unkown --- data/FreeBSD-kernel.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/FreeBSD-kernel.yaml b/data/FreeBSD-kernel.yaml index 619f72157..371325eb8 100644 --- a/data/FreeBSD-kernel.yaml +++ b/data/FreeBSD-kernel.yaml @@ -15,3 +15,6 @@ icinga2::globals::spool_dir: /var/spool/icinga2 icinga2::globals::cache_dir: /var/cache/icinga2 icinga2::globals::cert_dir: /var/lib/icinga2/certs icinga2::globals::ca_dir: /var/lib/icinga2/ca +icinga2::globals::constants: + PluginDir: '/usr/local/libexec/nagios' + PluginContribDir: '/usr/local/libexec/nagios'