Url Monitoring Service
Over the weekend I wanted to see if I could create a useful software product. I decided on a url monitoring application that was highly configurable. After abour four hours of work I came up with version one of a url monitoring service. It is very configurable and includes the following:
– Unlimited urls
– GET, POST and PUT with uploading strings or text
– Email if something is unexpected or the response on the url changes
– Frequency at which to check a url
– Customize the http headers sent with the url check
The tool should work great on a dedicated Windows server, although a Linux server should work as well under Mono.
Good luck and we hope you enjoy the tool.
Find the project on github and download now!
If you liked this tool and feel so inclined, please feel free to donate so we can make more cool software.
Hi jjxtra, I know this post is quite old and you are probably very busy with IpBan (I noticed the commits on github last few days), but would it be possible read the responsestream, filter out and remove certain Html elements (either by ID or Class) and save it back to the memory stream before the md5 hash is calculated? For example by using the HtmlAgilityPack, and remove a hidden input element holding a random session ID, something like this: using HtmlAgilityPack; .... // From Stream var doc = new HtmlDocument(); doc.Load(ms, true); var nodes = doc.DocumentNode.SelectNodes("//input[@id='SessionId']"); if (nodes != null)… Read more »
I think i created something that works quite nice using the HtmlAgilityPack, check it out in my fork: https://github.com/RvdHout/UrlMonitor
If you want to do a pull request I’d be happy to merge this into my repo
Hi Jeffrey!
The UrlMonitor.csproj is missing from the git repository.
Yikes! Good catch. I updated it 🙂
😀
A glitch … 00:00:00:00.020 should be 00.00:00:00.020 (note the dot) so that no timespan exception is raised.
We are not on en-US culture so the 00:00:00:00.020 raises an exception …
Checked in a change and deployed new downloads that parse the TimeSpan using invariant culture
A suggestion … the SendMail should also be called when an exception is raised at line 211 in UrlMonitorService.cs … common case: a hard 500 error
example: http://beta.ffsng.com/_500.php
Good idea, I changed it so that if a WebException is thrown, it sends the email
Seriously Jeffrey, you should change your license and start selling all these goodies …