check_memory.pl from monitoringexchange.org