Skip to content

Commit

Permalink
Missing parameters
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
jas01 authored and jas01 committed Oct 1, 2020
1 parent 3e3f8a7 commit 10b3e08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/FreeBSD-kernel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 10b3e08

Please sign in to comment.