Ad Widget

Collapse

Would like to see zabbix_server.d construct for the server configuration

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • elyograg
    Member
    • Aug 2021
    • 37

    #1

    Would like to see zabbix_server.d construct for the server configuration

    For my zabbix agents, I am able to do all my config by placing files in /etc/zabbix/zabbix_agent2.d and adding a PSK file to /etc/zabbix. When I upgrade an agent, I do not need to do anything with the config ... the upgrade takes care of the main config file automatically and does not disturb my customizations.

    For my server, the only thing I changed in /etc/zabbix_server.conf was DBPassword. Every time I upgrade the server, it tells me I changed the config, and asks me how to deal with it. If I replace the config with the packaged version, Zabbix will not work because it doesn't have a password for the MySQL db. If I have it keep the config, then anything new that has been added or changed will not be present in my config. So what I want to do is put the DBPassword line into a file in a .d directory, so if the zabbix-server package wants to update the server config file, it can do that automatically. without interrupting the update to inform me that I changed the config.

    I'm running 6.4.0-beta2 on Ubuntu Server 22.04 (jammy) using this project's official APT repository.
  • Answer selected by elyograg at 27-10-2022, 19:11.
    Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    I'd love that too.

    There is a feature request on this: https://support.zabbix.com/browse/ZBXNEXT-4641

    Be sure to vote for that.

    Markku

    Comment


    • elyograg
      elyograg commented
      Editing a comment
      Thanks for the info. I voted for the issue.
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1782

    #2
    I'd love that too.

    There is a feature request on this: https://support.zabbix.com/browse/ZBXNEXT-4641

    Be sure to vote for that.

    Markku

    Comment


    • elyograg
      elyograg commented
      Editing a comment
      Thanks for the info. I voted for the issue.
Working...