Graphs are gone after CentOS updates and Cacti upgrade

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Graphs are gone after CentOS updates and Cacti upgrade

Post by Rusalka »

I could use some help please (limited Linux knowledge).

Situation:
After applying 500+ patches/upgrades to CentOS v4.4, I noticed that the data acquisitions had stopped (note: still had graphs, just data had stopped).

So, boss tells me to reload Cacti. I did an upgrade from h to j and i followed the upgrade instructions religiously (thanks for those by the way!!!). I even applied the four patches while i was at it (again, thanks for suppling directions). Logged into Cacti and it seemed ok until i clicked on the Graphs tab, NOTHING, blank page!! had to click the back arrow then "view graphs". Tree view is empty, list view shows devices, preview only shows text, NO graphs. So, back in the Console tab>Graph Tree, i see the four trees that i set up but now they are empty.

HELP what did i do wrong?

PS, i also had the poller problem listed in another post but fixed by moving cactid into the cacti root directory.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Hopefully, you created a mysqldump before upgrading?
Please check, whether the graph_* tables of database cacti contains any items. Please verify, that table tree_items contains entries as well.
Reinhard
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

yes, i did create a dump.

ok, all the tables graph_* appear to have data. Now for the other table, did you mean graph_tree_items because it shows having 12 rows. I did not find a tree_items table.

Also, when in graph management and i click debug, i see "RRDTOOL" in bold and that's it at the bottom.
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
Reinhard
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

As you requested, i have added the screen shot as an attachment. Seems i could not paste it into message body.

Note: On purpose, I removed the ip address from the host field.
Attachments
graph management showing debug.
graph management showing debug.
cacti.jpg (135.37 KiB) Viewed 2542 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Never seen this before. Did you already run a repair on all mysql tables belonmgig to db cacti
Reinhard
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

No, how do i do a repair?

I am new to a lot of this so any help is greatly appreciated.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I always use phpmyadmin. Select all tables and choose "repair" option. Takes some seconds and whoosh ...
You may of course use native sql; sth like "repair table <table name>"; but not sure ..
Reinhard
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

OK, i used MYSQL admin and ran the repair (extended) on the tables. Results came back as "OK" for all the tables.

No changes, now what should i try?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Dump your db and PM to me or send to my e-mail. Also, create a file in our cacti web root called "phpinfo.php". Add the following to that file. Post the output when you point your browser at it.

Code: Select all

<?php phpinfo(); ?>
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?
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

As you requested, I am sent you the sql dump.

As for the phpinfo.php, when I point a browser
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

As you requested, I am sent you the sql dump.

As for the phpinfo.php, when I point a browser
Rusalka
Posts: 13
Joined: Thu Jun 09, 2005 12:33 pm
Location: Houston, TX

Post by Rusalka »

As you requested, I have sent you the sql dump.

As for the phpinfo.php, when I point a browser (firefox) from my machine, I just get a blank page. When I try from the cacti server, same thing.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest