2

I have setup a free account at grafana.com, but cant seem to add metrics to my dashboard:

On my server I have installed the latest CollectD(5.8.1), I have setup the write_graphite plugin like so:

<Plugin "write_graphite">
 <Carbon>
   Host "MyUserName.grafana.net"
   Port "2003"
   Prefix "collectd."
   EscapeCharacter "_"
   SeparateInstances true
   StoreRates true
   AlwaysAppendDS false
 </Carbon>
</Plugin>

But, when I try to setup a dashboard, I see no CollectD metrics :/

Am I missing a step here?

blade19899
  • 727
  • 1
  • 8
  • 32
  • Do you have the Graphite datasource plugin configured in Grafana? You'll see it in action here https://play.grafana.org/d/000000011/graphite-carbon-metrics?orgId=1 – Phil Nov 21 '18 at 10:13
  • @Phil I have the Graphite data source enabled... Although after having just pressed the "Save & Test" button I get "HTTP Error Method Not Allowed"...? – blade19899 Nov 21 '18 at 10:16
  • If you go into dev tools in your browser, open the network tab, and try the 'Save & Test' button again, you should get a more detailed error. This will tell us what is happening on your Graphite server. – Phil Nov 21 '18 at 11:11
  • Console did not show anything; but Network tab did. "405 POST Method Not Allowed"... – blade19899 Nov 21 '18 at 12:26
  • That's to do with your server, and not Grafana. Your endpoint doesn't allow HTTP POST methods, I'm not sure how you would enable that. – Phil Nov 21 '18 at 14:30
  • ... So how do I push metrics from my server to the grafana.net instance? – blade19899 Nov 22 '18 at 09:40
  • I don't think you can. You have to poll your server from Grafana. – Phil Nov 22 '18 at 16:31
  • @Phil what exactly do you mean by poll? – blade19899 Nov 23 '18 at 12:21
  • You data source plugin will 'poll' your Graphite DB. The datasource plugin is a module that runs in Grafana and asks Graphite for data over an HTTP connection. Do you have that installed in your Grafana instance? – Phil Nov 26 '18 at 12:24

0 Answers0