Active IQ Unified Manager Discussions

[Harvest] Graphite is not work

kkusunoki
4,011 Views

I followed this guide to install graphite on ubuntu 14.04(VM).

I completely did all steps to install/configure Graphite.

On step 5 "Verify Operations"(p.20), finally, I did "echo "test.metric 50 `date +%s`" | nc 127.0.0.1 2003" on this VM.

But I cannot see anything on the right tree of graphite-web.

 

Screen Shot 2016-01-25 at 15.18.52.png

 

Expecting misconfigured carbon, I checked the logs and db as follows.

 

root@harvest-graphite:~# date
Thu Mar  3 13:33:40 JST 2016
root@harvest-graphite:~# echo "test.metric 50 `date +%s`" | nc 127.0.0.1 2003
root@harvest-graphite:~# tail -n5 /var/log/carbon/listener.log
03/03/2016 13:18:20 :: MetricLineReceiver connection with 127.0.0.1:58116 closed cleanly
03/03/2016 13:18:27 :: MetricLineReceiver connection with 127.0.0.1:58117 established
03/03/2016 13:18:27 :: MetricLineReceiver connection with 127.0.0.1:58117 closed cleanly
03/03/2016 13:33:50 :: MetricLineReceiver connection with 127.0.0.1:45147 established
03/03/2016 13:33:50 :: MetricLineReceiver connection with 127.0.0.1:45147 closed cleanly
root@harvest-graphite:~# tail -n5 /var/log/carbon/creates.log
03/03/2016 02:24:59 :: new metric carbon.agents.harvest-graphite-a.pointsPerUpdate matched aggregation schema default_average
03/03/2016 02:24:59 :: creating database file /var/lib/graphite/whisper/carbon/agents/harvest-graphite-a/pointsPerUpdate.wsp (archive=[(60, 129600)] xff=0.5 agg=average)
03/03/2016 02:36:14 :: new metric test.metric matched schema default_1min_for_1day
03/03/2016 02:36:14 :: new metric test.metric matched aggregation schema default_average
03/03/2016 02:36:14 :: creating database file /var/lib/graphite/whisper/test/metric.wsp (archive=[(60, 1440)] xff=0.5 agg=average)
root@harvest-graphite:~# ls -all //var/lib/graphite/whisper/test/
total 28
drwxr-xr-x 2 _graphite _graphite  4096 Mar  3 02:36 .
drwxr-xr-x 4 _graphite _graphite  4096 Mar  3 02:36 ..
-rw-r--r-- 1 _graphite _graphite 17308 Mar  3 13:33 metric.wsp

 

But obviously "metric" is successfully listened and created.

Could you tell me how I could see test metric on the graph of graphite-web?

Any suggestion is really appreciated.

1 ACCEPTED SOLUTION

madden
3,953 Views

Hi @kkusunoki,

 

No worries, glad you solved it because the linux layer details you provided were looking good!

 

Cheers,
Chris Madden

Storage Architect, NetApp EMEA (and author of Harvest)

Blog: It all begins with data

 

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO

 

View solution in original post

2 REPLIES 2

kkusunoki
3,993 Views

I'd like to close this.

I was so stupid that I didn't notice ublock blocked only "carbon" on graphite-web.

I didn't recognized this 'cause ublock don't report that it block "carbon" without pointing/clicking Graphite...

 

Sorry for bothering you.

madden
3,954 Views

Hi @kkusunoki,

 

No worries, glad you solved it because the linux layer details you provided were looking good!

 

Cheers,
Chris Madden

Storage Architect, NetApp EMEA (and author of Harvest)

Blog: It all begins with data

 

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO

 

Public