![]() So the monitor’s health turns to Errorif there are say 2 instance of notepad running. Because the way this monitor works, it is only healthy when the process count is in between MinInstanceCount and MaxInstanceCount (both set to 1 in this case).Now once I import the MP into my SCOM management group, I can verify it is working (from health explorer):.Below is from the process monitoring wizard: This is pretty much the same as using the Process Monitoring template from from the SCOM operations console (under Authoring Pane) – Except I used my own class rather than targeting to a group. ![]() Note: While I was setting up the monitor, I realised the process name is case sensitive. InstanceCountOutOfRangeTimeThresholdInSeconds: 5 Monitor Type: Process Instance Count Monitor Type (from “”) Created a process monitor for notepad.exe.I’ll now use use an example to go through how I setup the monitor, write action module and recovery task for notepad.exeįirst of all, I created a class and its discovery to target my test machine “Client01”Īdded “” as a reference in my MP. PsExec needs to be copied locally to the computers that are being monitored. There is one pre-requisite for the recovery task: I had to use PsExec to launch the process on console session. However, I went a step further and created a generic write action module to be used as recovery task that restarts the process interactively on the console session. Setting up monitors for these processes is easy. ![]() Auto Admin Logon is enabled on these servers, when the server starts up, it automatically logged on using the account configured and the the interactive processes are automatically started. There is a large number of processes that I need to monitor and they run interactively on the console session. Recently I’m working on a management pack for a series of apps for a business unit of my employer. SCOM: Monitoring an Interactive Process and The Recovery Task
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |