added confd functionality for alarms, add logging