Puppet Class: nagios::nrpe::mysql::package
- Defined in:
- manifests/nrpe/mysql/package.pp
Overview
Define: nagios::nrpe::mysql::package
This is going install the percona mysql plugins for the other mysql checks and also add the nagios user to the mysql group which is needed for most of the checks.
IMPORTANT NOTE: It requires you to have already set up the apt repositories from www.percona.com/doc/percona-server/5.6/installation/apt_repo.html
Note: Most of these checks will need a nagios mysql user with credentials at /etc/nagios/mysql.cnf
Authors
Ben Field <ben.field@concreteplatform.com>
16 17 18 19 20 21 |
# File 'manifests/nrpe/mysql/package.pp', line 16
class nagios::nrpe::mysql::package {
package { 'percona-nagios-plugins': ensure => installed, }
user { 'nagios': groups => ['mysql'], }
}
|