I have a WIndows PowerShell template that counts a value on my database, and then outputs that value.
I want to know:
How can I change the states of the monitoring to critical, if the value increases since the last poll.
Poll 1 - Value = 100
Poll 2 - Value = 100
Poll 3 - Value = 101
I want it to go critical on Poll 3.
Enable Count statistic as difference for that component. This takes the difference between the current poll against the previous poll So a non-alerting state would be when the statistic is 0. The critical threshold would be defined as greater than 0. Typically this is used to calculate the rate of change in a stat, but should work just as well for you here.