In my previous post similar to this topic, we discussed how to check for the existence of a registry key or value, and alert/change state if it was missing. But what if you want to inspect the contents of a registry value for specific data? For instance – what if we want to…
You might have noticed a logical disk availability monitor, being red on some of your systems. In more recent MP’s – this monitor was renamed to “File System error or corruption” One of the challenges with this monitor – is that it has really good product knowledge, but the state…
There are many examples of using a discovery for a new class or extended class, based on a registry key. What if – you just want to monitor for a specific registry key – and turn your agents to a warning or critical state if it is missing? Consider the scenario:…
I have written many individual blog posts on creating and using groups. I wanted to take this post to put them all in one place – the most common examples of “how-to” create groups for all kinds of common scenarios. Some of these are super simple. Some are overly complex,…
The business need: It is a very common request to monitor a process on a given set of servers, and collect that data for reporting, or monitor it for a given threshold. One thing you might notice when trying to monitor some performance counters, is that not all perf counters…
This is a rare but interesting scenario… which can cause you to see and monitor duplicate objects (and get duplicate alerts) for specific types of discovered hosted objects that have a parent class which was upgraded from one version to another. For instance – if you upgrade SQL 2005 >…
Here is an interesting little concept of how to use OpsMgr. Because I have a lab, that is exposed to the internet over port 3389, I get a LOT of hacking attempts on this lab. Mostly the source is from bots running on other compromised systems. These bots just do…
Something I wrote to get a report on tasks being run on the OpsDB, and their output: select tv.Name as TaskName, bme.fullname as ObjectName, jsv.SubmittedBy, jsv.TimeStarted, jsv.TimeFinished, jsv.Output, tv.Description as TaskDescriptionfrom JobStatusView jsvinner join TaskView tv on jsv.MonitoringTaskId = tv.Idinner join BaseManagedEntity bme on jsv.TargetMonitoringObjectId = bme.BaseManagedEntityIdorder by TimeStarted DESC…
Do you ever get script errors from a discovery scripts? Or you aren’t discovering something that you feel should be discovered? There are many ways to troubleshoot this discovery process, this will cover the “basics”. First thing I like to do – is start with the console. 1. …
You may notice that there are actions you might want to take on an agent, that are grayed out and not available in the console. There actions might include: Change Primary Management Server Repair Uninstall See the below image for an example: This is caused by a flag in…