General Koha contribs; anybody with an SSH key registered can push here
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Alex Buckley c83bfb4bc3 Changed filepaths in the monit .conf files to /usr/sbin/ directory 7 years ago
..
README Plack service monitoring and automatic restart monit conf and bash scripts 7 years ago
checkplack.sh Plack monitoring and automatic restart only on plack enabled instances 7 years ago
plack.conf Changed filepaths in the monit .conf files to /usr/sbin/ directory 7 years ago
restartplack.sh Plack monitoring and automatic restart only on plack enabled instances 7 years ago

README

NAME
Koha::Contrib::koha-plack - Monit conf file and bash scripts to monitor and automatically restart failed Plack instances

VERSION
version 1

DESCRIPTION
MONITORING Plack
koha-plack directory contains a Monit .conf file (plack.conf) and two bash scripts (checkplack.sh and restartplack.sh). Move the plack.conf into the /etc/monit/conf.d directory and run monit using the following commands:

sudo su
sudo service monit start
monit start all

plack.conf will monitor your plack instances using the checkplack.sh script. If that script returns a 1 then the restartplack.sh script is run and that starts the appropriate plack instance

All output of the monitoring is logged in the /var/log/monit.log

AUTHOR
Catalyst IT 2017

This is free software, licensed under:
the GNU GPL version 3 or later.