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/1b54e394-f927-4fee-884f-3cfa9fc200d8n%40googlegroups.com.