Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
1234567891011121314151617 |
- check process mosquitto matching mosquitto
- group iot
- start program = "/bin/systemctl start mosquitto"
- stop program = "/bin/systemctl stop mosquitto"
- if failed port 1883 type tcp
- with timeout 10 seconds
- with retry 2
- then restart
- if failed port 8883 type tcp
- with timeout 10 seconds
- with retry 2
- then restart
- if failed port 8083 type tcp
- with timeout 10 seconds
- with retry 2
- then restart
- if 5 restarts within 5 cycles then timeout
|