I have a query shown below that returns the number of rows that match a value in the Status column and want to alert when that doesn't match a fixed constant.
SELECT COUNT(Status) AS CSTUNNELS FROM CustomPollerStatus WHERE Status='xxxx.yyyy';
I want an alert when that query returns a value other than 20.
Thanks!