Introduction

Summary

LastBoxStanding is a Windows service that pings a configurable list of machines in your LAN to determine whether at least one of them is still running. If no machine responds, the service performs a custom action, e.g. a shutdown.

Timeline

Getting Started

Installation

Configuration

The LastBoxStanding.exe.config file in the installation directory contains a section "lastBoxStanding" in which the service can be configured::

...

<lastBoxStanding>

    <monitoredMachines>
        <!-- Replace the following list with the machines on your network -->
        <machine name="MyMachineA" />
        <machine name="MyMachineB" />
        <machine name="192.168.0.2" /> <!-- IP addresses are possible, too -->
    </monitoredMachines>

    <actions>
        <!-- Edit if necessary -->
        <whenLastRemaining execute="C:\WINDOWS\system32\shutdown.exe" arguments="-s" />
    </actions>

    <options>
        <checkInterval minutes="3" retries="2" />

        <!-- Set simulateActions to "true" to experiment with settings (view results in event log) -->
        <!-- Set verbose to "true" for detailed information in the event log -->
        <diagnostics verbose="false" simulateActions="false" />
    </options> 

</lastBoxStanding>
	
...

If the service is running, you have to restart the service for changes to take effect (e.g. by stopping and starting it, or by pressing the restart icon in the "Services" MMC plug-in).

Troubleshooting

Diagnostics

Errors and problems are reported in the event log (to view the entries, run eventvwr from the command line and click on "Application"). If things are not working as expexted, it's a good idea to switch on the "verbose" option to get more detailed information.

HomePage and Contact

For news and updates please visit the LastBoxStanding homepage.

For questions, suggestions and bug reports write to lastboxstanding@roland-weigelt.de.


Revision History

Version 0.9.1 2005-02-14 (bugfix release)

Version 0.9.0 2005-02-14 (public release)

Version 0.5.0 January 2005 (proof-of-concept)