Ad Widget

Collapse

Error while applying Template with Trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StephenKing
    Junior Member
    • Sep 2011
    • 19

    #1

    Error while applying Template with Trigger

    Hi,

    I've just updated our Zabbix 1.8.2 to 1.9.7 (and ran the upgrade script).

    I experience the problem that I cannot apply a certain template (our base template ) to any new hosts.

    It always fails with

    Code:
    ...
    Trigger [Checksum of /vmlinuz changed:{srv114.example.org:vfs.file.cksum[/vmlinuz].diff(0)}>0] created.
    Cannot implode expression "{srv114.example.org:vfs.fs.inode[/,free].avg(600)} / {srv114.example.org:vfs.fs.inode[/,total].last()} < 0.1".
    Do you have any clue, why this is happening?

    I had a brief view at that code in class.ctrigger.php and it passes exactly that trigger expression to explode_exp(), however, I have no idea, why that fails. Am I using some invalid trigger syntax?

    Thanks for your reply
    Steffen
  • StephenKing
    Junior Member
    • Sep 2011
    • 19

    #2
    Ah, I noticed that last() seems to be not valid anymore, but has to be last(0) instead.

    Now it works..

    Comment

    Working...