SCOM 2012 R2 Web Application Monitoring

I am curious if there is a way to use a monitor to parse a webpage and generate an alert if a particular field reaches a certain threshold.  The example below is a URL to our internal IronPort system.  The highlighted field "active_recips" would be monitored and if it reaches a certain threshold, say "5", an alert would be generated.  Is this possible?

Thanks

December 17th, 2014 11:28pm

Hello!

Have you already tried the easiest way using a Web Application Availability Monitoring Template with the option Content Match?

https://technet.microsoft.com/en-us/library/hh881883

Cheers,
Patrick

Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2015 2:23am

You may use the time-script monitor with the following script

***********************************************************
Dim oAPI, OBag
Dim xmlDoc
Set oAPI=CreateObject("MOM.ScriptAPI")
Set oBag = oAPI.CreatePropertyBag()
Set xmlDoc=CreateObject("Microsoft.XML.DOM")

xmlDoc.Async="False"
xmlDoc.Load("https://........xml/hoststatus?ostnamethe.encryption.queue")
Set colNodes=xmlDoc.selectNodes("//hoststatus/gauges/gauge[@name='active_recips']")

For each objNode in colNodes
Call oBag.AddValue("Active_recips",objNode.getNameItem("Current").Text
Next
Call oAPI.Return(oBag)

****************************************************************

and your expression should be
Property[@Name="Active_recips"]    >= 5
 
Roger

February 3rd, 2015 7:34am

I am curious if there is a way to use a monitor to parse a webpage and generate an alert if a particular field reaches a certain threshold.  The example below is a URL to our internal IronPort system.  The highlighted field "active_recips" would be monitored and if it reaches a certain threshold, say "5", an alert would be generated.  Is this possible?

Thanks

Did you ever find a way to accomplish this through the web application monitoring approach?
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2015 5:33pm

We ended up going in a different direction here
  • Marked as answer by fishizza 8 hours 54 minutes ago
September 14th, 2015 6:16pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics