Graphs Tree Mode Greyed Out

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
jrg
Posts: 3
Joined: Fri Feb 20, 2015 1:33 pm

Graphs Tree Mode Greyed Out

Post by jrg »

I have installed cacti successfully on a Windows 2008 R2 server. Devices are added and graphs are being produced. However, I can only see the graphs if I connect to http://localhost/cacti. If I connect to http://servername/cacti on the server I can logon successfully but on the Graphs tab the tree is completely greyed out and I cannot select any graphs. I can expand the individual trees to see the devices, but I cannot highlight the device to see graphs. The header which allows me to select the timeframe is also not displaying. To add to the weirdness I can connect to http://servername/cacti from my local PC using the same username and password and I do see all of the graphs, trees, headers and everything I expect. No other PC I have tried is able to see graphs, they all show the tree greyed out.

I am new to cacti with this being my first installation so I'm guessing I missed something during the installation. Has anyone seen anything like this? What am I missing? And how can I get it so everyone can see the graphs?

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

Re: Graphs Tree Mode Greyed Out

Post by BSOD2600 »

cacti version and show a few screenshots of the problem?
web server?
jrg
Posts: 3
Joined: Fri Feb 20, 2015 1:33 pm

Re: Graphs Tree Mode Greyed Out

Post by jrg »

I am running Cacti 0.8.8c on Windows Server 2008 R2 with IIS 7.5. Using http://localhost/cacit I get full graphs. Using http://servername/cacti I get no graphs and the Tree is greyed out. Not sure what screenshots you would like to see. Let me know and I'll see what I can do.

I have also noticed that I cannot logon to MySQL using the servername, only using localhost. The command line I am using to get into MySQL is
MySQL --host=localhost --user=root --password
which works.
MySQL --host=firebird --user=root --password
does not work. This command prompts for the password and then generates the error
ERROR 1045 (28000): Access denied for user 'root'@'firebird.domanname' (using password: YES)
I further notice that issuing select user, host from MySQL.user I only see root and cactiuser listed for 127.0.0.1 and localhost, not the actual server name (firebird in my case).
mysql> select user,host from mysql.user;
+-----------+-----------+
| user | host |
+-----------+-----------+
| cactiuser | % |
| root | 127.0.0.1 |
| root | ::1 |
| cactiuser | localhost |
| root | localhost |
+-----------+-----------+

Since I'm new to all of this I'm still trying to figure out how to add firebird to the list of servers. I've tried variations on the GRANT command with no joy. I have also tried various settings on the bind-address line in the my.ini file including commenting the line out, setting it to the IP of the server and setting it to 0.0.0.0. Nothing I have tried so far has had any effect. I'm also not certain if this is related to my problem or normal.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graphs Tree Mode Greyed Out

Post by BSOD2600 »

These are separate issues.

In IIS, you need to set the host name for 'firebird' https://technet.microsoft.com/en-us/lib ... s.10).aspx
In MySQL, not sure why you want to change the settings... but anyways you'd need to grant logon rights to the 'root'@'firebird.domanname' user.
jrg
Posts: 3
Joined: Fri Feb 20, 2015 1:33 pm

Re: Graphs Tree Mode Greyed Out

Post by jrg »

I tried adding the host header in IIS but then I couldn't get to the web page at all. Without the host header I can get to either localhost/cacti or firebird/cacti. It's just that graphs don't show if I go to firebird/cacti.

Since this is all new to me I added the info about MySQL. I don't know if it's relevant to the problem I'm having.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests