Jeremy McDermond (NH6Z) has written a collection of scripts to perform various maintenance functions for the Tier 2 javAPRSSrvr installations. They are all available in his Subversion repository at https://www.xenotropic.com/ham-svn/javaprssrvr_scripts.

aprsstats.pl

This script is designed to work with MRTG to graph various parameters found on the status page of javAPRSSrvr. This includes things like number of connections, connection rate, bytes transferred, and average connect time of clients. See the source for a list of parameters you can output. This script keeps a cache file of the parsed responses from the status page so that it only has to retrieve the page from the server once every five minutes. This way we should see a reduction in the monitoring load of those servers.

duplconn.pl

This script produces a list of callsigns with duplicate verified connections to the T2 servers. The script is multi-threaded and fetches all the status pages simultaneously so that the amount of total time the script runs is minimized. This will make sure that the danger of false positives because of a client switching servers during the run is minimal. The current script run time is around 15 seconds for all servers and is included at the bottom of the resulting page. This script also keeps an archive of all of its runs so that historical data is available.

reloadservers.pl

This script is designed for the use of our HUB operators. The hub operators need to fetch a list of all of the current T2 servers so that they can build an access list. We need the access list so that we can restrict access to our hubs to only the T2 servers. We do not allow end-users to access our hub system. This script downloads the current T2 server list and restarts the HUB server if it has changed. This should allow for more automated updates when servers enter or leave T2 service.