Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 95c0783

Browse files
committed
Reflect the name change with _ to -
1 parent 19e356b commit 95c0783

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.rst

+12-12
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Installation Instructions
3838
3939
* See ``pip`` installation instructions at http://www.pip-installer.org/en/latest/installing.html
4040

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.
4242

4343
3. Make a ``/var/log/newrelic`` directory and make sure it is writable by the user specified in the configuration file
4444

@@ -48,11 +48,11 @@ Installation Instructions
4848

4949
::
5050

51-
$ newrelic_plugin_agent -c PATH-TO-CONF-FILE [-f]
51+
$ newrelic-plugin-agent -c PATH-TO-CONF-FILE [-f]
5252

5353
Where ``-f`` is to run it in the foreground instead of as a daemon.
5454

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.
5656

5757
Installing Additional Requirements
5858
----------------------------------
@@ -62,15 +62,15 @@ this, make sure you have the latest version of ``pip`` installed (http://www.pip
6262

6363
::
6464

65-
$ pip install newrelic_plugin_agent[mongodb]
65+
$ pip install newrelic-plugin-agent[mongodb]
6666

6767
or::
6868

69-
$ pip install newrelic_plugin_agent[pgbouncer]
69+
$ pip install newrelic-plugin-agent[pgbouncer]
7070

7171
or::
7272

73-
$ pip install newrelic_plugin_agent[postgresql]
73+
$ pip install newrelic-plugin-agent[postgresql]
7474

7575
If this does not work for you, make sure you are running a recent copy of ``pip`` (>= 1.3).
7676

@@ -110,7 +110,7 @@ The fields for plugin configurations can vary due to a plugin's configuration re
110110

111111
APC Installation Notes
112112
----------------------
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.
114114

115115
Apache HTTPd Installation Notes
116116
-------------------------------
@@ -409,7 +409,7 @@ Configuration Example
409409

410410
Daemon:
411411
user: newrelic
412-
pidfile: /var/run/newrelic/newrelic_plugin_agent.pid
412+
pidfile: /var/run/newrelic/newrelic-plugin-agent.pid
413413

414414
Logging:
415415
formatters:
@@ -419,11 +419,11 @@ Configuration Example
419419
file:
420420
class : logging.handlers.RotatingFileHandler
421421
formatter: verbose
422-
filename: /var/log/newrelic/newrelic_plugin_agent.log
422+
filename: /var/log/newrelic/newrelic-plugin-agent.log
423423
maxBytes: 10485760
424424
backupCount: 3
425425
loggers:
426-
newrelic_plugin_agent:
426+
newrelic-plugin-agent:
427427
level: INFO
428428
propagate: True
429429
handlers: [console, file]
@@ -434,14 +434,14 @@ Configuration Example
434434

435435
Troubleshooting
436436
---------------
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:
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:
438438

439439
::
440440

441441
$ curl http://python-distribute.org/distribute_setup.py | python
442442
$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
443443

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.
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.
445445
- 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.
446446
- If the agent has died and won't restart, remove any files found in ``/var/run/newrelic/``
447447
- If using the Apache HTTP plugin and your stats are blank, ensure the ExtendedStatus directive is on.

0 commit comments

Comments
 (0)