Ad Widget

Collapse

I am pretty sure I know the answer to this..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joshuamcdo
    • Jan 2026

    #1

    I am pretty sure I know the answer to this..

    I am just hoping against hope that I am wrong..
    Just a side note, I have been and continue to read the manual on this issue. My initial findings are that this will not work.

    In => trigger expressions -> Expressions
    I have the following entered from a previous admin..


    {Template_Generic_FrontEnd:net.tcp.port[address1.amazonaws.com,27017].last(0)}=0 | {Template_Generic_FrontEnd:net.tcp.port[address2.amazonaws.com,27017].last(0)}=0 | ....


    My question is this..
    Is there a way to say create a for loop of sorts for this? To do something like..

    for host in $TEMPLATE do

    expression $i

    done
    ?

    Thanks,
    J
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    Nope, not possible. It would be great functionality to have though I believe that there are already feature requests for that kind of functionality.

    Comment

    Working...