Not able to see the Graph Trees
Moderators: Developers, Moderators
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
Not able to see the Graph Trees
I have added the graphs to the tree and I am able to see the complete structure in the 'graphs' tab (besides the console tab).
There the graphs are showing fine, but I am not able to view the tree in the console. I am not sure where I goofed up, but it was working fine till I added all the graphs to the tree yesterday. When I click on the graph tree in the console tab, IE shows "Internet Explorer cannot display the webpage" and firefox sits blank.
Other things are working absolutely fine.
Following things may be of some use:
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Attached is the attachment of the screen shot that I get when I click on the tree.
Please help on this and what other data I need to submit to get this problem resolved.
There the graphs are showing fine, but I am not able to view the tree in the console. I am not sure where I goofed up, but it was working fine till I added all the graphs to the tree yesterday. When I click on the graph tree in the console tab, IE shows "Internet Explorer cannot display the webpage" and firefox sits blank.
Other things are working absolutely fine.
Following things may be of some use:
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Attached is the attachment of the screen shot that I get when I click on the tree.
Please help on this and what other data I need to submit to get this problem resolved.
- Attachments
-
- cacti_error.JPG (76.43 KiB) Viewed 4152 times
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Tech Support page in Cacti and Apache error_log file.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
Thanks for the reply, TheWitness.
Please find the attached tech support file attached along with this post. Please guide how I can find the apache_error log file.
FYI...
after the 'corruption' of the first tree, I created another tree manually and it also is giving the same problem. In need of urgent attention, please help.
The following url's show a blank page:
http://***/tree.php?action=edit&id=2
http://***/tree.php?action=edit&id=3
The first url is of old tree and second one is of new tree. All my efforts of recreating a new tree structure failed, since I am facing the same problem with the new tree as with the old tree.
Thanks.
Jigar Balani
Please find the attached tech support file attached along with this post. Please guide how I can find the apache_error log file.
FYI...
after the 'corruption' of the first tree, I created another tree manually and it also is giving the same problem. In need of urgent attention, please help.
The following url's show a blank page:
http://***/tree.php?action=edit&id=2
http://***/tree.php?action=edit&id=3
The first url is of old tree and second one is of new tree. All my efforts of recreating a new tree structure failed, since I am facing the same problem with the new tree as with the old tree.
Thanks.
Jigar Balani
- Attachments
-
- tech_support.txt
- (12.26 KiB) Downloaded 241 times
Last edited by jigarbalani on Fri Oct 24, 2008 6:09 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
With regard to the Tree not populating, you must provide the page source (HTML). Post it here.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Depending on your system, the Apache error log is located:
/var/log/httpd/error_log..
TheWitness
/var/log/httpd/error_log..
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
I am also working with Jigar on this problem.
This is a strange error in that no errors are being raised by HTTP daemon (Apache 2 in this case). When I make a request for /tree.php?action=edit&id=2, I'm not even getting anything in the response.
For example:
I'm only just now familiarizing myself with the Cacti codebase, so I'm wondering if there are any debugging options that can help me track where within the page generation things are failing.
This is a strange error in that no errors are being raised by HTTP daemon (Apache 2 in this case). When I make a request for /tree.php?action=edit&id=2, I'm not even getting anything in the response.
For example:
Code: Select all
tom-servo:~ jonathan$ socat readline: tcp4:xxx.xxx.xxx.xxx:80
GET /tree.php?action=edit&id=2 HTTP/1.1
Host: cacti.xxxxx.com
Cookie: Cacti=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
tom-servo:~ jonathan$ socat readline: tcp4:xxx.xxx.xxx.xxx:80
GET / HTTP/1.1
Host: cacti.xxxxx.com
Cookie: Cacti=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
HTTP/1.1 200 OK
Date: Thu, 23 Oct 2008 23:15:31 GMT
Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/4.4.4-8+etch6
X-Powered-By: PHP/4.4.4-8+etch6
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Last-Modified: Thu, 23 Oct 2008 23:15:44 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 5668
Content-Type: text/html; charset=UTF-8
<html>
** Generated page continues here... ***
I'm only just now familiarizing myself with the Cacti codebase, so I'm wondering if there are any debugging options that can help me track where within the page generation things are failing.
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
Jo, good to find you here.
TheWitness,
I tried uploading the html file, but it didnt work. Please find the attached rar file, in which the html file is in compressed form.
TheWitness,
I tried uploading the html file, but it didnt work. Please find the attached rar file, in which the html file is in compressed form.
- Attachments
-
- tech.rar
- (6.35 KiB) Downloaded 138 times
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
Still waiting for the reply.
Also the url indicates as
'http://xxx/tree.php?action=edit&id=2'
It was the first tree of the cacti so it should have started with the id=1 instead of 2. Is there any issue with large and complex tree structure?
I have tried making the tree structure smaller and will monitor it
Please guide if any further information is required to resolve the issue.
Also the url indicates as
'http://xxx/tree.php?action=edit&id=2'
It was the first tree of the cacti so it should have started with the id=1 instead of 2. Is there any issue with large and complex tree structure?
I have tried making the tree structure smaller and will monitor it
Please guide if any further information is required to resolve the issue.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sorry, e-mail was broke and I have been doing other things. Will take a look momentarily.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok, well two things:
1) Increase the memory_limit for PHP to something much greater than it currently is and then restart Apache.
2) Your graphs tree's may be corrupted. After you make the change above, you need to view the Graph Tree again, and if it does not display properly, grab the page source and post it here.
You may have to delete a few graph tree items to get this back and operational again.
This memory limit problem may explain an open bug. Cooncidentally, it's the same version of MySQL that caused a graph tree corruption for another user (aka the bug report mentioned earlier). This wouldn't happen to be "Debian" would it?
TheWitness
1) Increase the memory_limit for PHP to something much greater than it currently is and then restart Apache.
2) Your graphs tree's may be corrupted. After you make the change above, you need to view the Graph Tree again, and if it does not display properly, grab the page source and post it here.
You may have to delete a few graph tree items to get this back and operational again.
This memory limit problem may explain an open bug. Cooncidentally, it's the same version of MySQL that caused a graph tree corruption for another user (aka the bug report mentioned earlier). This wouldn't happen to be "Debian" would it?
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
I have not included the entire structure, since its complex to map it out, but approximately the struct looks as follows:
level 1
sub level # includes all the hosts added in this level
sub level #
sub level
sub level
graph
sub level
graph
sub level
sub level
graph
sub level
graph
sub level
sub level
sub level
graphs
sub level
graphs
sub level
sub level
graphs
sub level
graphs
sub level
sub level
graphs
sub level
graphs
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
graphs
sub level
graphs
sub level
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
Will cacti be able to handle this much amount of structure? Is this complexity one of the reason for corruption of the tree.
Just want to find out the cause, so the future efforts of adding the (all) graphs in the tree does not prove futile.
Help much appreciated.
level 1
sub level # includes all the hosts added in this level
sub level #
sub level
sub level
graph
sub level
graph
sub level
sub level
graph
sub level
graph
sub level
sub level
sub level
graphs
sub level
graphs
sub level
sub level
graphs
sub level
graphs
sub level
sub level
graphs
sub level
graphs
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
graphs
sub level
graphs
sub level
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
graphs
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
sub level
Will cacti be able to handle this much amount of structure? Is this complexity one of the reason for corruption of the tree.
Just want to find out the cause, so the future efforts of adding the (all) graphs in the tree does not prove futile.
Help much appreciated.
-
- Posts: 22
- Joined: Wed May 07, 2008 2:05 am
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The Cacti Tree structure is something I hate to discuss and want to fix. However, it's a big deal. But here is what I can tell you of this nasty critter:
1) Cacti Creates the Tree Based Upon an Order Key
2) The Order Key can be broken into 3 Character Hierarchies
3) The Order Key field in Cacti is a VARCHAR(100)
4) Therefore the maximum depth of the Order Key is 100/3 or 33 Levels Deep
5) Due to the Order Key being 3 Characters wide, this also means that each branch can contain no more than 999 or so branches
Did I mention that I hated this design. The replacement design is quite simple and elegant and makes drag-and-drop much easier to implement. I may end up having to do it as a plugin though.
TheWitness
1) Cacti Creates the Tree Based Upon an Order Key
2) The Order Key can be broken into 3 Character Hierarchies
3) The Order Key field in Cacti is a VARCHAR(100)
4) Therefore the maximum depth of the Order Key is 100/3 or 33 Levels Deep
5) Due to the Order Key being 3 Characters wide, this also means that each branch can contain no more than 999 or so branches
Did I mention that I hated this design. The replacement design is quite simple and elegant and makes drag-and-drop much easier to implement. I may end up having to do it as a plugin though.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests