Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move /etc/zabbix/libzbxpgsql.conf under /etc/zabbix/zabbix_agentd.d/ #116

Open
mdfod365 opened this issue Mar 14, 2018 · 0 comments
Open

Comments

@mdfod365
Copy link

It would be great if we could specify the DEFAULT_PGCONFIGFILE at "runtime" in the /etc/zabbix/zabbix_agentd.d/libzbxpgsql.conf file, instead of specifying statically when compiling.

Something like:

LoadModule=libzbxpgsql.so
ConfFile=<some_path>/libzbxpgsql.conf

In this way we could move the actual /etc/zabbix/libzbxpgsql.conf into another directory and keep /etc/zabbix/ only with the official configuration files.

If this is too difficult, it would be still better to change the default path from /etc/zabbix/libzbxpgsql.conf to /etc/zabbix/zabbix_agentd.d/libzbxpgsql.d/libzbxpgsql.conf

In conclusion, any third-party configuration file should stay in the zabbix_agentd,d directory and not in the /etc/zabbix top directory.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant