Sat, March 31, 2018 ยท 1 min read

Adding plugins to new relic infrastructure monitoring

Adding plugins to new relic infrastructure monitoring

Custom and third party performance statistics plugins can be installed from New Relic store, the new plugin installer can be used to install plugins from npi command. npi will be located at /root/newrelic-npi.

Install NPI

$ LICENSE_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx bash -c "$(curl -sSL https://download.newrelic.com/npi/release/install-npi-linux-redhat-x64.sh)"

Install MySQL plugin

$ ./npi install com.newrelic.plugins.mysql.instance
Enter your New Relic license key:
[21:31:18] [INFO] operations - Using license key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[21:31:18] [INFO] operations - Fetching the plugin to your file system...

After the plugins are added, metrics are generated in New Relic interface.