Ad Widget

Collapse

Modifying "Zabbix database is down" email to include environment (DEV, PROD, QA)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ddb0faz
    Junior Member
    • Sep 2020
    • 4

    #1

    Modifying "Zabbix database is down" email to include environment (DEV, PROD, QA)

    I'm running zabbix 2.4.8 (don't laugh, I no it isn't supported). I have mariadb 10.13, zabbix app server and zabbix web server running on individual vm instances. We only have a PROD (zbx 2.4.8) env but are now building out a DEV (2.4.8) environment. What I noticed, is that if the DEV db goes down I get a message from "Zabbix@..." titled "Zabbix database is down" but it doesn't say from what db host or environment This is causing concerns among the team because they think the PROD database is down. I've searched the app server and web server php and html files and scoured the "Configuration" and "Administration" tabs as well as on google and I can't find where this message is coming from. I'd like to modify it to indicate which environment this message is coming from. Is that possible? Thanks in advance.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2


    Your alert messages are configured through the web interface and are stored in the database. Look in Configuration->Actions in the web interface, find the action that is related to notifying about the database, and modify its message template to just include DEV or PROD in the subject or body of the message.

    Comment

    • ddb0faz
      Junior Member
      • Sep 2020
      • 4

      #3
      Yeah, I did check all the "Configuration -> Actions -> Event Source (Triggers/Discovery/Auto Registration/Internal)" entries as well as "Administration -> media (email) -> Used In Actions" entries. There is nothing that checks for "zabbix database".

      Comment

      Working...