Title: stats.output.uri configuration either to Influx Db and Graphite is not working · Issue #12604 · apache/cloudstack · GitHub
Open Graph Title: stats.output.uri configuration either to Influx Db and Graphite is not working · Issue #12604 · apache/cloudstack
X Title: stats.output.uri configuration either to Influx Db and Graphite is not working · Issue #12604 · apache/cloudstack
Description: problem stats.output.uri configuration either to Influx Db and Graphite is not working versions ACS 4.22 , 4.18 The steps to reproduce the bug Steps to reproduce the issue Install docker on server to test Influx and Graphite Test case wi...
Open Graph Description: problem stats.output.uri configuration either to Influx Db and Graphite is not working versions ACS 4.22 , 4.18 The steps to reproduce the bug Steps to reproduce the issue Install docker on server ...
X Description: problem stats.output.uri configuration either to Influx Db and Graphite is not working versions ACS 4.22 , 4.18 The steps to reproduce the bug Steps to reproduce the issue Install docker on server ...
Opengraph URL: https://github.com/apache/cloudstack/issues/12604
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"stats.output.uri configuration either to Influx Db and Graphite is not working","articleBody":"### problem\n\nstats.output.uri configuration either to Influx Db and Graphite is not working \n\n### versions\n\nACS 4.22 , 4.18\n\n### The steps to reproduce the bug\n\nSteps to reproduce the issue \n\nInstall docker on server to test Influx and Graphite \n\nTest case with Graphite \n\n1. Run the following command \n\ndocker run -d --name graphite --restart=always --network host graphiteapp/graphite-statsd\n\n2. Check the UI for Graphite \n\n\u003cimg width=\"1522\" height=\"812\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/962dd57f-3aab-4301-89c0-363f4f0c00bb\" /\u003e\n\n3. Create a cloudstack prefix just to test \n\necho \"cloudstack.force.test 1 $(date +%s)\" | nc 127.0.0.1 2003\n\n4. Change the global setting parameter \"stats.output.uri \" to \n\ngraphite://192.168.55.152:2003/cloudstack\n\n5. Check the mgmt logs \n\n```\n2026-02-06 12:27:33,836 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:[ctx-1e58bf2a]) (logid:136366d3) Sending VmStats of host Host {\"id\":6,\"name\":\"kvmhost1\",\"type\":\"Routing\",\"uuid\":\"650ff5c6-4cf3-4d26-99a8-ce8c0b9b153f\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:27:33,909 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:[ctx-1e58bf2a]) (logid:136366d3) Sending VmStats of host Host {\"id\":7,\"name\":\"kvmhost2\",\"type\":\"Routing\",\"uuid\":\"c30b8e0d-0a48-40fa-bb57-c2de13513ca5\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:28:33,965 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:[ctx-70dd39e3]) (logid:e4cdfe41) Sending VmStats of host Host {\"id\":6,\"name\":\"kvmhost1\",\"type\":\"Routing\",\"uuid\":\"650ff5c6-4cf3-4d26-99a8-ce8c0b9b153f\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:28:34,034 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:[ctx-70dd39e3]) (logid:e4cdfe41) Sending VmStats of host Host {\"id\":7,\"name\":\"kvmhost2\",\"type\":\"Routing\",\"uuid\":\"c30b8e0d-0a48-40fa-bb57-c2de13513ca5\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:29:34,089 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:[ctx-ea5b7df4]) (logid:8c734224) Sending VmStats of host Host {\"id\":6,\"name\":\"kvmhost1\",\"type\":\"Routing\",\"uuid\":\"650ff5c6-4cf3-4d26-99a8-ce8c0b9b153f\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:29:34,160 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:[ctx-ea5b7df4]) (logid:8c734224) Sending VmStats of host Host {\"id\":7,\"name\":\"kvmhost2\",\"type\":\"Routing\",\"uuid\":\"c30b8e0d-0a48-40fa-bb57-c2de13513ca5\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:30:34,218 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:[ctx-a0dfecab]) (logid:d48b8a46) Sending VmStats of host Host {\"id\":6,\"name\":\"kvmhost1\",\"type\":\"Routing\",\"uuid\":\"650ff5c6-4cf3-4d26-99a8-ce8c0b9b153f\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:30:34,284 DEBUG [c.c.s.StatsCollector] (StatsCollector-5:[ctx-a0dfecab]) (logid:d48b8a46) Sending VmStats of host Host {\"id\":7,\"name\":\"kvmhost2\",\"type\":\"Routing\",\"uuid\":\"c30b8e0d-0a48-40fa-bb57-c2de13513ca5\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:31:34,350 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:[ctx-7de03f78]) (logid:eea8351f) Sending VmStats of host Host {\"id\":6,\"name\":\"kvmhost1\",\"type\":\"Routing\",\"uuid\":\"650ff5c6-4cf3-4d26-99a8-ce8c0b9b153f\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:31:34,416 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:[ctx-7de03f78]) (logid:eea8351f) Sending VmStats of host Host {\"id\":7,\"name\":\"kvmhost2\",\"type\":\"Routing\",\"uuid\":\"c30b8e0d-0a48-40fa-bb57-c2de13513ca5\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:32:34,488 DEBUG [c.c.s.StatsCollector] (StatsCollector-4:[ctx-07ff9180]) (logid:d7d377c2) Sending VmStats of host Host {\"id\":6,\"name\":\"kvmhost1\",\"type\":\"Routing\",\"uuid\":\"650ff5c6-4cf3-4d26-99a8-ce8c0b9b153f\"} to graphite host 192.168.55.152:2003\n2026-02-06 12:32:34,553 DEBUG [c.c.s.StatsCollector] (StatsCollector-4:[ctx-07ff9180]) (logid:d7d377c2) Sending VmStats of host Host {\"id\":7,\"name\":\"kvmhost2\",\"type\":\"Routing\",\"uuid\":\"c30b8e0d-0a48-40fa-bb57-c2de13513ca5\"} to graphite host 192.168.55.152:2003\n\n```\nTest case with Influxdb\n\n1. Run influxdb container \n\ndocker run -d --name influxdb18 --network host -v influxdb_data:/var/lib/influxdb influxdb:1.8\n\n2. Change the stats.output.uri to \"influxdb://192.168.55.152:8086/cloudstack\"\n\n3. Check if the influx db is working \n\napt install influxdb-client\ncurl -X POST \"http://\u003c\u003e:8086/query?q=CREATE+DATABASE+cloudstack\"\ncurl \"http://\u003c\u003e:8086/query?q=SHOW+DATABASES\n\n4. Check the mgmt logs \n\nNothing related to influxdb in logs \n\nRef\n\nhttps://cwiki.apache.org/confluence/display/CLOUDSTACK/StatsCollector+output+to+Graphite\n\nhttps://github.com/apache/cloudstack/commit/840c2fda852b86f51245a31e7cd91cdb0ad4bf49#diff-4964c59e86cff76cb0ed21aaa628e05401cad03389533a13c4887b5d97ce3e2d\n\nhttps://github.com/apache/cloudstack/blob/main/server/src/main/java/com/cloud/server/StatsCollector.java\n\nhttps://github.com/apache/cloudstack/discussions/12065\n\n","author":{"url":"https://github.com/kiranchavala","@type":"Person","name":"kiranchavala"},"datePublished":"2026-02-06T12:32:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/12604/cloudstack/issues/12604"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fc3a8182-7330-fa78-c5a3-825824f980b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98D4:3861F:9B6D08:D3A45A:6A4D4E01 |
| html-safe-nonce | ef2501c417346ddb86404fa1cb54060484de7c9257c8997423ffe9327c755f5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEQ0OjM4NjFGOjlCNkQwODpEM0E0NUE6NkE0RDRFMDEiLCJ2aXNpdG9yX2lkIjoiNDMxNjUxMDYzMDQwMTg4Nzc0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6e8fa557c00bd02d03b86a6d464d679ba3a8478de95790e14694e73cfe66ad32 |
| hovercard-subject-tag | issue:3906538233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/12604/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca16e337f475af49b8c45b540d227ddfad63ea0de54abc513cc357900f7a0f59/apache/cloudstack/issues/12604 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca16e337f475af49b8c45b540d227ddfad63ea0de54abc513cc357900f7a0f59/apache/cloudstack/issues/12604 |
| og:image:alt | problem stats.output.uri configuration either to Influx Db and Graphite is not working versions ACS 4.22 , 4.18 The steps to reproduce the bug Steps to reproduce the issue Install docker on server ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kiranchavala |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width