Hi all. I've been tasked with creating an alert for a powershell component monitor that returns two different sets of messages/statistics and disadvantaged in that I have no experience to speak of and the need is urgent. I've managed to cobble together a working alert however my current trigger condition, based on on the "critical" state of the component, is not sufficient.
The monitor returns two values (example below):
Statistic.count 4
Statistic.percentage 23
In the above example 4 is bad and 23 is good so I don't want the alert to trigger but it will because Statistic.count is in a critical state based on the thresholds I set.
What I need is to create a trigger condition that says if statistics.count < 5 AND statistic.percentage < 5 then send an email.
I've read some about using ${StatisticData} though I don't know how to use it to return two different stats. Is there a way to do what I need? How?
Thanks for reading, any help you can offer is greatly appreciated.