no host available when adding to tree

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

Moderators: Developers, Moderators

Post Reply
den707
Posts: 7
Joined: Tue Oct 24, 2017 11:38 am

no host available when adding to tree

Post by den707 »

Hi,

We have a cacti v0.8.8a. About couple months ago I added some devices. Recently some weird things happen, all my graphs are missing. I went ahead and search for it and there i found all my devices still in "Data Source". I tried to re-add them back to the tree and I notice that the drop down menu for "adding the host to tree is empty".


Appreciate any help.

Thanks
Den707
Attachments
host missing.PNG
host missing.PNG (38.06 KiB) Viewed 561 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: no host available when adding to tree

Post by netniV »

Check your cacti.log file for errors. Unfortunately, 0.8.8a is quite old so there will be little support for it.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
den707
Posts: 7
Joined: Tue Oct 24, 2017 11:38 am

Re: no host available when adding to tree

Post by den707 »

Thanks for the reply. I have attached the Cacti.log file. Please see attached file.
Attachments
cactilog.PNG
cactilog.PNG (127.3 KiB) Viewed 537 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: no host available when adding to tree

Post by netniV »

Can you do a SHOW TABLES; at MySQL prompt??
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
den707
Posts: 7
Joined: Tue Oct 24, 2017 11:38 am

Re: no host available when adding to tree

Post by den707 »

Sorry, I'm new to Cacti. Could you please give me the steps to get the "Show Table" at my SQL prompt?

Thanks
den707
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: no host available when adding to tree

Post by netniV »

Steps are:

Code: Select all

$ mysql -u <cacti_sql_user> -p <cacti_db>
Enter password: <cacti_sql_password>
mysql> use <cacti_db>;
mysql> SHOW TABLES;
The output from that last statement is what I'm after. Also, I've seen a couple of users on here reporting mysql database issues, you may wish to check that they aren't in a failed state but I'm not sure how you do that off the top of my head. Google will probably have the answer.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest