config for alarm