Changes

From Amahi Wiki
Jump to: navigation, search
365 bytes added ,  01:35, 27 August 2019
== Configuration Examples ==
===Amahi 8/9/10/11or Greater===
'''httpd:'''
<pre>check process apache with pidfile "/var/run/httpd/httpd.pid"
if space usage > 90% then alert
check filesystem Shares with path /dev/sda4</pre>
 
'''qbittorrent'''
<pre>check process qBittorrent matching "qbittorrent-nox"
start program = "/usr/bin/systemctl start qbittorrent-nox@bigfoot.service"
stop program = "/usr/bin/systemctl stop qbittorrent-nox@bigfoot.service"
if failed host 127.0.0.1 port 8090 type TCP for 2 cycles then restart
if 2 restarts within 3 cycles then unmonitor</pre>
===Reference===
12,424

edits