Ad Widget

Collapse

Zabbix Log File Monitoring and trigger alert warning

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kcteh
    Junior Member
    • May 2020
    • 7

    #1

    Zabbix Log File Monitoring and trigger alert warning

    Hey guys,

    Currently I am trying to set trigger on my log file monitoring to show warning alert when the log file line has "ERROR" in it.

    However, I tried to set my trigger expression as str(ERROR)}=1. It's not successful instead it show most of the alert without "ERROR" in the line.

    Item key:
    Code:
    logrt[/var/log/^syslog.*$,,,,all]
    Trigger Expression:
    Code:
    {Template App Logs by Zabbix agent:logrt[/var/log/^syslog.*$,,,,all].str(ERROR)}=1
    Please help.

    Appreciate and thanks in advance.
Working...