unable to view graphs

Asked by v

I have installed graphite and running the example-client.py, I can see that the database is building up but I am not able to see the graphs, I get "NO data" in the view.
[viven-desktop: ~]$ ls /usr/local/graphite/storage/whisper/servers/viven-desktop/backend/system/
loadavg_15min.wsp loadavg_1min.wsp loadavg_5min.wsp

I can see the treeview to the left only until one depth, there is nothing after graphite->servers or graphite->carbon.

This is the example-client.py that I modified:
  lines.append("servers.viven-desktop.backend.system.loadavg_1min %s %d" % (loadavg_1,now))
  lines.append("servers.viven-desktop.backend.system.loadavg_5min %s %d" % (loadavg_5,now))
  lines.append("servers.viven-desktop.backend.system.loadavg_15min %s %d" % (loadavg_15,now))

This is what I wrote in /usr/local/graphite/storage/schemas file
[server_load]
priority = 100
pattern = ^servers\.
retentions = 60:43200,900:350400

Everything seems to running fine(example-client.py does not complain, carbon-deamon is running on tcp-2003), but I am not able to see the graphs in the window. I only see the composer window empty black color with "No data" written in the middle.

thanks
C Viven Rajendra
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
chrismd
Solved:
Last query:
Last reply:
Revision history for this message
v (vvn) said :
#1

I was able to view the graphs in the composer window after manually typing the entire path "servers.viven-desktop.backend.system.loadavg_15min" in the "auto-complete" tab.
I am not able to see them in the tree view.

Revision history for this message
chrismd (chrismd) said :
#2

Are you using IE or FireFox? What version?

Revision history for this message
Best chrismd (chrismd) said :
#3

Actually this is a bug and I am currently working on it. See Bug #244085.

Revision history for this message
v (vvn) said :
#4

Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5

Revision history for this message
v (vvn) said :
#5

Thanks chrismd, that solved my question.

Revision history for this message
Dimitry Braznichenko (dimab0) said :
#6

I think I am having a very similar problem. I am using graphite 0.9.2 and have not modified the example-client.py file at all. At first I thought I was specifying the target wrong in the URL but it all seems correct...composer just displays "No Data". I have tried the suggested entering in the full target path in the autocomplete, but that returns nothing. Any other ideas, anything I'm missing? Carbon agent is running, so is the example-client. the carbon agent.log and cache.log have no errors.

Revision history for this message
Dimitry Braznichenko (dimab0) said :
#7

Actually, just noticed - there is nothing under the /storage/whisper/ directory. I understand that the data should be shown there? How can the client be sending messages and whisper not storing them?

Revision history for this message
v (vvn) said :
#8

Are you using python runserver or through apache?, I faced similar issue when using runserver, I observed that whisper was not updating the database while using runserver.

Revision history for this message
Dimitry Braznichenko (dimab0) said :
#9

I am using apache. I now can see 6 graphs, titled 'avgUpdateTime', 'committedPoints', 'creates', 'errors', 'pointsPerUpdate', and 'updateOperations' all under the whisper directory, with paths like carbon.agents.test01.avgUpdateTime etc. I am running the example-client.py, so where are my 'system.loadavg_1min.wsp' files? Where are these 6 coming from?

Revision history for this message
Dimitry Braznichenko (dimab0) said :
#10

Nevermind, got my files to show. Was running the three carbon processes under different usernames...still not sure what the other 6 graphs are - inherent to graphite? What do they display?