Tree Mode appearance changed

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

Moderators: Developers, Moderators

Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Tree Mode appearance changed

Post by Unstoppable »

Hi,

i have a little problem problem after installing/uninstalling a plugin (cereusreporting).
The tree mode appearance has changed and i would like to have it as it was :cry:
But i have no idea how to do it...
Can anybody help ?
Here is the screenshot:
treemode.jpg
treemode.jpg (28.36 KiB) Viewed 2188 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Tree Mode appearance changed

Post by gandalf »

Please post this to the cereusreporting thread and/or pm the author. He's quite responsive
R.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

That's not CereusReporting as it doesn't change the tree mode. You probably installed nmidDynTree ( http://forums.cacti.net/viewtopic.php?f=19&t=43768 ) ?

You basically need to download the original files for your cati and look for the "html_tree.php" file and overwrite the one you have.

What Cacti Version do you have ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Re: Tree Mode appearance changed

Post by Unstoppable »

I never installed nmidDynTree...
I tried to replace the html_tree.php file, but after that, the tree is empty :(
My Cacti version is 0.8.8a and runs on Ubuntu Server 12.04.2 LTS.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

What is the content of your plugins directory ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Re: Tree Mode appearance changed

Post by Unstoppable »

index.php
README.Plugins
realtime

Just now i installed a fresh cacti on my test Ubuntu (also 0.8.8a) and the tree looks bad as well :o
On the new installation there is no plugin...
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

what does that README.plugins state ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Re: Tree Mode appearance changed

Post by Unstoppable »

Content:

cat README.Plugins
If you read this and care about keeping your system maintainable, please change
the layout of the plugins structure of cacti. Due to the way a lot of plug-ins
are written (details in bug #681558) in combination with Debian policy, I can
not fix this in the package.

* Create a directory /usr/local/share/cacti/plugins:
mkdir /usr/local/share/cacti/plugins
* Move all content of /usr/share/cacti/site/plugins to
/usr/local/share/cacti/plugins
mv /usr/share/cacti/site/plugins/* /usr/local/share/cacti/plugins/
* Remove the empty /usr/share/cacti/site/plugins directory
rmdir /usr/share/cacti/site/plugins
* Create the following symlinks:
ln -s /usr/local/share/cacti/plugins /usr/share/cacti/site/plugins
ln -s /usr/share/cacti/site/include /usr/local/share/cacti/include
ln -s /usr/share/cacti/site/lib /usr/local/share/cacti/lib

I did the modifications - but the tree still looks bad...
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

And you're sure that you replace the html_tree.php file with the original one, you're on the correct system and have been in the correct directory ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Re: Tree Mode appearance changed

Post by Unstoppable »

Absolutely sure :wink:
I think this is caused bei Cacti 0.8.8a in combination with Ubuntu itself.
Because i have the same issue with a new Cacti 0.8.8a installation on a new Ubuntu System...
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

that's pretty odd. I've only seen this with nmidDynTree and you would have to manually change/patch files for this. CactiEZ also has an updated Tree, but you're obviously not using it.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

Update: just saw the release notes for the Ubuntu package:

Code: Select all

  * Improve jquery tree patch to show trees multilevel (Closes: #702690)
You may want to check with Paul Gevers (also in the forums) who is the maintainer of the Ubuntu package.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Re: Tree Mode appearance changed

Post by Unstoppable »

Ah, thanks :)
I will get in contact with him.
Unstoppable
Posts: 9
Joined: Wed Aug 07, 2013 5:56 am

Re: Tree Mode appearance changed

Post by Unstoppable »

hmmm, i can see him as a member of this forum, but i can`t send him a PM or mail :(
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Tree Mode appearance changed

Post by phalek »

Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests