Ad Widget

Collapse

Zabbix 3.2.7 - logrt check for new log creation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Michal0910
    Junior Member
    • Oct 2019
    • 1

    #1

    Zabbix 3.2.7 - logrt check for new log creation

    Hello, new here, so not sure if this was already being solved (sorry if it was)

    I am running Zabbix 3.2.7, i created set of new items - type logrt (i have a set of logs, that are being created every 10 minutes):

    logrt[<regexp_path to log file>,Info,,,,,]

    with corresponding trigger:

    {<hostname>:logrt[<regexp_path to lof gile>,Info,,,,,].nodata(600)}=0 --Info expression is on every line of the log

    What i'm trying to achieve is an alert when new log file wasn't created in the last 10 minutes

    Could You please advise me, if this is correct setup? (Can't test it as this is on production env and i cannot delete the logs there )

    I am geting "cannot evaluate expression" at random on these triggers



    Thank You in advance for any constructive suggestion.
Working...