Hello,
You can have the mail alerts for the counters “Number of databases created” and “Number of databases dropped” by putting a small script in the space provided for “Alert Condition”,so that you will get an alert whenever a database is created or dropped. First of all, you discard all the changes that you have made till now (since you are getting the false mail alerts,there may be some error in your script), to do this, go to “Customize -> Manage changes -> Discard your changes(by clicking on the actions button)”. After this write the following script in the “Alert Condition” box of the counter “Number of databases created” :
function()
{
if(this.Value >=1)
return “Critical”;
else
return “None”;
}
Please make sure that you have the notification alerts enabled for your server.
Regards
Pankaj
Team MONyog.