← Back to team overview

graphite-dev team mailing list archive

Re: [Question #114206]: Cluster servers - what am i doing wrong?

 

Question #114206 on Graphite changed:
https://answers.launchpad.net/graphite/+question/114206

    Status: Open => Answered

chrismd proposed the following answer:
Hm... your configuration looks correct. Try browsing the tree on
graphite-dev and look at the access log on graphite-dev2 (usually in
$GRAPHITE_ROOT/storage/log/webapp/webapp-access.log). You should see
requests like this:

10.20.30.40 - - [12/Jun/2010:13:04:05 -0500] "GET
/metrics/find/?local=1&format=pickle&query=foo.bar.* HTTP/1.1" 200 826

If you do not see a request for /metrics/find/ coming from the graphite-
dev server then either the request is being blocked by a firewall or the
request isn't being made in the first place and we need to troubleshoot
graphite-dev. To do that, edit
$GRAPHITE_ROOT/webapp/graphite/remote_storage.py, in the FindRequest
class change the line "suppressErrors = True" to "suppressErrors =
False". Then restart graphite on graphite-dev. This will cause requests
to browse the hierarchy to fail and you can see whatever the error is by
enabling "DEBUG = True" in your local_settings.py and using firebug to
see the error responses from the browser's ajax calls.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.