← Back to team overview

graphite-dev team mailing list archive

[Question #291481]: error 404 when accessing /metrics/

 

New question #291481 on Graphite:
https://answers.launchpad.net/graphite/+question/291481

Hi,

So, I've managed to install Graphite and can access the console.

Sensu is running on the same server as well and pushing metrics into carbon-cache using the metrics-vmstat.rb plugin

I can see the metrics are created:

[root@sendbox1 sendbox1-a]# pwd 
/opt/graphite/storage/whisper/carbon/agents/sendbox1-a
[root@sendbox1 sendbox1-a]# ll | grep wsp
-rw-rw-rw- 1 root root 1555228 Apr 12 16:25 activeConnections.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 avgUpdateTime.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 blacklistMatches.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 committedPoints.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 cpuUsage.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 creates.wsp
-rw-rw-rw- 1 root root 1555228 Apr 12 16:25 droppedCreates.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 errors.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 memUsage.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 metricsReceived.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 pointsPerUpdate.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 updateOperations.wsp
-rw-rw-rw- 1 root root 1555228 Apr 19 19:11 whitelistRejects.wsp
[root@sendbox1 sendbox1-a]# 

I wish to see the metrics on the Graphite console, but nothing appears under the "Metrics" tree root, when I try to expend it.

Looking at the HTTPD logs I can see the following 404 error in the access log (nothing else in the rest of the HTTPD logs):

192.168.174.102 - - [19/Apr/2016:18:22:05 +0300] "GET /metrics/find/?_dc=1461078899567&query=*&format=treejson&contexts=1&path=&node=GraphiteTree HTTP/1.1" 400 34

When I try to access this URL directly from my browser (e.g the URL I’m hitting is http://sendbox1/metrics/find/?_dc=1461078899567&query=*&format=treejson&contexts=1&path=&node=GraphiteTree)
I get the following response on my browser:

"Missing required parameter 'query'"

Any ideas how to deal with this one?  

I’d be happy to provide any additional information if required

Thanks for the help

Ran



-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.