SCOM: How do I monitor external DNS resolution?

Pauciloquent 71 Reputation points

Hi Folks

I am wondering if External resolution monitor has been removed from DNS MP? I need to create a monitor or rule that runs on the DNS server to query an address frequently. If 3 queries are failed, generate an alert.

Should I write a Powershell script and create a script monitor? In this case, please point me to the document where I can learn about powershell monitoring.

Thanks 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,436 questions
0 comments No comments
{count} votes

Accepted answer
  1. SChalakov 10,371 Reputation points MVP

    Hi @Pauciloquent ,

    I didn't have the chance to test the script itself, but if your are collecting the proper data in your property bags (see belolw hpw yyou can test thiss - the artcle i pasted), then the steps that you need to do to make the script work, are descriibed here (an article I wrote about how to integrate a PowerShell script with SCOM) and run it on your SCOM management server:

    Monitoring Active Directory User Account Expiration using SCOM and PowerShell (Step by Step Guide)

    You will see in the article how to test you script and make sure it returns the right proerty bags and also how to integrate in SCOM. It has also nice screennshots and lots of details. Please post back if you need further help.

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Stoyan Chalakov

2 additional answers

Sort by: Most helpful
  1. SChalakov 10,371 Reputation points MVP

    Hi @Pauciloquent ,

    you have a custom use case, so I would also use PowerShell if I had to solve this same challenge. What you need is:

    • Cookdown's PowerShell MP, so that you can build a PowerShell based monitor.

    PowerShell Authoring

    The link contains also a refernce to a video, where you can see how to create Property Bags and pass their values to SCOM.

    • You can use the following cmdlets to build your script, depending on the particular use case and requirements:


    Here you can lookup some examples:

    Resolve-DnsName: Resolving DNS Records with PowerShell

    Don't hesitate to ask if you have further questions.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Stoyan Chalakov

    1 person found this answer helpful.

  2. Pauciloquent 71 Reputation points

    Hi @CyrAz @Simon Ren-MSFT @SChalakov

    Need your kind attention to my question :)

    0 comments No comments