Graphtree missing entries/ corrupt

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ian_rimmer
Posts: 6
Joined: Thu Mar 13, 2008 11:50 am

Graphtree missing entries/ corrupt

Post by ian_rimmer »

Hi,

I'm running 0.8.6h and everything is working fine except the Graph tab tree is not displaying completely.

I saw there is a patch to do with this problem but it doesn't help in my case. I've even upgraded all the way to 0.8.7b but the problem is still there.

My guess is corruption in the tables somewhere but since I can't find an error in the log files can anyone help with where I can start looking for the problem?

Thanks
Ian
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

post a picture of what you mean.

Tried running mysql repair, if you think the db is corrupt ?
ian_rimmer
Posts: 6
Joined: Thu Mar 13, 2008 11:50 am

Post by ian_rimmer »

Hi,

Can't do that due to the sensitivity of the information unfortunately.

But what we are looking at is this:
In Console - tree graphs there are 17 items, all of which have many items within them.
In Graphs - Tree mode there are only 6 items in the first view. The parts of the tree branches that are visitble are all complete.

Ian
ian_rimmer
Posts: 6
Joined: Thu Mar 13, 2008 11:50 am

Corrup tree view screen shots

Post by ian_rimmer »

Hi,

Attached is a view of what I'm talking about. The one is the console config view and the other the tree view itself.

Thanks
Ian
Attachments
Tree config and view screenshot
Tree config and view screenshot
treeconfig.jpg (131.22 KiB) Viewed 3439 times
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

Do you check your graph tree permission in User Management?

Alex.
ian_rimmer
Posts: 6
Joined: Thu Mar 13, 2008 11:50 am

Post by ian_rimmer »

Yes I did. And just double checked it - I even created a new user with "everything" permissions and still get the same result.

It's very strange as it stops in the middle of the tree branch, doesnt even complete that last arm.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Do me a favor. Display the tree page, from the graphs tab, and the save the page source to a file. Send me that file in a PM include this link as you appear to not be the only one having this issue.

Also, what is your PHP memory set to in the php.ini file. Make sure it's 256M. Then restart Apache.

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?
pepoweb
Posts: 2
Joined: Wed May 07, 2008 2:06 am
Location: Leeuwarden, The Netherlands
Contact:

Same problem

Post by pepoweb »

Hi,

I have a simular problem. Running 0.8.6h.

Since 2 days there are no graphs at all.

The Graphs tab shows mijn graphtree on the left, but no + signs in front of it. You can't see any graph anymore.

Graph Management shows 1676 rows.
Graph Trees shows the 16 branchnames, but when you click it, it is completely empty.
Datasources shows 1821 rows.
Devices is empty (?!?)

Hope this info helps to solve the problem. On request I can provide any extra information.

Keep up the good work.

Peter
pepoweb
Posts: 2
Joined: Wed May 07, 2008 2:06 am
Location: Leeuwarden, The Netherlands
Contact:

fixed my problem

Post by pepoweb »

Hi,

After posting my previous post if kept looking for some sort of error which I found in this form: Can't open file: 'host.MYD'. (errno: 145)

I logged in to mysql and went to the cacti database to repair the host table.

Mysql came with this message:
mysql> use cacti;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Didn't find any fields in table 'devices'
Didn't find any fields in table 'host'
Didn't find any fields in table 'host_snmp_cache'
Database changed

So I repaired these 3 tables and after that my graphs where back in the tree (empty for the past 2 days, but the older information was still there).

Hope this helps someone out there ;-)

Cheers,

Peter
ian_rimmer
Posts: 6
Joined: Thu Mar 13, 2008 11:50 am

Post by ian_rimmer »

After looking at the html src as per TheWitness request I see all the nodes are in the source so this appears to be a source presentation problem.

Also the php memory only set to 100MB but upping it to 256MB didnt help.
nellson1
Posts: 5
Joined: Wed May 07, 2008 9:28 am

Post by nellson1 »

Version 0.8.6j

I seem to be experiencing the opposite effect. I added a series of 6 new hosts to a branch in my tree. It shows up in the GRAPHS view just great, but not in the CONSOLE view where I want to re-order the way they are displayed. The [root]-PDU divider doesn't expand to anything.

It's only been 4 hours since the additions. Is the mange tree view a once a day update?

Nick
nellson1
Posts: 5
Joined: Wed May 07, 2008 9:28 am

Post by nellson1 »

Ok, this is wierd... For now I just moved the header from the bottom of the tree to one leaf up from the bottom and all my HOST entries show up all of a sudden, and the header that was bumped down to the bottom had all it's hosts disappear. (Only in the Console:Graph Trees mode.. in Graphs mode they all still look fine)

So I created dummy header at the very bottom of the [root} wondering if only the botton header would have this issue.. but that didn't work.. my bottom header and next to the bottom both expand to show no graphs or hosts even though they have them.

I inherited this Cacti system, so I wasn't around for the installation. Anything I can look at to try to repair this?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The HTML for the tree is only updated every 5 minutes. To update immediately, simply click on the "Graph" breadcrumb right above the tree.

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?
nellson1
Posts: 5
Joined: Wed May 07, 2008 9:28 am

Post by nellson1 »

Hrmm.. is tehre anything different about header entries at teh end of the tree list off the root? Cause if I move my "[root]-PDU's" header in this list:

[root] +Routers
+Switches
+PDU's

To the bottom as shown, I can't expand it to manipulate the graphs and hosts added there. But if I move it up one so that Switches goes to the bottom of the list, PDU's is back with all sub nodes, and switches goes blank on me.

So far I have a work around to manipulate my graph and host order, I just bump the final entry up one, order things, then put it back.

But very odd it is...
ian_rimmer
Posts: 6
Joined: Thu Mar 13, 2008 11:50 am

Post by ian_rimmer »

I'm no html pro, but the source looks ok to me. But not being a pro I could easily miss a close </> or something
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest