質問編集履歴
2
jnchito さんの追加の質問への回答
title
CHANGED
File without changes
|
body
CHANGED
@@ -202,4 +202,25 @@
|
|
202
202
|
|
203
203
|
はい、ご推察いただいたページのLinux部分のドキュメントの通り進めようとしています。具体的には下記URLです。
|
204
204
|
|
205
|
-
[https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/#linux-install](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/#linux-install)
|
205
|
+
[https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/#linux-install](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/#linux-install)
|
206
|
+
|
207
|
+
|
208
|
+
jnchito さん、追加の質問コメントありがとうございます。
|
209
|
+
|
210
|
+
# 追記(2)
|
211
|
+
|
212
|
+
jnchito さんの追加の質問への回答です。
|
213
|
+
|
214
|
+
> エラーメッセージに"Check the install log for more details: /root/.newrelic/newrelic-cli.log"とあります。このログの中身を記載してもらうことは可能でしょうか?
|
215
|
+
|
216
|
+
|
217
|
+
はい、下記がログの中身になります。
|
218
|
+
|
219
|
+
```
|
220
|
+
time="2021-06-23T14:33:43+09:00" level=info msg="Validating connectivity to the New Relic platform..."
|
221
|
+
time="2021-06-23T14:35:51+09:00" level=fatal msg="We encountered an error during the installation: exit status 2: [Error]: Provided credentials have no access to mysql. See https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration#config for more info.. If this problem persists please visit the documentation and support page for additional help here: https://one.newrelic.com/-/06vjAeZLKjP"
|
222
|
+
```
|
223
|
+
|
224
|
+
> あと、mysql-config.ymlのhostnameをlocalhostではなく、127.0.0.1にしたらどうなるか(引き続きエラーになる場合はメッセージが変わらないかどうか)も教えてください。
|
225
|
+
|
226
|
+
mysql-config.ymlのhostnameをlocalhostではなく、127.0.0.1にする、も試してみたのですが、同じエラーメッセージが出てしまいます。
|
1
jnchito さんからいただいたコメントへの回答を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -160,4 +160,46 @@
|
|
160
160
|
|
161
161
|
いい線いってると思ったんですが、解決の糸口が見つかりません。
|
162
162
|
|
163
|
-
どなたかわかる方助けてくださーい!
|
163
|
+
どなたかわかる方助けてくださーい!
|
164
|
+
|
165
|
+
# 追記(1)
|
166
|
+
|
167
|
+
jnchito さんからいただいたコメントに回答いたします。
|
168
|
+
|
169
|
+
> 「MySQL integrationインストール用のコマンドを実行」で書かれているコマンドがどこに載っているのかわからなかったので、記載箇所を教えてください。
|
170
|
+
|
171
|
+
ログイン後の管理画面の「データ追加」ボタンから「MySQL」を選択して出てきたコマンドを取得しました。具体的には下記の画面になります。
|
172
|
+
|
173
|
+

|
174
|
+
右上の[Add more data]をクリックする
|
175
|
+
|
176
|
+

|
177
|
+
MySQLを選択します。
|
178
|
+
|
179
|
+

|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
※非ログインページですと、公式ドキュメントの下記URL部分になるかと思います。
|
184
|
+
|
185
|
+
[https://docs.newrelic.com/docs/full-stack-observability/observe-everything/get-started/new-relic-guided-install-overview/#ohi-recipes](https://docs.newrelic.com/docs/full-stack-observability/observe-everything/get-started/new-relic-guided-install-overview/#ohi-recipes)
|
186
|
+
|
187
|
+
---
|
188
|
+
|
189
|
+
> また、 https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/ のInstall and activate > Linuxを読むと最後は「Restart the infrastructure agent.」と書いてあるのですが、この手順は試されましたか?
|
190
|
+
|
191
|
+
はい、全ての手順を終えた後で
|
192
|
+
|
193
|
+
```
|
194
|
+
$ sudo systemctl restart newrelic-infra
|
195
|
+
```
|
196
|
+
|
197
|
+
を試しました。
|
198
|
+
|
199
|
+
---
|
200
|
+
|
201
|
+
> kamiokanさんが参考にしている手順書がいまいちハッキリしないので、「このドキュメントの通りに進めようとしています」と、URLを明記してもらえるとこちらも回答しやすいかもしれません。( https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/ でしょうか?)
|
202
|
+
|
203
|
+
はい、ご推察いただいたページのLinux部分のドキュメントの通り進めようとしています。具体的には下記URLです。
|
204
|
+
|
205
|
+
[https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/#linux-install](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/mysql-monitoring-integration/#linux-install)
|