Add slideshow monit monitoring

This commit is contained in:
KemoNine 2020-08-05 00:04:22 +00:00
parent 9dcecfbcf8
commit 79a67fdb32
2 changed files with 16 additions and 1 deletions

View File

@ -37,4 +37,14 @@
"{{ monit_filesystems }}"
tags:
- monit-config
- monit-filesystems
- monit-filesystems
- name: Setup slideshow monitoring
template:
src: fim
dest: "/etc/monit/conf.d/fim"
owner: root
group: root
mode: 0644
tags:
- monit-config
- monit-fim

View File

@ -0,0 +1,5 @@
check process fim matching /usr/bin/fim
start program = "/usr/bin/systemctl start fim"
stop program = "/usr/bin/systemctl stop fim"
if does not exist then alert
if does not exist for 2 cycles then restart