configuration-templates
/monit/debian/templates/bond0 |
@@ -0,0 +1,11 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2020 - License: GNU GPLv3 ## |
########################################################################### |
|
check network bond0 with interface bond0 |
start program = "/sbin/ifup bond0" |
stop program = "/sbin/ifdown bond0" |
if failed link then restart |
|
check network bond0-saturation with interface bond0 |
if saturation > 90% then alert |
/monit/debian/templates/rngd |
@@ -2,7 +2,7 @@ |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process rngd with pidfile /run/rngd-onerng0.pid |
check process rngd matching rngd |
start program "/bin/systemctl start rng-tools@onerng0.service" |
stop program "/bin/systemctl stop rng-tools@onerng0.service" |
#if failed host 127.0.0.1 port 9050 type tcp then restart |