alarm.conf.example 825 B

12345678910111213141516171819202122
  1. ##--------------------------------------------------------------------
  2. ## Alarm
  3. ##
  4. ## Configuring how to handle the alarms generated from sysmon.*.conf.example
  5. ##--------------------------------------------------------------------
  6. ## Note: This is an example of how to configure this feature
  7. ## you should copy and paste the below data into the emqx.conf for working
  8. alarm {
  9. ## The actions triggered when the alarm is activated
  10. ## Type: Array of the below enum
  11. ## - log :: write the alarm to log
  12. ## - publish :: publish the alarm as an MQTT message to the system topics
  13. actions = [log, publish]
  14. ## Maximum total number of deactivated alarms to keep as history
  15. ## Type: Range from 1 to 3000
  16. size_limit = 1000
  17. ## Retention time of deactivated alarms
  18. validity_period = 24h
  19. }