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.

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>



13
14
15
16
17
18
19
# File 'manifests/nrpe/mysql/package.pp', line 13

class nagios::nrpe::mysql::package {
  require base::apt::repo::percona

  package { 'percona-nagios-plugins': ensure => installed, }

  user { 'nagios': groups => ['mysql'], }
}