Ad Widget

Collapse

triggers and wildcards

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gatisa
    Junior Member
    • Oct 2005
    • 10

    #1

    triggers and wildcards

    is it possible to do something like:

    {localhost:customkey(*).last(0)} > 90

    instead of:

    {localhost:customkey(A).last(0)} > 90
    {localhost:customkey(B).last(0)} > 90
    {localhost:customkey(C).last(0)} > 90
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    Originally posted by gatisa
    is it possible to do something like:

    {localhost:customkey(*).last(0)} > 90

    instead of:

    {localhost:customkey(A).last(0)} > 90
    {localhost:customkey(B).last(0)} > 90
    {localhost:customkey(C).last(0)} > 90
    At present, no, however, you can do something like this;
    Code:
    ({localhost:customkey(A).last(0)}>90)&({localhost:customkey(B).last(0)}>90)&({localhost:customkey(C).last(0)}  >90)
    Unofficial Zabbix Developer

    Comment

    • gatisa
      Junior Member
      • Oct 2005
      • 10

      #3
      nope it is not the solution
      image if you got an example 50 custom items - you need to add(or at least type in a one string) em each seperately anyway.

      Comment

      Working...