refactor alerta-pinger