charm-percona-cluster/hooks
Robert Gildein 11ee1ef563 NRPE: Monitor threads connected to MySQL.
Add a NRPE check to monitor the number of threads connected
to the MySQL database, in proportion to the maximum number of connections.
For this check, a nagios user will be created. This user does not have any
permissions set, does not have access to any database and can only connect
from localhost.
Warning and Critical thresholds (in percentage) can be configured.

Add an action to reset nagios's password. This action could only be run
on the leader unit.

Closes-Bug: #1816759
Change-Id: Id35b0331322c2744a9f839b3eb153eed1bc53aac
2020-11-27 14:50:02 +00:00
..
__init__.py Convert to python3 2019-07-08 07:41:48 -07:00
cluster-relation-changed Initial charm 2013-09-03 17:52:02 +01:00
cluster-relation-departed Store shared-db information in the peer relation for clustered deploys and echo back to client service for each unit 2014-08-15 14:16:23 +00:00
cluster-relation-joined Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
config-changed Initial charm 2013-09-03 17:52:02 +01:00
db-admin-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
db-relation-changed Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
ha-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
ha-relation-joined Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
install Convert to python3 2019-07-08 07:41:48 -07:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:54:27 +01:00
leader-deposed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-elected Add leader settings changed hook 2015-03-13 10:40:33 +00:00
leader-settings-changed Add leader settings changed hook 2015-03-13 10:40:33 +00:00
master-relation-changed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
master-relation-departed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
master-relation-joined MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
nrpe-external-master-relation-changed [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
nrpe-external-master-relation-joined [bradm] Add n-e-m hooks 2015-03-03 12:11:07 +10:00
percona_hooks.py NRPE: Monitor threads connected to MySQL. 2020-11-27 14:50:02 +00:00
percona_utils.py NRPE: Monitor threads connected to MySQL. 2020-11-27 14:50:02 +00:00
post-series-upgrade Series Upgrade 2018-09-17 15:38:00 +02:00
pre-series-upgrade Series Upgrade 2018-09-17 15:38:00 +02:00
shared-db-relation-changed Add new hooks and config for VIP 2013-09-13 22:17:49 +01:00
slave-relation-changed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
slave-relation-departed MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
slave-relation-joined MySQL asynchronous replication 2018-12-12 23:30:41 +01:00
start Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
stop Add missing hooks and files, tidy lint 2013-09-19 16:40:27 +01:00
update-status Add basic status checks 2015-10-07 12:29:00 -07:00
upgrade-charm Initial charm 2013-09-03 17:52:02 +01:00