Homepage von Michael L.
 
 

Downloads...

Here you can download all scripts and programs that I have developed during my studies or my free time. There are simple shell scripts, old programs, mrtg scripts and a lot more. But be patient because I need time to put them in a useful state.
There are no documentation but a few hints for every download. If you want to share your opinion about something you downloaded here, please mail to mila(at)grundeis.de. Thanks.


 

Now it's time to present my mrtg-scripts. I wanted to monitor my router... wanted to add temperatur, wheather and some more information. But I didn't want to use SNMP so I wrote these scripts. For a complete roundup you will need the information from my mrtg.cfg.

CPU Load

You will need to install the Sysstat package. Furthermore you'll need the entry [cpu] from my mrtg.cfg. Besides download the script Cpustat.

Memory consumption

No special packages needed for installation. Look for [mem] in mrtg.cfg and use the script mem. Don't forget to correct the max RAM value in your mrtg.cfg.

harddisk consumption

Also here no special packages will be needed. Pay attention for the [hdc1] entry in mrtg.cfg and use checkdisk. Of course you have to change the max value for your harddisk in your mrtg.cfg.

Uptime

For uptime you need to have Perl installed. Besides look for [uptime] in mrtg.cfg and use the uptime script.

ping specific host

No extra packages needed besides standard linux install. Please use entry [ping] in mrtg.cfg and also the script named ping. Please adjust the host you want to ping within the script. At the moment the script pings http://www.heise.de.

transfer volume

This is kind of complicated because you will need special iptables rules. In mrtg.cfg you can use the entry [vol_ppp]. In addition the script ppp-stats. Afterwards you have to create the iptables rules and change the script to grep the correct lines.


 

PHP Counter with logging function

I searched the web for a counter that is simple and will not count page hits but users visited. For this purpose I wrote this php script. It will log the visitors ip and the timestamp. After a specified amount of time it will delete the entry. It is also possible to use the script as logger by specify the time for deletion. There is a little documentation within the script header as well as hints. Download: counter.zip.

PHP Logfileoutput

In addition to the counter above here is a script that analyses the logfile of that counter. For this purpose you need to active its logging function. For configuration look into the header of the php. Please adjust logfile and divider to match settings of the counter. Further change the login and password for the protection. Last but not least it is possible to sort your logfile. But please remember that this script is only neccessary if you activated the logging function of the counter. Download: showlog.zip.
 

Trillian Log File Converter

This little Perl written program was developed by myself to convert my trillian log files into html files. I tried to find such tool in the internet but had no luck so I decided to write my own.
The program is not very difficult to handle. It takes all log files from different Trillian version (text-log-files). For more information have a look into the code.
Update 17.02.2006:
Now written complete in perl and also useable in windows. Download: trill_log_converter.zip

Battle Angel Alita Wallpaper