Grab local HTML and alert me based on a threshold

Posted on 2010-09-01
Last Modified: 2012-05-10
Hi experts.
I'm looking for something that may not exist or may be too hard to make.  I want a little program that can monitor a local webpage and then alert me whenever a particular value in a table equals 0.  The webpage is built-in to a local appliance.  It updates every 10 secs, but it's very simple so there's no feature to report or alert on it's data.  I need this tool to be able to run as a service and then do something useful like email me when the alert threshold is reached.  There is also a basic username/password to access this page, so it'd be great if that was able to be configured too, but it probably doesn't matter as I'll login once and then it will be able to keep refreshing without asking for the login again.

This could run on a 2008 server or XP machine.  Does anyone know of a piece of software that could do this, or know how to do it myself perhaps with Powershell?
Question by:theras2000
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33584557
What is the web server ?
LVL 14

Author Comment

ID: 33586808
OK a bit more digging around has given me some info, but not heaps.  The webpage isn't coming from an appliance, but from the server that I control.  I believe that the web server is probably built-in to a running service which runs constantly.  This is how many other services work which were created by the same person.  It somehow pulls a file called template.htt, which uses javascript to fill in the dynamic values on the page.  The page is very basic .. just a header, the javascript reference, and then a table full of rows and such.

I have tried using 'netstat -a -b' to discover exactly where the web port (81) comes from, but it says I can't obtain ownership information to display the exe filename (presumably a permissions issue).  Other possibilities are an Apache server residing on the server, but I've looked at the config (httpd.conf) and it's only serving one static page on port 82 (as far as I can tell).
LVL 27

Expert Comment

by:Lukasz Chmielewski
ID: 33590139
can you place your php scripts on that server ?
LVL 14

Author Comment

ID: 33594315
Unfortunately no.  It runs critical services setup by another company, so I can't interfere with it.  That's why I wanted something that can run elsewhere and just monitor the webpage.
LVL 14

Accepted Solution

theras2000 earned 0 total points
ID: 33618717
Don't wory.  I finally found some sites that look like they'll teach me how to do it in Powershell and

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sending ASP to server side 8 32
html form layout 4 36
Read text on Table 7 29
CSS for Popup in ASP.NET 4 19
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question