to add alarmconfig