sysmon.os.conf.example 1.1 KB

123456789101112131415161718192021222324252627282930
  1. ##--------------------------------------------------------------------
  2. ## System Monitoring For System
  3. ##
  4. ## System monitoring and introspection
  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. sysmon.os {
  9. ## Time interval for the periodic CPU check
  10. cpu_check_interval = 60s
  11. ## For how much system cpu can be used before the corresponding alarm is raised
  12. cpu_high_watermark = 80%
  13. ## For how much system cpu can be used before the corresponding alarm is cleared
  14. cpu_low_watermark = 60%
  15. ## Time interval for the periodic memory check
  16. ## Type:
  17. ## - disabled :: Never check
  18. ## - Time Duration :: The time period
  19. mem_check_interval = 60s
  20. ## For how much system memory can be allocated before the corresponding alarm is raised
  21. sysmem_high_watermark = 70%
  22. ## For how much system memory can be allocated by one Erlang process before the corresponding alarm is raised
  23. procmem_high_watermark = 5%
  24. }