Ad Widget

Collapse

Trigger, that goes off, when items value is unchanged for specific time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reineken
    Junior Member
    • Feb 2022
    • 1

    #1

    Trigger, that goes off, when items value is unchanged for specific time

    Hello, my name is Oskars.
    I have a little problem with triggers. I cannot find the right expression for my problem.

    I have Item, that reads first line from text file every 5 minutes:
    vfs.file.regexp[/home/zabbix6/Snapshot/snapshot100.txt,\A.*]

    I need a Trigger, that goes off when this item reads text, and this text stays there for more then N minutes. N = any value, must be time.

    For better understanding of situation, item reads text file, where information about new snapshots are saved, every snapshot is saved in new line, and when snapshot is there for more then 2 hours, I need a warning (trigger) to go off.

    And because the items ''Type of information'' is Text not numeric, a lot of expressions that could have helped me, just disappear and are unavailable.

    Hope someone can help me,

    Thank you.
Working...