birchall
6 months agoNeophyte
Alert if other datapoint = x
Hey folks, I have a custom Powershell script, that effectively returns 2 results. DaysRemaining Returns any integer value This datapoint alerts when there is <=30 days remaining InU...
- 6 months ago
You can use Complex Datapoints that has an IF expression that can return a different value depending on the InUse state. You would then setup thresholds on this datapoint instead of the original DaysRemaining. There are several built-in Datasources that do this, like AWS_EC2 and AWS_Connect.
So something like this (did not test): if(eq(InUse,1),DaysRemaining,unkn()) , which you can then name "DaysRemainingIfInUse" or the like.