Ad Widget

Collapse

Triggers Utilising Values From Different Discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Clontarf[X]
    Member
    • Jan 2017
    • 80

    #1

    Triggers Utilising Values From Different Discovery

    I might be asking for the impossible, but here goes.

    I have created a "WMI Discovery" script that queries WMI for a class inside a namespace using WQL. I have successfully populated my hosts now with a ton of information from WMI.

    Unfortunately, because there are values that come from different WMI discoveries, I can't use a Trigger Prototype to say "if discovery.a[item.name] != discovery.b[item.name]". To do that both items would have to be on the same discovery (as of Zabbix 3.4).

    Is there any other way that I can compare values of two items, specifically strings?

    Or do I need to re-write what I have done to ensure that both my item values are in either the same template, or same discovery rule?

    Thanks.
Working...