I have Server Monitor v4.2. I need to be able to set the status of the monitor to ok if the FireActions is true. I also have Resolved Actions I would like to run when that happens. This is probably a settings issue, so here are my settings: Configure Actions > Fire actions when a problem is first detected, with opt escalation, and later when it is resolved. Configure Options > Error Actions > Email Action in Do Immediately. Configure Options > Resolved Actions > Email Action. Advanced Monitor Actions > Alert Suppression > Dont suppress. Advanced Monitor Actions > Status > Make the monitor red. Other options unchecked. In case this is a script issue, here is my anonymized script. The monitor script itself works perfectly. The monitor just does not change to okay when the FireActions var is set to true. The resolved notification is never fired.
asked 19 Apr '13, 09:00 GabrielS |
Hi Gabriel, If you want your monitor status to always be OK (Green) even when it fires an action I would suggest that you set your Advanced Monitor Actions > Status > Force the monitor to always show Green. Then remove from you script any code that tries to change the status of the monitor and just fire the actions when you need them to fire. Thanks answered 19 Apr '13, 10:12 Quinn ♦♦ |
Hi Quinn: I just noticed my initial question was a little backwards. I want the monitor to go back to green if the FireActions is False. I do not always want it to be green. The issue is that it goes red and never goes back to green. I did a test to make it fail. I set it back and FireAction is being set to false, but the monitor remains in alert. I have even manually acknowledged the alert. I have tested that it is not firing actions with both test in console and test in service buttons. answered 19 Apr '13, 15:29 GabrielS |
Look at the server status report, at that monitor. If the status is "Unacknowledged Alert", and it's yellow, you're using the Error Auditing. Right-click the server and go to Report & Delivery Settings -> Report Settings and you can turn the auditing requirement back off (it's step 1 in the link above). answered 22 Apr '13, 18:14 Doug ♦♦ |