Caching script for slow nagios checks