You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.rst
+12-12
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Installation Instructions
38
38
39
39
* See ``pip`` installation instructions at http://www.pip-installer.org/en/latest/installing.html
40
40
41
-
2. Copy the configuration file example from ``/opt/newrelic_plugin_agent/newrelic_plugin_agent.cfg`` to ``/etc/newrelic/newrelic_plugin_agent.cfg`` and edit the configuration in that file.
41
+
2. Copy the configuration file example from ``/opt/newrelic-plugin-agent/newrelic-plugin-agent.cfg`` to ``/etc/newrelic/newrelic-plugin-agent.cfg`` and edit the configuration in that file.
42
42
43
43
3. Make a ``/var/log/newrelic`` directory and make sure it is writable by the user specified in the configuration file
44
44
@@ -48,11 +48,11 @@ Installation Instructions
48
48
49
49
::
50
50
51
-
$ newrelic_plugin_agent -c PATH-TO-CONF-FILE [-f]
51
+
$ newrelic-plugin-agent -c PATH-TO-CONF-FILE [-f]
52
52
53
53
Where ``-f`` is to run it in the foreground instead of as a daemon.
54
54
55
-
Sample configuration and init.d scripts are installed to ``/opt/newrelic_plugin_agent`` in addition to a PHP script required for APC monitoring.
55
+
Sample configuration and init.d scripts are installed to ``/opt/newrelic-plugin-agent`` in addition to a PHP script required for APC monitoring.
56
56
57
57
Installing Additional Requirements
58
58
----------------------------------
@@ -62,15 +62,15 @@ this, make sure you have the latest version of ``pip`` installed (http://www.pip
62
62
63
63
::
64
64
65
-
$ pip install newrelic_plugin_agent[mongodb]
65
+
$ pip install newrelic-plugin-agent[mongodb]
66
66
67
67
or::
68
68
69
-
$ pip install newrelic_plugin_agent[pgbouncer]
69
+
$ pip install newrelic-plugin-agent[pgbouncer]
70
70
71
71
or::
72
72
73
-
$ pip install newrelic_plugin_agent[postgresql]
73
+
$ pip install newrelic-plugin-agent[postgresql]
74
74
75
75
If this does not work for you, make sure you are running a recent copy of ``pip`` (>= 1.3).
76
76
@@ -110,7 +110,7 @@ The fields for plugin configurations can vary due to a plugin's configuration re
110
110
111
111
APC Installation Notes
112
112
----------------------
113
-
Copy the ``apc-nrp.php`` script to a directory that can be served by your web server or ``php-fpm`` application. Edit the ``newrelic_plugin_agent`` configuration to point to the appropriate URL.
113
+
Copy the ``apc-nrp.php`` script to a directory that can be served by your web server or ``php-fpm`` application. Edit the ``newrelic-plugin-agent`` configuration to point to the appropriate URL.
- If the installation does not install the ``newrelic_plugin_agent`` application in ``/usr/bin`` then it is likely that ``setuptools`` or ``distribute`` is not up to date. The following commands can be run to install ``distribute`` and ``pip`` for installing the application:
437
+
- If the installation does not install the ``newrelic-plugin-agent`` application in ``/usr/bin`` then it is likely that ``setuptools`` or ``distribute`` is not up to date. The following commands can be run to install ``distribute`` and ``pip`` for installing the application:
- If the application installs but doesn't seem to be submitting status, check the logfile which at ``/tmp/newrelic_plugin_agent.log`` if the default example logging configuration is used.
444
+
- If the application installs but doesn't seem to be submitting status, check the logfile which at ``/tmp/newrelic-plugin-agent.log`` if the default example logging configuration is used.
445
445
- If the agent starts but dies shortly after ensure that ``/var/log/newrelic`` and ``/var/run/newrelic`` are writable by the same user specified in the daemon section of the configuration file.
446
446
- If the agent has died and won't restart, remove any files found in ``/var/run/newrelic/``
447
447
- If using the Apache HTTP plugin and your stats are blank, ensure the ExtendedStatus directive is on.
0 commit comments