问题描述
我尝试按照 https://github.com/MeetMe中的说明安装MeetMe newrelic-plugin-agent
/newrelic-plugin-agent 与PIP
I tried to install MeetMe newrelic-plugin-agent
as described in https://github.com/MeetMe/newrelic-plugin-agent with PIP
但是,我收到此错误消息:
but, I have this error message :
#pip install newrelic-plugin-agent
Downloading/unpacking newrelic-plugin-agent
Real name of requirement newrelic-plugin-agent is newrelic_plugin_agent
Could not find any downloads that satisfy the requirement newrelic-plugin-agent
No distributions at all found for newrelic-plugin-agent
日志为:
------------------------------------------------------------
/usr/local/bin/pip run on Sun Jun 23 12:21:48 2013
Downloading/unpacking newrelic-plugin-agent
Getting page https://pypi.python.org/simple/newrelic-plugin-agent/
Could not fetch URL https://pypi.python.org/simple/newrelic-plugin-agent/: HTTP Error 404: Not Found (newrelic_plugin_agent does not have any releases)
Will skip URL https://pypi.python.org/simple/newrelic-plugin-agent/ when looking for download links for newrelic-plugin-agent
Getting page https://pypi.python.org/simple/
Real name of requirement newrelic-plugin-agent is newrelic_plugin_agent
URLs to search for versions for newrelic-plugin-agent:
* https://pypi.python.org/simple/newrelic_plugin_agent/
Getting page https://pypi.python.org/simple/newrelic_plugin_agent/
Could not fetch URL https://pypi.python.org/simple/newrelic_plugin_agent/: HTTP Error 404: Not Found (newrelic_plugin_agent does not have any releases)
Will skip URL https://pypi.python.org/simple/newrelic_plugin_agent/ when looking for download links for newrelic-plugin-agent
Could not find any downloads that satisfy the requirement newrelic-plugin-agent
感谢您的帮助.
推荐答案
今天在Ubuntu 12.04上安装了插件代理后,我增强了MeetMe提供的指南.请尝试以下步骤:
After installing the Plugin Agent today on Ubuntu 12.04, I enhanced the guide that MeetMe provides.Try the following steps:
-
安装点子:
Install pip:
$ sudo apt-get install python-pip python-dev build-essential
$ sudo pip install --upgrade pip
$ sudo pip install --upgrade virtualenv
对于某些插件,可能还会有其他安装,因此请查看插件说明.[例如,MongoDB插件需要Mongo的python驱动程序]
For certain plugins there might be additional installations, so check out the plugin instructions.[MongoDB plugin for example needs python driver for Mongo]
将配置文件示例复制到/etc/newrelic/newrelic_plugin_agent.cfg并在该文件中编辑配置以启用该插件并设置New Relic许可证密钥:
Copy the configuration file example to /etc/newrelic/newrelic_plugin_agent.cfg and edit the configuration in that file to enable the plugin and set the New Relic license key:
$ sudo cp /opt/newrelic_plugin_agent/etc/newrelic/newrelic_plugin_agent.cfg /etc/newrelic/newrelic_plugin_agent.cfg
将newrelic文件夹的所有权更改为newrelic用户:
Change ownership of newrelic folders to newrelic user:
$ sudo chown newrelic:newrelic /var/run/newrelic
$ sudo chown newrelic:newrelic /var/log/newrelic
运行代理:
$ sudo newrelic_plugin_agent -c /etc/newrelic/newrelic_plugin_agent.cfg
如果该进程没有停顿,请尝试将其作为前台进程运行并签出输出:
If the process is not staying up try to run it as foreground process and check out the output:
$ sudo newrelic_plugin_agent -c /etc/newrelic/newrelic_plugin_agent.cfg -f
这篇关于找不到满足要求的下载文件newrelic-plugin-agent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!