- Merged by Jonathan AlmquistModerator Saturday, August 09, 2014 3:17 AM duplicate
- Merged by Jonathan AlmquistModerator Saturday, August 09, 2014 3:17 AM duplicate
Hi,
Please refer to the links below:
How grooming and auto-resolution work in the OpsMgr 2007 Operational database
http://blogs.technet.com/b/kevinholman/archive/2012/03/23/2644996.aspx
How to Close an Alert Generated by a Monitor
Xin,
I'm quite aware of how grooming and auto resolution work in SCOM. The question was, why are RULES (not monitors) closing after 7 days which means they are changing the health state? I don't see anything built into the rules that would determine a state change. I didn't think rules had anything to do with health (as do monitors) as is mentioned in the Technet article I referenced.
- Edited by Matt MS Friday, August 01, 2014 2:22 PM none
Xin,
I'm quite aware of how grooming and auto resolution work in SCOM. The question was, why are RULES (not monitors) closing after 7 days which means they are changing the health state? I don't see anything built into the rules that would determine a state change. I didn't think rules had anything to do with health (as do monitors) as is mentioned in the Technet article I referenced.
- Edited by Matt MS Friday, August 01, 2014 2:22 PM none
There are two settings for alert resolution. Check whether you have the first setting configured for 7 days, or the default 30 days.
I meant the second setting actually
"Resolve all active alerts when the alert source is healthy after"
Any ideas?
there are two options in auto alert resolution in SCOM
1) Resolve all active alerts in the new resolution state after:
configure all active alerts with a resolution state of New to be changed to Closed after a specific number of days.
2) Resolve all active alerts when the alert source is healthy after:
configure all active alerts with a resolution state of New to be changed to Closed after a specific number of days when the alert source is healthy.
The impact of setting the alert resolution state to Closed depends on whether the alert was generated by a rule or a monitor. If you close an alert that was generated by a rule and the issue continues or occurs again, another alert will be sent. Closing an
alert that was generated by a rule when the issue is not fixed is not a problem, because the rule will generate another alert.However, an alert that is generated by a monitor is sent only when the state for the monitor changes from healthy to some other state
(warning or critical). If you close an alert that is generated by a monitor when the issue is not fixed, no other alerts will be sent. The auto alert resolution setting, both options, in SCOM affects both monitored-generated and rule-generated alert.
By default, option 1 is 30 days and option 2 is 7 days.
a) An alert is generated by monitor, with manual reset, which change the alert source from healthy to warning or critical state and the problem is solved at 6th day. The alert is still in New resolution state and it change into closed state after 7 days.
b) An alert is generated by monitor, with manual reset, which change the alert source from healthy to warning or critical state and the problem is not solved after 30 days. The alert is still in New resolution state and it change into closed state after 30
days, closed by the option 1) setting. The same alert will not generated again until the alert source is changed back to healthy state.
c) An alert is generated by rule, which do not change the alert source state and the problem is not solved. The alert source is in health state at 7th day and as a result the alert resolution state is changed into closed state at 7th day. Afterward, another
new alert will generated because the problem is not solved.
d) An alert is generated by rule, which do not change the alert source state and the problem is not solved. The alert source is in critical state and as a result the alert resolution state is changed into closed state after 30 days. Afterward, another new alert
will generated because the problem is not solved.
Roger
I'm pretty sure your scenario "c" is not correct, as this setting only applies to monitors. The first setting applies to rule and monitors. Rule-generated alerts are not state machines, so they do not know when the source is heathere are two options in auto alert resolution in SCOM
1) Resolve all active alerts in the new resolution state after:
configure all active alerts with a resolution state of New to be changed to Closed after a specific number of days.
2) Resolve all active alerts when the alert source is healthy after:
configure all active alerts with a resolution state of New to be changed to Closed after a specific number of days when the alert source is healthy.
The impact of setting the alert resolution state to Closed depends on whether the alert was generated by a rule or a monitor. If you close an alert that was generated by a rule and the issue continues or occurs again, another alert will be sent. Closing an alert that was generated by a rule when the issue is not fixed is not a problem, because the rule will generate another alert.However, an alert that is generated by a monitor is sent only when the state for the monitor changes from healthy to some other state (warning or critical). If you close an alert that is generated by a monitor when the issue is not fixed, no other alerts will be sent. The auto alert resolution setting, both options, in SCOM affects both monitored-generated and rule-generated alert.
By default, option 1 is 30 days and option 2 is 7 days.
a) An alert is generated by monitor, with manual reset, which change the alert source from healthy to warning or critical state and the problem is solved at 6th day. The alert is still in New resolution state and it change into closed state after 7 days.
b) An alert is generated by monitor, with manual reset, which change the alert source from healthy to warning or critical state and the problem is not solved after 30 days. The alert is still in New resolution state and it change into closed state after 30 days, closed by the option 1) setting. The same alert will not generated again until the alert source is changed back to healthy state.
c) An alert is generated by rule, which do not change the alert source state and the problem is not solved. The alert source is in health state at 7th day and as a result the alert resolution state is changed into closed state at 7th day. Afterward, another new alert will generated because the problem is not solved.
d) An alert is generated by rule, which do not change the alert source state and the problem is not solved. The alert source is in critical state and as a result the alert resolution state is changed into closed state after 30 days. Afterward, another new alert will generated because the problem is not solved.
Roger
there are two options in auto alert resolution in SCOM
1) Resolve all active alerts in the new resolution state after:
configure all active alerts with a resolution state of New to be changed to Closed after a specific number of days.
2) Resolve all active alerts when the alert source is healthy after:
configure all active alerts with a resolution state of New to be changed to Closed after a specific number of days when the alert source is healthy.I'm pretty sure your scenario "c" is not correct, as this setting only applies to monitors. The first setting applies to rule and monitors. Rule-generated alerts are not state machines, so they do not know when the source is hea
The impact of setting the alert resolution state to Closed depends on whether the alert was generated by a rule or a monitor. If you close an alert that was generated by a rule and the issue continues or occurs again, another alert will be sent. Closing an alert that was generated by a rule when the issue is not fixed is not a problem, because the rule will generate another alert.However, an alert that is generated by a monitor is sent only when the state for the monitor changes from healthy to some other state (warning or critical). If you close an alert that is generated by a monitor when the issue is not fixed, no other alerts will be sent. The auto alert resolution setting, both options, in SCOM affects both monitored-generated and rule-generated alert.
By default, option 1 is 30 days and option 2 is 7 days.
a) An alert is generated by monitor, with manual reset, which change the alert source from healthy to warning or critical state and the problem is solved at 6th day. The alert is still in New resolution state and it change into closed state after 7 days.
b) An alert is generated by monitor, with manual reset, which change the alert source from healthy to warning or critical state and the problem is not solved after 30 days. The alert is still in New resolution state and it change into closed state after 30 days, closed by the option 1) setting. The same alert will not generated again until the alert source is changed back to healthy state.
c) An alert is generated by rule, which do not change the alert source state and the problem is not solved. The alert source is in health state at 7th day and as a result the alert resolution state is changed into closed state at 7th day. Afterward, another new alert will generated because the problem is not solved.
d) An alert is generated by rule, which do not change the alert source state and the problem is not solved. The alert source is in critical state and as a result the alert resolution state is changed into closed state after 30 days. Afterward, another new alert will generated because the problem is not solved.
Roger