I tried different options. This is my standard folder
/usr/lib/bareos/plugins/
just tried again - same situation, nothing is passed to the plugin after
the task is done
вівторок, 26 листопада 2024 р. о 14:10:17 UTC+2 Bruno Friedmann
(bruno-at-bareos) пише:
> I'm not sure why you don't use the default location for plugins
> in /usr/lib64/bareos/plugins/ ?
>
> On Tuesday, 26 November 2024 at 12:00:06 UTC+1 Serhii Zahuba wrote:
>
>> Yes, my config
>>
>>
>> File: /etc/bareos/bareos-dir.d/director/bareos-dir.conf
>>
>> Director { # define myself
>> Name = bareos-dir
>> QueryFile = "/usr/lib/bareos/scripts/query.sql"
>> Maximum Concurrent Jobs = 20
>> Password = "Sn1LSuj+bpMfG"
>> Messages = Daemon
>> Auditing = yes
>>
>> Plugin Directory = /etc/bareos/bareos-dir.d/plugins
>> Plugin Names = "python3"
>> }
>>
>>
>>
>>
>> вівторок, 26 листопада 2024 р. о 11:59:37 UTC+2 Bruno Friedmann
>> (bruno-at-bareos) пише:
>>
>> Did you pay attention to the documentation and the config file where you
>> have to uncomment the Plugin line ?
>>
>>
>> etc/bareos/bareos-dir.d/director/bareos-dir.conf
>> Director { # define myself
>> Name = bareos-dir
>>
>>
>>
>>
>>
>> * # remove comment from "Plugin Directory" to load plugins from
>> specified directory. # if "Plugin Names" is defined, only the specified
>> plugins will be loaded, # otherwise all director plugins (*-dir.so) from
>> the "Plugin Directory". # # Plugin Directory =
>> "/ioda/home/bruno/bareos/git/b-at-bareos/core/src/plugins" # Plugin Names
>> = ""*
>> On Tuesday, 26 November 2024 at 09:24:55 UTC+1 Serhii Zahuba wrote:
>>
>> I want to use these plugins
>>
>> https://github.com/bareos/bareos/tree/e54224ff7111de2ca618a3fb2f8a6f8fe0bdfcc4/contrib/dir-plugins/prometheus
>>
>> but as soon as I add a folder with plugins to the config, I see that in
>> the logs
>> "bareos-dir (150): dird/dir_plugins.cc:271-0 Load dir plugins
>> bareos - dir ( 50 ): lib / plugins . cc : 209 - 0 LoadPlugins
>> bareos-dir (150): dird/dir_plugins.cc:285-0 No plugins loaded"
>>
>>
>> Can someone help me set this up correctly?
>>
>>
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/bareos-users/d4be6e6c-eae9-4cc6-a872-ffe7d3226cd4n%40googlegroups.com.