we are using many self writen plugings in our environment. There is one big Problem for us namely the deployment of these plugins,
because we are using the top down config sync method. We need to transfer the plugins manually on ours servers.
I found a small workaround, but it isnt working as intended.
I did the following:
Transfered all the custom plugins into the global-templates folder
edited in the commands.conf following variables
command = [ PluginDir + “/customplugin” ]
command = [ “var/lib/icinga2/api/zones/global-templates/check_show_linux_essentials.sh” ]
And Voila the Scripts were synched on every server and here begins the problem the Server cannot execute the plugins because of missing execute rights.
Thats why i have a Request. Can you implement a function that makes the deployment(sync) of custom plugins through the top down config method possible?