Game Development Community

Web Monitor

by Mads Laumann · 02/20/2007 (5:32 pm) · 1 comments

First I would like to say that this post is NOT game related, but is a post telling about what Im doing now, to get closer to be a better (game)developer.

As I wrote in my previous post, Im studying for my MCTS exam, and is about halfway through the first book. As I'm reading along, I get alot of ideas for small tool/applications where I can try out/use some of the things I'm reading about.

The other day I got the idea that I would make "Web Monitoring Tool". The ideas was that I would like to have a little application that could run in my tray on my PC, and "monitor" different websites (URL's). The reason why wanted to make this was also that i have lately discovered that my host have some bad response times sometimes. Therefore I started creating this little application about a week ago, and it is already coming along. It's written in C# .NET 2.0 of cause.

Currently implemented features (v0.0.2.27)

You can add a new monitor and specify the URL is should check.
You can deside what UserAgent the monitor should use to make the webreqeust.
You can setup a simple rule, this will be alot bigger over time, where you set a MaxResponseTime for the monitor. Meaning that if the URL your checking have a response time bigger then the one you specify (in ms), it will warn you with a balloonTip.
You can start/stop the monitors. Not one at the time. They all run or no one runs.
You can set up some simple "Settings" for the hole application.
AutoPingTime (in minutes) - This is how offen the application should have your monitors check their URL's.
EnableLoggin - A checkbox that tells the program if it should write into the log window.
In the overview of your monitors, there is a icon showing you the status of the current monitor.
You can also see the "Error Text" in the monitor overview, if a error should occur.
You can submit bugs, suggestions or bug directly from the application. These will go to a WebService I made, and then it will put the data into my bug tracking system (Mantis). This is a pretty nice feature if you ask me.
A lot of minor things...can't remember anything more right now, but try it out and you will see.
In the future I am going to implement some more things ofcause and fix the bugs people are submitting. All the submittions I get is REALLY help full, and alot of people have already submitted some nice suggestions I will look into. And of cause bug report are price less. Keep 'em coming.

Future implementations:

You should be able to edit a monitor.
Alot more settings for a Monitor. For instance a TimeOut.
Alot of rules. These will be implemented as people are needing them. A rule that I would like to implement next, is a rule where you specify if the returned HTML from the webrequest MUST or CANNOT contain some words/centens.
A history of the lastest XXX request made by a monitor. When you double click a monitor you should be able to edit it and save the changes of cause. But you should also be able to see a list of the lastest XXX MonitorResponses. Maybe a graph of the response times?
A setting for the application, so you can choose to have the application automatically save the log file at a given interval.
A "Exception Reporter" form. This should pop up if the application crashed, just like you see it in a lot of Microsoft Software. (Dunno if I can do this, but Ill give it a try).
A more custom implementation of the ClickOnce updater, right now it the out-of-the-box solution.
Get rid of all icons that is not made by our self. Some of hte icons in the application now, are just placeholders.
I think thats all I got right now. And as I wrote in my previous post, I need to get through this MCTS exam before making anymore games, well that's the plan right now.

You can download the application from here: www.laumania.net/downloads/deploy/WebMonitor/publish.htm

REMEMBER that you can ONLY install the application through that link in Internet Explore. It WON'T work in FireFox.

Oh, I almost forgot the screenshots.

============================
www.laumania.net/blog/wp-content/uploads/2007/02/webmonitor1.png
www.laumania.net/blog/wp-content/uploads/2007/02/webmonitor2.png
www.laumania.net/blog/wp-content/uploads/2007/02/webmonitor4.png
www.laumania.net/blog/wp-content/uploads/2007/02/webmonitor3.png

#1
02/20/2007 (8:50 pm)
Excellent... looking good.