9 lines
813 B
Plaintext
9 lines
813 B
Plaintext
check program graylog_remote with path "/usr/lib/monitoring-plugins/check_http -p 9000 sharingan.msn0.aninix.net"
|
|
if status != 0 for 3 times within 5 cycles then exec "/usr/local/bin/ravensend -c #sharingan -m 'CRITICAL: Sharingan Graylog is not responding.'"
|
|
|
|
check program elasticsearch_remote with path "/usr/lib/monitoring-plugins/check_http -u /_cluster/health -p 9200 -s green sharingan.msn0.aninix.net"
|
|
if status != 0 for 3 times within 5 cycles then exec "/usr/local/bin/ravensend -c #sharingan -m 'CRITICAL: Sharingan Elasticsearch is not responding.'"
|
|
|
|
check program dns_remote with path "/usr/lib/monitoring-plugins/check_dns -H 10.0.1.1 -s 10.0.1.2"
|
|
if status != 0 for 3 times within 5 cycles then exec "/usr/local/bin/ravensend -c #sharingan -m 'CRITICAL: Nazara DNS is not responding.'"
|