Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* New Relic PostgreSQLプラグイン [#j6a9c1a5]
** 前提 [#hed49015]
- 監視対象のサーバはLinux CentOSとする。
** PostgreSQLプラグインの確認 [#cea7c60d]
- New Relicの管理画面にログインする。
- 左メニューの"Plugins"を押下する。
- "MeetMe, Inc."のPostgreSQLプラグインを押下する。
- "Download"ボタンを押下すると、プラグインの詳細説明画面...
** エージェント・PostgreSQLプラグインのインストール [#xfc...
*** psycopg2インストール [#j5c2c2fd]
yum install python-psycopg2
*** eazy_install/pipインストール [#bddc1812]
yum install python-setuptools
easy_install pip
*** エージェント・PostgreSQLプラグインインストール [#yeb1...
pip install newrelic-plugin-agent
pip install newrelic_plugin_agent[postgresql]
** エージェントの設定 [#zfea6489]
cp /opt/newrelic_plugin_agent/newrelic_plugin_agent.cfg ...
vi /etc/newrelic/newrelic_plugin_agent.cfg
Application:
license_key: 1234567ABCDEFG1234567ABCDEG1234567
postgresql:
host: localhost
port: 5432
user: postgres
dbname: postgres
superuser: False
** エージェント起動 [#x65c5c58]
*** エージェントを起動 [#t980e126]
newrelic_plugin_agent -c /etc/newrelic/newrelic_plugin_a...
*** エージェントのログを確認 [#ja65f094]
tail -f /var/log/newrelic/newrelic_plugin_agent.log
** 参考 [#qdbf12d1]
- https://pypi.python.org/pypi/newrelic_plugin_agent
- サポートサイト: https://github.com/MeetMe/newrelic-plu...
終了行:
* New Relic PostgreSQLプラグイン [#j6a9c1a5]
** 前提 [#hed49015]
- 監視対象のサーバはLinux CentOSとする。
** PostgreSQLプラグインの確認 [#cea7c60d]
- New Relicの管理画面にログインする。
- 左メニューの"Plugins"を押下する。
- "MeetMe, Inc."のPostgreSQLプラグインを押下する。
- "Download"ボタンを押下すると、プラグインの詳細説明画面...
** エージェント・PostgreSQLプラグインのインストール [#xfc...
*** psycopg2インストール [#j5c2c2fd]
yum install python-psycopg2
*** eazy_install/pipインストール [#bddc1812]
yum install python-setuptools
easy_install pip
*** エージェント・PostgreSQLプラグインインストール [#yeb1...
pip install newrelic-plugin-agent
pip install newrelic_plugin_agent[postgresql]
** エージェントの設定 [#zfea6489]
cp /opt/newrelic_plugin_agent/newrelic_plugin_agent.cfg ...
vi /etc/newrelic/newrelic_plugin_agent.cfg
Application:
license_key: 1234567ABCDEFG1234567ABCDEG1234567
postgresql:
host: localhost
port: 5432
user: postgres
dbname: postgres
superuser: False
** エージェント起動 [#x65c5c58]
*** エージェントを起動 [#t980e126]
newrelic_plugin_agent -c /etc/newrelic/newrelic_plugin_a...
*** エージェントのログを確認 [#ja65f094]
tail -f /var/log/newrelic/newrelic_plugin_agent.log
** 参考 [#qdbf12d1]
- https://pypi.python.org/pypi/newrelic_plugin_agent
- サポートサイト: https://github.com/MeetMe/newrelic-plu...
ページ名: