Ad Widget

Collapse

How to change server config options for docker appliance?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CyberMage256
    Junior Member
    • Jul 2020
    • 5

    #1

    How to change server config options for docker appliance?

    I'm using zabbix-appliance docker image and struggling with several things.

    I'm monitoring across our WAN and during nightly backups Zabbix will freak out and report servers randomly as unavailable. I don't enjoy getting 20 or 30 text messages at 3 AM. And no, a maintenance window wont' solve this issue for me as backups take anywhere from 2 to 10 hours per server with some overlap of servers, and I don't want to turn off all monitoring all night or what's the point of monitoring. Nagios never had these issues, but Zabbix seems much less tolerant of ping delays or agents reporting in slightly delayed.

    I want to tweak some settings like UnreachablePeriod to be a bit longer, but the zabbix_server.conf file is buried in the docker image and not exposed to the host, and there appears to be no way to change server options with the web interface. Sure I can bash into the docker instance but changes in there won't persist through an upgrade.

    Any suggestions?
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    From https://www.zabbix.com/documentation...ion/containers

    All Zabbix component images provide environment variables to control configuration. These environment variables are listed in each component repository. These environment variables are options from Zabbix configuration files, but with different naming method. For example, ZBX_LOGSLOWQUERIES is equal to LogSlowQueries from Zabbix server and Zabbix proxy configuration files.

    Comment

    • CyberMage256
      Junior Member
      • Jul 2020
      • 5

      #3
      Perfect, thanks. I'd read that multiple times, and used a similar method for setting the PHP timezone, but it never clicked in my head that ALL server variables worked this way.

      Comment

      Working...