Alert not firing due to incorrect crtieria.
The DOWN criteria should NOT contain the State Changed equals changed clause.
The Sentra technician pointed this out – the state changed only happens when the state goes to unavailable – after 5 mins it won’t have changed again.
So the correct criteria (which works here) is
The DOWN criteria should be
Measurement Type equals availability
And
State equals Not Available
And
ServerPort equals 102
And
OutageDurationSecs >= 300
And the UP criteria are
Measurement Type equals availability
And
State Changed equals changed
And
State equals Available
And
ServerPort equals 102
When you amend the rule make sure that you restart the Server Monitoring Agents so that the amended rule is uploaded to them.
This is due to the State Changed flag in the rule in combination with the Outage Duration of >= 500. The state changed goes back to Not Changed on the second poll after an outage, so by the time we reach 500 secs, the state has not changed.
See Sunrise call ITL007703 - SUPPORT##HQ is checking the availability of port 1433 on SQLTRAIN - set rule to fire when server is not available for 5 mins - no alerts were created. See rule on GSUPPORT##HQ for criteria.