2,187
edits
(Added NRPE category) |
(Added Ubuntu install) |
||
Line 1: | Line 1: | ||
Instructions on installed the Percona NRPE plugin in order to be able to monitor a MySQL server from Nagios. See the following page | Instructions on installed the Percona NRPE plugin in order to be able to monitor a MySQL server from Nagios. See the following page for more info - https://www.percona.com/doc/percona-monitoring-plugins/1.1/nagios/index.html | ||
== Ubuntu Install == | |||
=== Percona Repository === | |||
If you don't have it available already, you'll need to add the Percona repository (if it is you should have the following file - <code>/etc/apt/sources.list.d/percona-release.list</code> | |||
# Download appropriate pagckage | |||
#* <code> wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb </code> | |||
# Install package | |||
#* <code> dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb </code> | |||
# Update cache | |||
#* <code> apt-get update </code> | |||
=== Install Plugins === | |||
<code>apt-get install percona-nagios-plugins</code> | |||
== Red Hat Install == | |||
Note that the instructions below were written for an older version than is current, please check the Percona site (URL above) for up to date info. | |||
# Add the Percona repository | # Add the Percona repository | ||
#* <code> yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm </code> | #* <code> yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm </code> | ||
# Install the Percona NRPE Nagios plugins | # Install the Percona NRPE Nagios plugins | ||
#* <code> yum install percona-nagios-plugins percona-toolkit</code> | #* <code> yum install percona-nagios-plugins percona-toolkit</code> | ||
== Plugin Setup == | |||
# Append checks to NRPE config file (see below - change user/pass as required) | # Append checks to NRPE config file (see below - change user/pass as required) | ||
#* <code> vi /usr/local/nagios/etc/nrpe.cfg </code> | #* <code> vi /usr/local/nagios/etc/nrpe.cfg </code> | ||
Line 46: | Line 63: | ||
[[Category:Nagios]] | [[Category:Nagios]] | ||
[[Category:NRPE]] | [[Category:NRPE]] | ||
[[Category:Ubuntu]] |