Cactiusers.org


It is currently Mon May 21, 2012 5:07 pm




Post new topic Reply to topic  [ 3 posts ] 
 Graphs not showing up in tree view only. 
Author Message
New User

Joined: Tue Oct 31, 2006 10:39 am
Posts: 2
Post Graphs not showing up in tree view only.
I have a working install of cacti 8.6h-06 running on Fedora Core 4. Several weeks ago a contractor got on the wrong host and reinstalled httpd and several other packages, completely hosing cacti. (Needless to say it won't happen again.)

After a few hours of work I got everything straightened out, except for one perplexing problem. When I add a new device, add it to the tree, create graphs etc, the graphs show up in list and preview views but not in the tree view. The host is there, but no graphs are rendered when the host is selected.

I would appreciate any help anyone might offer. I can still get accurate graphs through the other two modes, but the tree view is really convenient.

I am adding a couple of snippets from the /var/log/httpd logfile below.

This is a log segment when I click one of my old hosts in tree view.

192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /graph_view.php?action=tree&tree_id=1&leaf_id=71 HTTP/1.1" 200 22257
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /include/main.css HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /include/treeview/ua.js HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /include/treeview/ftiens4.js HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /include/jscalendar/calendar.js HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /include/jscalendar/lang/calendar-en.js HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /include/jscalendar/calendar-setup.js HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /images/tab_console.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:07 -0600] "GET /images/tab_graphs.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/tab_settings.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/cacti_backdrop2.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/tab_mode_tree_down.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/tab_mode_list.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/tab_mode_preview.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/shadow_gray.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /images/shadow.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /include/treeview/ftv2blank.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /include/treeview/ftv2mlastnode.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /include/treeview/ftv2plastnode.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /include/treeview/ftv2pnode.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:08 -0600] "GET /include/treeview/ftv2vertline.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /include/treeview/ftv2mnode.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /images/transparent_line.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /include/treeview/ftv2lastnode.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /include/treeview/ftv2node.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /images/calendar.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /images/button_refresh.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /images/button_clear.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET /images/graph_zoom.gif HTTP/1.1" 304 -
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET

/graph_image.php?local_graph_id=329&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 4088
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET

/graph_image.php?local_graph_id=336&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 4084
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET

/graph_image.php?local_graph_id=337&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 4003
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET

/graph_image.php?local_graph_id=338&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 4058
192.168.17.200 - - [31/Oct/2006:13:26:09 -0600] "GET

/graph_image.php?local_graph_id=340&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 4430
192.168.17.200 - - [31/Oct/2006:13:26:10 -0600] "GET

/graph_image.php?local_graph_id=341&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 4421
192.168.17.200 - - [31/Oct/2006:13:26:10 -0600] "GET

/graph_image.php?local_graph_id=339&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5264
192.168.17.200 - - [31/Oct/2006:13:26:10 -0600] "GET

/graph_image.php?local_graph_id=342&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5879
192.168.17.200 - - [31/Oct/2006:13:26:10 -0600] "GET

/graph_image.php?local_graph_id=330&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5812
192.168.17.200 - - [31/Oct/2006:13:26:10 -0600] "GET

/graph_image.php?local_graph_id=331&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5856
192.168.17.200 - - [31/Oct/2006:13:26:10 -0600] "GET

/graph_image.php?local_graph_id=332&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5880
192.168.17.200 - - [31/Oct/2006:13:26:11 -0600] "GET

/graph_image.php?local_graph_id=334&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5212
192.168.17.200 - - [31/Oct/2006:13:26:11 -0600] "GET

/graph_image.php?local_graph_id=335&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5080
192.168.17.200 - - [31/Oct/2006:13:26:11 -0600] "GET

/graph_image.php?local_graph_id=333&rra_id=0&view_type=tree&graph_start=1162149967&graph_end=1162322767 HTTP/1.1" 200 5994

This is all I get when I click on the new hosts. The graph view page renders, but obviously with no content.

192.168.17.200 - - [31/Oct/2006:13:39:42 -0600] "GET /graph_view.php?action=tree&tree_id=1&leaf_id=83 HTTP/1.1" 200 11912


Tue Oct 31, 2006 11:05 am
New User

Joined: Fri Nov 03, 2006 11:11 am
Posts: 1
Post 
I had the same problem on a new install. This is what worked for me:
Under console click "Graph Trees". Click the tree that is not graphing. click each Host that is not graphing and click "Save" (no need to change anything).

The graphs started showing up in tree view right after i did that.


Fri Nov 03, 2006 11:18 am
New User

Joined: Tue Oct 31, 2006 10:39 am
Posts: 2
Post You Rock!!
A big thanks for your reply! It fixed things immediately, exactly as you said. I don't understand quite what changed that caused this, but muchas gracias for your help.


Fri Nov 03, 2006 11:37 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: