Treeview: no images on the right

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

Moderators: Developers, Moderators

Post Reply
User avatar
brononi
Cacti User
Posts: 123
Joined: Tue Aug 29, 2006 1:58 am
Location: Belgium
Contact:

Treeview: no images on the right

Post by brononi »

Hey,

I managed to add several hosts in cacti. And the graphics are showing nicely.
Afterwards i've made groups in the tree, and moved the hosts in the groups. So far so good. But when i click now on a host in the left, the right window stays empty. the only device that works good is the localhost under the group defaul.

So for me, the treeview doesn't work like it should be. Can somebody point me in the right direction?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post a screenshot (or two) to help me understand.
Reinhard
User avatar
brononi
Cacti User
Posts: 123
Joined: Tue Aug 29, 2006 1:58 am
Location: Belgium
Contact:

Post by brononi »

Hey,

below 3 images.

thanks a lot...
Attachments
One of the "inorrect" menu
One of the "inorrect" menu
CactiNotCorrect.png (50 KiB) Viewed 1662 times
One fo the correct menu, with localhost
One fo the correct menu, with localhost
CactiCorrect.png (83.55 KiB) Viewed 1662 times
One closeup of the menu. You can see that the localhost has an + in front of it, and the others not.
One closeup of the menu. You can see that the localhost has an + in front of it, and the others not.
CactiMenu.png (5.07 KiB) Viewed 1662 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please dump your database and forward to me. I will look at this tonight after hours.

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?
User avatar
brononi
Cacti User
Posts: 123
Joined: Tue Aug 29, 2006 1:58 am
Location: Belgium
Contact:

Post by brononi »

Ow, how do i do that exactly? :oops:
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Sorry:

mysqldump -u xxxx -p cacti > cactidump.sql

Then gz the cactidump.sql and e-mail to me.

Larry
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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I would have suspected an error, if the hosts got into the tree with cacti 0.8.6h "Place Host on a Tree" function.
Reinhard
User avatar
brononi
Cacti User
Posts: 123
Joined: Tue Aug 29, 2006 1:58 am
Location: Belgium
Contact:

Post by brononi »

TheWitness wrote: e-mail to me.
The mail is on his way. . . .
aotto
Posts: 2
Joined: Sat Sep 09, 2006 9:39 pm

I found a workaround for this

Post by aotto »

I had this same problem when using the cacti-0.8.6h-1 RPM version for Linux Fedora Core 3 (FC3). The problem happens when you browse to Console->Management->Devices and check the checkbox next to each host, then select "Place on a Tree" from the action menu, and click "go". If you use this approach, the Host will show up in the tree view, but no images will display next to it.

WORKAROUND:

Add your hosts one by one by using the Console->Graph Trees screen.

1) Select the tree you want to add the Host (and associated graphs) to.

2) In the "Tree Items" table (lower) there is an "Add" link at the top right. Click it.

3) Set "Tree Item Type" to "Host" and then select the desired Host from the drop-down menu that displays. Then press "Create".

Now, if you browse to Graphs->(Your Tree)->(Your Host) you should see your graphs show up on the right. You can repeat this process to systematically add all your hosts. Yes, it's tedious, but it works.

Enjoy,

Adrian
aotto
Posts: 2
Joined: Sat Sep 09, 2006 9:39 pm

Treeview: no images on the right (Workaround Included)

Post by aotto »

I'm just changing the title of this post, so that it's clear from the index that there is a woraround documented above.
User avatar
brononi
Cacti User
Posts: 123
Joined: Tue Aug 29, 2006 1:58 am
Location: Belgium
Contact:

Re: I found a workaround for this

Post by brononi »

aotto wrote:If you use this approach ....

Works for me...

Thanks !!!!



ps bug for next release? ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests