Installs the MeetMe plugin for NewRelic
python python-pip newrelic
node[:meetme_newrelic_plugin][:package_name]- The name of the pip package that installs the meetme newrelic pluginnode[:meetme_newrelic_plugin][:poll_interval]- interval, in seconds, that stats are pollednode[:meetme_newrelic_plugin][:config_file]- location of config filenode[:meetme_newrelic_plugin][:log_dir]- logging directorynode[:meetme_newrelic_plugin][:log_file]- name of log filenode[:meetme_newrelic_plugin][:run_dir]- the run directory for the pid filenode[:meetme_newrelic_plugin][:user]- the user that runs the applicationnode[:meetme_newrelic_plugin][:group]- group for application file permissions
node[:meetme_newrelic_plugin][:elasticsearch][:clustername]- name of es clusternode[:meetme_newrelic_plugin][:elasticsearch][:host]- hostname for es node to monitornode[:meetme_newrelic_plugin][:elasticsearch][:port]- port es is listening onnode[:meetme_newrelic_plugin][:elasticsearch][:scheme]- http (protocol for connection)
node[:meetme_newrelic_plugin][:memcached][:name]- hostname memcached instance is running onnode[:meetme_newrelic_plugin][:memcached][:host]- host memcached instance is running onnode[:meetme_newrelic_plugin][:memcached][:port]- port memcached is listening onnode[:meetme_newrelic_plugin][:memcached][:path]- path of unix socket (if memcached is using one)
node[:meetme_newrelic_plugin][:mongodb][:host]- host mongodb instance is running onnode[:meetme_newrelic_plugin][:mongodb][:port]- port mongdb is listening onnode[:meetme_newrelic_plugin][:mongodb][:database]- name of database to monitornode[:meetme_newrelic_plugin][:mongodb][:databag_name]- name of databag that holds mongo confignode[:meetme_newrelic_plugin][:mongodb][:databag_item_name]- name of databag item for mongo confignode[:meetme_newrelic_plugin][:mongodb][:admin_username_key]- key for admin usernamenode[:meetme_newrelic_plugin][:mongodb][:admin_password_key]- key for admin passwordnode[:meetme_newrelic_plugin][:mongodb][:db_username_key]- key for db usernamenode[:meetme_newrelic_plugin][:mongodb][:db_password_key]- key for db password
node[:meetme_newrelic_plugin][:nginx][:name]- hostname nginx is running onnode[:meetme_newrelic_plugin][:nginx][:host]- host nginx is listening onnode[:meetme_newrelic_plugin][:nginx][:port]- port nginx is listening onnode[:meetme_newrelic_plugin][:nginx][:path]- path of nginx stub status pagenode[:meetme_newrelic_plugin][:nginx][:verify_ssl_cert]- verify ssl certificate flag
node[:meetme_newrelic_plugin][:php_fpm][:name]- hostname php-fpm is running onnode[:meetme_newrelic_plugin][:php_fpm][:scheme]- fpm scheme (ex: http or https)node[:meetme_newrelic_plugin][:php_fpm][:host]- host where fpm status page is listeningnode[:meetme_newrelic_plugin][:php_fpm][:port]- port where fpm status page is listeningnode[:meetme_newrelic_plugin][:php_fpm][:path]- path of fpm status pagenode[:meetme_newrelic_plugin][:php_fpm][:query]- query type (ex: json)
node[:meetme_newrelic_plugin][:postgresql][:host]- host address where postgresql is runningnode[:meetme_newrelic_plugin][:postgresql][:port]- port postgresql is listeningnode[:meetme_newrelic_plugin][:postgresql][:user]- postgresql usernode[:meetme_newrelic_plugin][:postgresql][:dbname]- db to monitornode[:meetme_newrelic_plugin][:postgresql][:password]- postgresql passwordnode[:meetme_newrelic_plugin][:postgresql][:superuser]- hostname uwsgi is running onnode[:meetme_newrelic_plugin][:postgresql][:psycopg2_install_method]- pip || package - install method for postgresql client driver
node[:meetme_newrelic_plugin][:uwsgi][:name]- hostname uwsgi is running onnode[:meetme_newrelic_plugin][:uwsgi][:host]- host address uwsgi is runnin onnode[:meetme_newrelic_plugin][:uwsgi][:port]- port uwsgi is running onnode[:meetme_newrelic_plugin][:uwsgi][:path]- '/path/to/unix/socket' only set if using unix socket over host:port
Just include meetme-newrelic-plugin in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[meetme-newrelic-plugin]"
]
}- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Steven Gonzales