Files
Kapisi/roles/Sharingan/files/monit/checks/grimoire
T

4 lines
353 B
Plaintext
Raw Normal View History

2023-05-30 15:51:36 -05:00
check program check_grimoire with path "/usr/lib/monitoring-plugins/check_tcp -H localhost -p 5432"
if status != 0 for 1 times within 5 cycles then exec "/usr/bin/systemctl restart grimoire"
if status != 0 for 3 times within 5 cycles then exec "/etc/monit.d/scripts/critical CRITICAL: Grimoire startup is failing -- manual intervention needed."