Ad Widget

Collapse

Howto use item as trigger function argument

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jcesario
    Member
    • Apr 2009
    • 65

    #1

    Howto use item as trigger function argument

    I would like to do something like this. However zabbix keeps throwing a syntax error at me

    {Template_MySQL50_Repl:mysql50.repl[Relay_Log_Pos].last(0)}>65536 & {Template_MySQL50_Repl:mysql50.repl[Master_Log_File].str({Template_MySQL50_Repl:mysql50.repl[Relay_Master_Log_File].last(0)})}=0
    * Incorrect trigger expression. [ ... & {Template_MySQL50_Repl:mysql50.repl[Master_Log_File].str( ... ]
  • jcesario
    Member
    • Apr 2009
    • 65

    #2
    bump? Could use some help with this.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      It is not supported.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • jcesario
        Member
        • Apr 2009
        • 65

        #4
        Seriously 0.o ? That seems like such a common thing to do. Compare two dynamic strings against each other...

        Comment

        • RoyK
          Junior Member
          • Jan 2016
          • 20

          #5
          Any idea when it may be supported? I'm using this to look for servers that will die soon because of full memory timeleft(//vm.memory.size[available],3d,0) - which is fine - mostly. But I want to do it for all the server's uptime, perhaps minus 10 minutes for bootup and stabilisation, like timeleft(//vm.memory.size[available],system.uptime-10m,0). However, I can't find a way to do that. How can I?

          Comment

          Working...