Create check_apcupsd