4 lines
353 B
Plaintext
4 lines
353 B
Plaintext
|
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."
|