Ad Widget

Collapse

How can I write this expression?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • My_X
    Junior Member
    • Jun 2025
    • 2

    #1

    How can I write this expression?

    I read the value in rclone-sync-status.txt
    Click image for larger version

Name:	image.png
Views:	49
Size:	6.0 KB
ID:	504151

    My expression is written like this, {S3Sync_192.168.3.122:rclone.sync.status.last()}=" failure"
    But it keeps reporting an error. How should I write this expression?
    When failure appears in my rclone-sync-status.txt file, it will alarm, and if it is success, it will recover​
    thanks
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    No knowing which version of zabbix you use is hard to guess what is correct.
    Since zabbix 6.0 trigger expresions start like last(//item...)
    You probably use a expression found by google which is related to zabbix 5 or older.

    Comment

    Working...