Script for nagios to check against /smapi/