Website monitoring for a specific content

Rajneesh Kumar 1 Reputation point
2020-08-28T11:44:50.36+00:00

SCOM 2016 : I have requirement to monitor a website for specific content and generate alert when there is content mismatch. The content includes static as well as dynamic part (Static content is "Daily performance as of" & dynamic content is current date in the format (MM/DD/YY)). The need is to generate alert when the current date is not updated.

Any suggestions/help regarding it would be appreciable.

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

2 answers

Sort by: Most helpful
  1. Leon Laude 85,716 Reputation points
    2020-08-28T12:12:07.393+00:00

    Hi,

    It is possible to monitor specific content on a website, this is defined when configuring the Web Application monitor in SCOM.
    Here's a very simple guide on how to achieve this:
    SCOM: Checking for a word on a webpage

    The builtin web application monitors are however quite limited, you could also take a look at URL Genie over here:
    https://monitoringguys.com/2015/05/04/urlgenie-management-pack-for-scom-an-easy-powerful-solution-for-bulk-website-monitoring/


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

    Best regards,
    Leon

    0 comments No comments

  2. AlexZhu-MSFT 5,626 Reputation points Microsoft Vendor
    2020-09-01T03:44:45.533+00:00

    Hi,

    It seems there is no existing solution for this dynamic content from the web. One possible solution (script skill required) is to create a monitor based on powershell (in the powershell, we may use Invoke-WebRequest to parse the webpage content). For more information, we may refer to:

    https://blog.ctglobalservices.com/powershell/clm/example-of-setting-up-a-custom-monitor-in-scom-with-a-powershell-script-monitor-nic-teams-in-scom/
    https://4sysops.com/archives/powershell-invoke-webrequest-parse-and-scrape-a-web-page/
    Note: these webpages are not from Microsoft, just for your reference.

    Hope the above information helps.

    Alex Zhu


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments