Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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