I'm trying to get alerted when the MySQL database has any refused connections.
In Monitors / Connection History / Refused, I've set:
Alert condition:
function()
{
return GetWarnStatusInt(this.Value, this.Critical, this.Warning, true);
}
Warning: 1
Critical:10
I then made 21 connection attempts with a bad password. The Refused counter showed those bad connection attempts, but the Alert condition never shows Warning or Critical.
Any idea what I am doing wrong?
Thanks!