Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] psconfig-grafana-agent.log errors

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] psconfig-grafana-agent.log errors


Chronological Thread 
  • From: Andrew Lake <>
  • To: Johann Hugo <>, "" <>
  • Subject: Re: [perfsonar-user] psconfig-grafana-agent.log errors
  • Date: Tue, 15 Apr 2025 22:13:41 +0000

Hi Johann,

That error usually means it can’t an HTTP archiver, but looks like you have one of those. In /etc/perfsonar/psconfig/grafana-agent.json do you have any of the following:

-  Is "grafana-datasource-create” set to false? That would cause the issue you see below. If it is not set at all then it will default to true and you are fine.
- Are any of the “datasource_selector” settings under the “display” settings set to “manual” instead of "auto”? That could also cause this.

Otherwise at first glance it looks good.

Thanks,
Andy


On April 15, 2025 at 12:35:41 PM, Johann Hugo () wrote:

Hi all

psconfig-grafana-agent do not generate any grafana dashboards from my psconfig file.

psconfig remote list
=== Grafana Agent ===
[
   {
      "url": "http://perf-pwa.sanren.ac.za/pub/config/sanren_100g_servers.json?format=psconfig"
   }
]

=== HostMetrics Agent ===
[
   {
      "url": "http://perf-pwa.sanren.ac.za/pub/config/sanren_100g_servers.json?format=psconfig"
   }
]

psconfig stats grafana
Agent Last Run Start Time: 2025-04-15 15:13:03
Agent Last Run End Time: 2025-04-15 15:13:04
Agent Last Run Process ID (PID): 80884
Agent Last Run Log GUID: 2dec2519-4c0f-45b7-b449-45d380436824
Total tasks managed by agent: 0

All the testpoints in the mesh are reading the psconfig file and they are submitting results to opensearch. I can see test results in Grafana

This is the errors I get in psconfig-grafana-agent.log

2025-04-15 15:13:04 WARNING pid=80884 prog=_gf_set_home_dashboard line=713 guid=2dec2519-4c0f-45b7-b449-45d380436824 pscheduler_assist_url=https://localhost/pscheduler msg=Unable to set home dashboard: HTTP Error - 403 Client Error: Forbidden for url: https://localhost/grafana/api/org/preferences
2025-04-15 15:13:04 ERROR pid=80884 prog=_gf_create_datasource line=589 guid=2dec2519-4c0f-45b7-b449-45d380436824 config_src=remote config_url=http://perf-pwa.sanren.ac.za/pub/config/sanren_100g_servers.json?format=psconfig msg=Unable to create datasource for https://perf-dash.sanren.ac.za/opensearch: HTTP Error - 403 Client Error: Forbidden for url: https://localhost/grafana/api/datasources
2025-04-15 15:13:04 ERROR pid=80884 prog=_select_gf_datasource line=678 guid=2dec2519-4c0f-45b7-b449-45d380436824 config_src=remote config_url=http://perf-pwa.sanren.ac.za/pub/config/sanren_100g_servers.json?format=psconfig msg=Unable to find a suitable archive to use as Grafana datasource
2025-04-15 15:13:04 ERROR pid=80884 prog=_gf_create_datasource line=589 guid=2dec2519-4c0f-45b7-b449-45d380436824 config_src=remote config_url=http://perf-pwa.sanren.ac.za/pub/config/sanren_100g_servers.json?format=psconfig msg=Unable to create datasource for https://perf-dash.sanren.ac.za/opensearch: HTTP Error - 403 Client Error: Forbidden for url: https://localhost/grafana/api/datasources
2025-04-15 15:13:04 ERROR pid=80884 prog=_select_gf_datasource line=678 guid=2dec2519-4c0f-45b7-b449-45d380436824 config_src=remote config_url=http://perf-pwa.sanren.ac.za/pub/config/sanren_100g_servers.json?format=psconfig msg=Unable to find a suitable archive to use as Grafana datasource
2025-04-15 15:13:04 INFO pid=80884 prog=<module> line=106 guid=2dec2519-4c0f-45b7-b449-45d380436824 msg=Agent completed running

Is this a password or token related issue? Any ideas/pointers ?

Regards
Johann
--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user



Archive powered by MHonArc 2.6.24.

Top of Page