-1

Nginx newrelic nginx プラグインをインストールして動作させようとしています: http://newrelic.com/plugins/nginx-inc/13

正しくインストールされ、実行されているように見えますが、newrelic コンソールにデータが表示されません。

nginx モジュールが構成され、正常に動作していること、およびエージェントが期待どおりに動作していることはわかっています。また、newrelic はプラグインが実行されていることを認識し、コンソールにプラグイン セクションを作成しました。

プラグインに問題がないことを確認するために ./newrelic_nginx_agent を実行すると、次のような出力が得られます。

[root@nginx1:newrelic_nginx_agent]$ ./newrelic_nginx_agent
Faraday: you may want to install system_timer for reliable timeouts
[Fri Aug 02 21:01:27 UTC 2013] Agent Nginx is at version 1.0.1
active=39 accepts=4098 handled=4098 requests=12502 reading=20 writing=3 waiting=16
[Fri Aug 02 21:01:27 UTC 2013] Metrics for nginx1[com.nginx.newrelic-agent] for last 60 seconds:
[Fri Aug 02 21:01:28 UTC 2013]   Sent 4 metrics to New Relic [https://platform-api.newrelic.com]:
[Fri Aug 02 21:01:28 UTC 2013]     Component/Connections/Active[Connections]: count: 1, total: 39.0, min: 39.0, max: 39.0, sum_of_squares: 1521.0
[Fri Aug 02 21:01:28 UTC 2013]     Component/Connections/Reading[Connections]: count: 1, total: 20.0, min: 20.0, max: 20.0, sum_of_squares: 400.0
[Fri Aug 02 21:01:28 UTC 2013]     Component/Connections/Writing[Connections]: count: 1, total: 3.0, min: 3.0, max: 3.0, sum_of_squares: 9.0
[Fri Aug 02 21:01:28 UTC 2013]     Component/Connections/Waiting[Connections]: count: 1, total: 16.0, min: 16.0, max: 16.0, sum_of_squares: 256.0
[Fri Aug 02 21:01:28 UTC 2013] Gathered 4 statistics

数秒後、追加の出力が得られます。

active=42 accepts=4176 handled=4176 requests=12735 reading=18 writing=1 waiting=23
[Fri Aug 02 21:03:27 UTC 2013] Metrics for nginx1[com.nginx.newrelic-agent] for last 60 seconds:
[Fri Aug 02 21:03:28 UTC 2013]   Sent 6 metrics to New Relic [https://platform-api.newrelic.com]:
[Fri Aug 02 21:03:28 UTC 2013]     Component/Connections/Active[Connections]: count: 1, total: 42.0, min: 42.0, max: 42.0, sum_of_squares: 1764.0
[Fri Aug 02 21:03:28 UTC 2013]     Component/Connections/Reading[Connections]: count: 1, total: 18.0, min: 18.0, max: 18.0, sum_of_squares: 324.0
[Fri Aug 02 21:03:28 UTC 2013]     Component/Connections/Writing[Connections]: count: 1, total: 1.0, min: 1.0, max: 1.0, sum_of_squares: 1.0
[Fri Aug 02 21:03:28 UTC 2013]     Component/Connections/Waiting[Connections]: count: 1, total: 23.0, min: 23.0, max: 23.0, sum_of_squares: 529.0
[Fri Aug 02 21:03:28 UTC 2013]     Component/Requests[Requests/Seconds]: count: 1, total: 1.8657934131562, min: 1.8657934131562, max: 1.8657934131562, sum_of_squares: 3.48118506057705
[Fri Aug 02 21:03:28 UTC 2013]     Component/Accepts[Connections/Seconds]: count: 1, total: 0.699672564900836, min: 0.699672564900836, max: 0.699672564900836, sum_of_squares: 0.489541698074914
[Fri Aug 02 21:03:28 UTC 2013] Gathered 6 statistics

等々...

フォーラムやgitリポジトリ、またはこれに関するサポートを受けることができる場所は見つかりませんでした。Newrelic は、nginx がそれをサポートすると述べていますが、このプラグインに関するサポート フォーラムやリンクさえありません。

これをデバッグまたは修正する方法について誰か考えがありますか?

4

1 に答える 1

0

たぶん、私はあまりにもせっかちでした。リロード後、コンソールにデータが表示されるようになりました。

于 2013-08-02T21:09:37.163 に答える