[Windows Mobile Apps and Games] viulian:
Introduction

This is a small application meant for system administrators / web site owners.

You can see, at a glance, two images that represent the server status. In fact, the application is a periodical image downloader (I have chosen to download MRTG generated images though). The reason is that my web server gets spammed a lot thus I like to keep an eye on the load - not real time, but just to have a 'health' overview.

Below you have a screenshot of the application in action:

Requirements:

a) Screen with at least 480px on the short side.

b) Access to a web server where you have administrative rights and you can generate statistics using mrtg.

c) works WM6.1 standard today screen only.

d) Application is not signed - so you need a ROM image that allows this type of install.

Limitations:

a) No configuration screen yet, you have to edit the registry to setup the URLs to the two images as well as the update time (in minutes).

b) No security (HTTPS, authentication, etc). Use some long folders path to serve the images from the web server.

Configuration

To configure the application you need to configure MRTG to generate 2 small images (resolution 225×93) on your server, and then, once you see test the images in the browser and make sure they work, just update the registry on the phone so that it points to the two URLs.

It is up to you to choose which values to monitor, for example, SMTP concurrency / HTTP traffic / CPU, etc.

Also, as you might already know, MRTG generates a 4 images per each monitored value, and those are hourly, daily, monthly and yearly. I find the daily images to give the best overview, but that is up to you.

Registry keys you will have to modify:

HKLM\Software\Microsoft\Today\Items\MRTGPlugin\0 -> url to the image on the left.

HKLM\Software\Microsoft\Today\Items\MRTGPlugin\1 -> url to the image on the right.

HKLM\Software\Microsoft\Today\Items\MRTGPlugin\Refresh -> update interval (in minutes). Defaults to updates every 30 minutes.

A bit of help with the MRTG configuration:

Since the phone resolution is limited to 480px (I have only tested on my Sony X1) I choosed fixed size images (225x93). Thus, two can fit one next to the other, have good visibility, and do not occupy too much of the screen real estate.

MRTG allows control of the generated image size, but with a trick. To the size that you specify, MRTG adds some paddings, so that it can render legends, axis of the graphs, etc. Thus, by trial and error, I found that to generate the 225x93 image size, the XSize / YSize parameters have in fact to be 125x58:

#-------------------------------------------------------------------

Title[smtp]: SMTP Concurrency - FQDN

MaxBytes[smtp]: 100

AbsMax[smtp]: 500

Options[smtp]: gauge

Target[smtp]: `/usr/local/bin/qmailmrtg7 t /var/qmail/supervise/qmail-smtpd/log/main`

PageTop[smtp]: <strong>FQDN - SMTP Concurrency</strong>

ShortLegend[smtp]: SMTP

YLegend[smtp]: max SMTP

Legend1[smtp]: SMTP

LegendI[smtp]: SMTP

LegendO[smtp]: SMTP

WithPeak[smtp]: ymwd

XSize[smtp]: 125

YSize[smtp]: 58

Uninstall

If you want to uninstall, you need to remove the two log files created on the root of the file system (Downloader.log.txt and MRTGPlugin.log.txt) as well as clearing the "Downloader.exe" system notification (for example, using the "Check Notifications" program)

Download

Download link: MRTGPlugin_1.0.zip

Homepage with more detailed instructions is here.

Please do not make mirrors of the archive, I'd like to keep track of the number of downloads.

I hope some will consider the application useful :)

[PS: links are not here yet because I don't yet have enough posts to post them. Once they will be validated, they will appear - so it should be shortly].