Skip to content

Instantly share code, notes, and snippets.

@pjmazenot
Created December 29, 2017 00:39
Show Gist options
  • Save pjmazenot/91370947f78377ae1511afbc510bdc15 to your computer and use it in GitHub Desktop.
Save pjmazenot/91370947f78377ae1511afbc510bdc15 to your computer and use it in GitHub Desktop.
apt-get install percona-nagios-plugins
mkdir -p /etc/nagios
sudo nano /etc/nagios/mysql.cnf
# [client]
# user = root
# password = s3cret
chown root:nagios /etc/nagios/mysql.cnf
chmod 640 /etc/nagios/mysql.cnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment