I am migrating my Cacti server to a new (virtual) machine. I am running Cacti 0.8.8a on Debian Wheezy on both the old and new machines.
On my previous installation, the left hand panel in the graphs view included my three sub-tree headings which I could expand to show all the hosts under that heading or close to hide them.
On my new installation, all I get is a bullet list with indented bullets for the hosts under each heading. I cannot close or expand the host list. I don't recall having configured this at all, either the previous time or this time.
I cannot find a configuration setting for this. Please can someone point me in the right direction?
Tree view: bullet list or expandable sections?
Moderators: Developers, Moderators
Re: Tree view: bullet list or expandable sections?
After a bit of digging around, I have some more to add.
This works as it should with Apache but not with nginx, which is my preferred web server. I only discovered this by accident because the Debian Cacti package wrongly depends on Apache (rather than any web server, which is what the documentation states and what clearly ought to happen) and I accidentally started Apache.
This works as it should with Apache but not with nginx, which is my preferred web server. I only discovered this by accident because the Debian Cacti package wrongly depends on Apache (rather than any web server, which is what the documentation states and what clearly ought to happen) and I accidentally started Apache.
Re: Tree view: bullet list or expandable sections?
OK, it looks like this is going to be a one man thread but I have solved the problem and I'll post the solution in case anyone else has the same issue.
In order to get this to work, you have to link /usr/share/javascript to the web root directory. For some eason nginx on Debian uses /usr/share/nginx/www but I don't think web content belongs in /usr so I use /var/www even though I don't use Apache.
$ ln -s /usr/share/javascript /var/www
$ sudo service nginx restart
This did the trick for me.
In order to get this to work, you have to link /usr/share/javascript to the web root directory. For some eason nginx on Debian uses /usr/share/nginx/www but I don't think web content belongs in /usr so I use /var/www even though I don't use Apache.
$ ln -s /usr/share/javascript /var/www
$ sudo service nginx restart
This did the trick for me.
Who is online
Users browsing this forum: No registered users and 5 guests