Talk:Monit
From Gentoo Wiki
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (
~~~~
), and indent successive comments with colons (:
).
Add new sections at the bottom of the page, under a heading (== ==
). Please remember to mark sections as "open for discussion" using {{talk|open}}
, so they will show up in the list of open discussions.groups
Talk status
This discussion is done.
note that by default monit accepts connections from users in the group monit or users for locked down configurations.
root #
gpasswd -a $USER monit
root #
gpasswd -a $USER users
666threesixes666 (talk) 01:30, 19 February 2014 (UTC)
- Thanks. No need to open a discussion about this. --Maffblaster (talk) 08:57, 11 January 2017 (UTC)
auto restart
Talk status
This discussion is done.
monit needs a section dedicated to just ensuring processes are running at all times. digging into this leads to the problem of monit not monitoring processes. to make monit monitor processes.
root #
monit monitor mysql
666threesixes666 (talk) 01:30, 19 February 2014 (UTC)
- Feel free to write it. --Maffblaster (talk) 08:58, 11 January 2017 (UTC)
misleading examples
Talk status
This discussion is still ongoing.
monit can not execute direct bash commands.
FILE
/etc/monitrc
known working mysql auto restart configcheck process mysql with pidfile /var/run/mysqld/mysqld.pid
start program = "/bin/bash -c 'rc-service mysql start'"
stop program = "/bin/bash -c 'rc-service mysql stop'"
group mysql
if failed host localhost port 3306 protocol mysql then restart
666threesixes666 (talk) 01:52, 19 February 2014 (UTC)
init replacement
Talk status
This discussion is done.
http://mmonit.com/wiki/Monit/FAQ#init
aparently monit can run from init
- No need to open a discussion about this. --Maffblaster (talk) 08:57, 11 January 2017 (UTC)