Ad Widget

Collapse

Zabbix 6 : Elastic Search Trigger Expression no longer working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Midnight
    Junior Member
    • May 2022
    • 1

    #1

    Zabbix 6 : Elastic Search Trigger Expression no longer working

    I just updated our Zabbix server from v5 to v6 and all went pretty smoothly. One of the problems I'm running into post-upgrade are the triggers we use to monitor Elastic Search. We have use template called "Template_CPE_Registry_status", and that template has 3 triggers. All three of these triggers use the same "Item" named "CPE_Registry_status", type "Zabbix Agent" and with a key value of "registry_status".

    All 3 triggers are the same except for the text in the search. Here's an example...

    Trigger name: "Global Registry service is not available"

    Code:
    find(/Template_CPE_Registry_status/registry_status,,"regexp","\\\"Global CPE Registry Service \\\":\\\"Is Available\\\"")=0
    This was all working just fine under Zabbix 5. As soon as I upgraded to Zabbix 6 all of these alerts went off saying "Global Registry service is not available".

    Obviously, I'm being tripped up by one of the many new changes in Zabbix 6. Any thoughts?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    That regex looks awkward... Kind of many \-s and "-s...
    How does your data look like (latest values).

    Comment

    Working...