Simple python sniplet writing a status file parseable by check_remote_json and compatible with nagios/icinga plugin api