Category: SCOM

PowerShell Monitor to monitor number of folders in a folder with diagnostic and recovery

PowerShell Monitor to monitor number of folders in a folder with diagnostic and recovery

Part 1 – The PowerShell – https://www.f1point2.com/the-script/ Part 2 – The Data Source and Probe – https://www.f1point2.com/part-2-powershell-monitors-the-modules/ Part 3 – The Monitor Type – https://www.f1point2.com/part-3-powershell-monitors-monitor-type/ Part 4 – The Monitor – https://www.f1point2.com/part-4-the-monitor/ Part 5 – A diagnostic task to view all the folders in the top level folder – https://www.f1point2.com/part-5-the-diagnostic/ […]

Part 5 – The diagnostic

Part 5 – The diagnostic

As a quick value add; we can do a diagnostic that we can run manually to list the folders in the top level folder. The PowerShell code is here And the diagnostic here This is how we pass property bag data from our monitor to our diagnostic

Part 4 – The Monitor

Part 4 – The Monitor

And now we can finally author our monitor. Right click on the folder FolderMonitoringCountFoldersInFolder and select Add, New Item, Empty Management Pack Fragment and call it 5_Monitor. Copy and paste the following code between the tags.

Part 3 – PowerShell Monitors – Monitor Type

Part 3 – PowerShell Monitors – Monitor Type

The monitor type is where we define the workflows. I’ll run through creating a 2 state monitor where we have a workflow for “over threshold” and a workflow for “under threshold” as well as look at on-demand monitors \ workflows. When you target a single instance class, be aware that […]

Part 1 – Background

Part 1 – Background

I never imagined as a young engineer at NetIQ that I would, some 20 years later, have built a career on SCOM and the System Center suite. I’ve been fortunate to ride the System Center dream (and occasional nightmare) at Microsoft partners, as a Senior Premier Field Engineer at Microsoft […]

Part 6 – Application Server and Groups

Part 6 – Application Server and Groups

Microsoft doesn’t have a management pack for your in-house applications or even most 3rd party applications. So there are no classes, no discoveries, no relationships and no monitoring. That is where we, as SCOM specialists \ Subject Matter Experts, earn our keep. So let’s get going. First; when I have […]

Part 5 – Create a Management Pack Solution and Project

Part 5 – Create a Management Pack Solution and Project

Lets get started. I’d definitely recommend using a set of naming standards and I’ll go through mine as we build the management pack. Fire up Visual Studio and choose to create a new project. The application we will monitor is called Batura – you might notice a theme to the […]

Part 3 – Application Monitoring – setting the scene

Part 3 – Application Monitoring – setting the scene

Sometimes working with SCOM seems to be Mission Impossible so today (should you accept the challenge) we’ll look at how to create application-based monitoring for your support and service management teams. Previous articles Part 1 – Background Part 2 – Visualisations with Squared Up Later articles Part 4 – Monitoring […]

Part 2 – Squared Up – get a better picture of your SCOM monitoring

Part 2 – Squared Up – get a better picture of your SCOM monitoring

Previous articles Part 1 – Background Later articles Part 3 – Application Monitoring – Setting the scene Part 4 – Monitoring Overview Part 5 – Create the Management Pack Solution and Project Part 6 – Create the Management Pack components Part 7 – Create the Squared Up Dashboard Even after […]