Activation of generated Linux Script Monitors

Uwe Aul 1 Reputation point
2020-08-31T09:28:45.683+00:00

Hi,

I created a UNIX/Linux Script Two State Monitor via Powershell Script. The monitor is disabled and shown in the SCOM GUI. After adding an override to enable the monitor for a specific server, the monitor gets initialised in the health explorer of that server:

21500-image.png

So far, so good. But the monitor script seems to be never executed, since the status should change to critical imediately.
If I open the monitor in the GUI and do a small change so that the monitor is saved, so script is executed and the monitor is working as expected.
Are there some extra tasks executed in the background, when I save a linux monitor in the GUI? Can I initiate those tasks via powershell?
If needed, I can provide the script I use.

Thank you very much in advance.

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,480 questions
0 comments No comments
{count} votes

12 answers

Sort by: Most helpful
  1. CyrAz 5,181 Reputation points
    2020-09-04T08:42:40.03+00:00

    I'm not too sure of what you mean by "a way to execute this "save" via script", could you rephrase?

    0 comments No comments

  2. Uwe Aul 1 Reputation point
    2020-09-04T10:00:42.483+00:00

    I mean what I already asked in my first thread:

    Are there some extra tasks executed in the background, when I save a linux monitor in the GUI? Can I initiate those tasks via powershell?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.