question

anupvtr avatar image
0 Votes"
anupvtr asked anupvtr commented

Diagnostic Task in SCOM Monitor

Hi All, Thanks in advance.

I have created a SCOM Monitor to check if a specific process is running more than one hour and its generating alerts.

I created a Diagnostic Task. Once the alerting condition met the Diagnostic task will fire automatically.

My requirement would be every 30 minutes the diagnostic task needs to run if the SCOM monitor is unhealthy. Is it possible.

Thanks
Anu


msc-operations-manager
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No, not possible.

0 Votes 0 ·

Not even with a custom Powershell based Recovery Task?

0 Votes 0 ·
CyrAz avatar image CyrAz StoyanChalakov ·

You could have the powershell script itself run a loop which would check if the issue is fixed and with a 30min start-sleep inside it t, but that would not really be "firing the task every 30min if the monitor in unhealthy"...
Said otherwise, you can do whatever you want inside the script but it will start only once.

And remember to increase the Timeout interval for the recovery task, otherwise the script could get killed prematurly

1 Vote 1 ·
Show more comments

0 Answers