I have created some Management Pack Fragments to help with this.įirst off is the fragment: To resolve these issues, I prefer targeting discovered application classes, for process monitoring. This does bad things like opens an alert then immediately closes it…. With two processes, these are monitored in series and will cause the monitor to behave erratically, causing the monitor to “flip flop” back and forth multiple times in a single second. However, if there are TWO MonitoringHost (or whatever process) instances running, and one process is over a threshold while one process is not – bad things happen. When there will only ever be a single instance of “MonitoringHost” running, then the monitor works exactly as intended. This works great, UNLESS there are multiple instances of the process. Then just choose the performance counter you wish to monitor. ![]() such as Consecutive Samples Over Threshold Monitor. ![]() You could always just use a Windows Performance Counter Monitor wizard in the console…. It can become messy over time, but simplicity comes at a cost.Īnother challenge, is what if you wish to monitor some counter that isn’t CPU or Memory? Such as Handle Count? You are on your own. ![]() However, if the group membership changes and servers are removed from the group, we do not “undiscover” the process class members that are removed. The biggest being that since it uses a group, and enables discovery of the “process class” for members of the group. There are a couple downsides to our process monitoring template. It has a nice wizard based UI, that lets you pick each process by name, and alert when a process is not running when expected to be, or running when not expected, including duration of the running process, min and max expected process counts, and CPU and Memory monitors for each process. In this article, I will run through some examples of how to be successful, and what to avoid.įirst, SCOM provides a “Process Monitoring” template in the console, that works pretty well. ![]() Monitoring a Process in SCOM can be pretty straightforward, or it can be pretty tricky depending on the application.
0 Comments
Leave a Reply. |