question

TonyStrother-2074 avatar image
0 Votes"
TonyStrother-2074 asked 43080060 commented

Monitoring Scheduled Task - MP question

Morning,
I am just starting with using this to discover and monitor scheduled task, which we have a lot of.
I cannot find where I could change the severity of the alerts generated by this from Warning to Informational.
If any one else is using this/has used it, I would appreciate your assistance.

https://rburri.wordpress.com/2014/08/12/scheduled-task-and-ps-scheduled-job-management-pack-1-2-0-500/

Thanks,
TS

msc-operations-manager
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.

LeonLaude avatar image
0 Votes"
LeonLaude answered LeonLaude edited

Hi @TonyStrother-2074,

As Stoyan mentioned, to change the severity level of the Task Scheduler management pack you will have to create overrides for the rules or monitors, the same way you do with any other management pack.

To change the severity levels of the alerts in the Task Scheduler management pack, you'll need to create overrides for the monitors:

1. Go to the Authoring tab.

31731-authoring.png

2. "Under Management Pack Objects", go to Monitors.

31724-monitors.png

3. Click on Scope

31725-scope1.png

4. Now search for the Task Scheduler management pack by typing "Task Scheduler", then select View all targets, and then select all the found items.

31732-scope2.png

5. Now you will see all the monitors available in the Task Scheduler management pack, here's a few examples:

31726-task-scheduler-mp-monitors.png

6. Select one monitor, right-click it and select Overrides > Override the Monitor > For all objects of class: <Class Name>, for example:

31657-override1.png

7. Now place a check mark in the check box for the "Severity", then under the "Override Value" column, select which severity you want, then select the destination management pack (create for example a new "task scheduler overrides" management pack) then click OK to apply the change.


Example:

31741-override2.png


Now you've successfully changed the severity of the Last Result Successful Monitor, rinse and repeat for the other monitors :-)

Here's the list of all available monitors in the Task Scheduler management pack:

31742-task-scheduler-management-pack-monitors.png


(If the reply was helpful please don't forget to upvote or accept as answer, thank you)


Best regards,
Leon



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.

StoyanChalakov avatar image
0 Votes"
StoyanChalakov answered StoyanChalakov edited

Hi,
the MP has different monitors and rules. You can find a list of those here:

All Unit Monitors in category: Windows Scheduled Task and PowerShell Scheduled Job MP

and also a list of the rules

All Rules in category: Windows Scheduled Task and PowerShell Scheduled Job MP

Depending on what monitor/rule you want to tune (override) you cna just go to "Authoring" -> "Management Pack Obejcts", "Rules/"Monitors" and then input the monitor/rule name, find it and create an override for the "Severity" param.

What will also help you in this, is the guide, which is available at the same download location, as the MP. In the guide there is a section ,where you will find more information:

31656-image.png

I hope I was able to help you out!


(If the reply was helpful please don't forget to upvote or accept as answer, thank you)
Regards,
Stoyan



image.png (65.6 KiB)
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.

TonyStrother-2074 avatar image
0 Votes"
TonyStrother-2074 answered LeonLaude commented

Afternoon and thank you so much! I am trying that now, will see how it goes.

TS

· 1
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.

Good luck, let us know how everything goes!

0 Votes 0 ·
43080060 avatar image
0 Votes"
43080060 answered 43080060 commented

Hello Leon ,

That MP is working fine ,
But In some cases, if I want to disable a computer that already Discovered by this Management Pack , It continues to be seen and monitored even I disabled it .
Is there a way to remove it ?

· 2
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.

Remove-SCOMDisabledClassInstance will undiscover the instances of classes for which you set their discovery to "Enabled > false"

1 Vote 1 ·

Thanks A lot

0 Votes 0 ·