Ad Widget

Collapse

Expected Zabbix behavior when database unavailable?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mgoodman
    Member
    • Apr 2011
    • 33

    #1

    Expected Zabbix behavior when database unavailable?

    Does anyone know what the expected behavior of Zabbix is when its database becomes unavailable?

    That is, Zabbix 1.8.4 server with MySQL backend. MySQL dies. I know already that MySQL can be unavailable for at least an hour, and Zabbix server will pick up and start writing after it becomes available...but specifically, how does it cache? What does it cache? Are there parameters to set to deal with this more gracefully?

    For example, in an environment which is using a single database (not replicated unfortunately), when the database goes down for backup (for about an hour), is it possible that Zabbix can still gather and cache that data, then write it to the database when it becomes available? Right now I have gaps during that database backup period, and I'd like to have Zabbix cache it, if possible.

    Thanks,
    Michael
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #2
    Originally posted by mgoodman
    is it possible that Zabbix can still gather and cache that data, then write it to the database when it becomes available?
    you have to setup zabbix proxy if you want to store data while DB is not avalible

    http://www.zabbix.com/documentation/...s/zabbix_proxy

    Comment

    • mgoodman
      Member
      • Apr 2011
      • 33

      #3
      I don't think you understand. I have a zabbix proxy, but that is irrelevant. You can't have an item monitored by the master AND the proxy at the same time.

      I am simply wondering what the expected behavior is if the zabbix master server loses connection to it's own database (e.g. if they are on separate systems). What happens to those events?

      Comment

      Working...