Advanced Scripting Examples

Due to the size and complexity of these scripts, the pages within the Advanced Examples have been separated into a set of pages for each example. It should be noted that while these scripts may be fully functional, they are to be considered incomplete or works in progress. I still have to add more error checking and customisation routines. When they are finished, customisation of colours, layout, sizes etc. will be easily done using the INI files. Current examples are as follows:

Server Status Dashboard

This script is design to give a real-time status on the servers in your environment. Using some new features provided for Active Directory and Windows 2000/2003, this script has become a very useful tool for day-to-day management and monitoring.

Server Status Report

Please note that this script has been superseded with a new version below. I have retained this version because it has a slightly different layout, which may be preferable for some.
This script is designed to give a systems administrator a broad overview of the systems under his/her care. It produces a web report containing all basic system information like processor and memory details, disk (or partition) information, installed hot-fixes and a list of all warnings and errors. The report is produced every 24 hours and covers a 24 hour period. The script can be partially configured by editing the parameters in the INI file.

Server Status Report Version 2

This script is an improved version of the above script. I have re-worked quite a lot of the code since the original was done a few years ago. I have added some new features like collapsible tables in the report. The directory structure is handled a bit better. I have also changed the hot-fix reporting to be a matrix rather than a simple list. It has a new parameter for specifying critical hot-fixes, which show at the top of the table and are red if not installed on a server.

Disk Analysis Report

This is a multi-part script that produces two web reports for assistance in analysing disk utilisation on servers. The script builds data files for each server on a daily basis. This info is then used to produce a graph of available disk space for each server and a separate report providing growth analysis and forecasting. I’ll say no more, have a look for yourself.

Leave a Reply

Your email address will not be published. Required fields are marked *