No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_monit_conf.d_mosquitto 479B

1234567891011121314151617
  1. check process mosquitto matching mosquitto
  2. group iot
  3. start program = "/bin/systemctl start mosquitto"
  4. stop program = "/bin/systemctl stop mosquitto"
  5. if failed port 1883 type tcp
  6. with timeout 10 seconds
  7. with retry 2
  8. then restart
  9. if failed port 8883 type tcp
  10. with timeout 10 seconds
  11. with retry 2
  12. then restart
  13. if failed port 8083 type tcp
  14. with timeout 10 seconds
  15. with retry 2
  16. then restart
  17. if 5 restarts within 5 cycles then timeout