Blank graphs after migration
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Fri Aug 24, 2012 11:00 pm
Blank graphs after migration
Hello,
I migrated an old cacti install off a failing server. I have the new install all setup but I'm not seeing any data on the graphs. I fallowed the migration guide, and did some googling but still no luck.
I am running Cacti version 0.8.7g on ubuntu 10.04 let me know if you need any more info.
Thanks in advance!
--Will
I migrated an old cacti install off a failing server. I have the new install all setup but I'm not seeing any data on the graphs. I fallowed the migration guide, and did some googling but still no luck.
I am running Cacti version 0.8.7g on ubuntu 10.04 let me know if you need any more info.
Thanks in advance!
--Will
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Blank graphs after migration
A couple of screenshots of your problem would help, as there can be quite some reasons and locations where you are not seeing data.
Did you move the rrd files to the proper location, and are their permissions all right?
Were and are you using the Ubuntu package for cacti (the location might be different, so if you followed the guide to the letter, things are now in the wrong location).
Did you move the rrd files to the proper location, and are their permissions all right?
Were and are you using the Ubuntu package for cacti (the location might be different, so if you followed the guide to the letter, things are now in the wrong location).
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
-
- Posts: 6
- Joined: Fri Aug 24, 2012 11:00 pm
Re: Blank graphs after migration
I did move the .rrd files. I'm not sure if the permissions are right, this is what they look like:
-rw-r--r-- 1 www-data www-data 111208 2012-05-28 02:05 woodside_wan_traffic_in_41.rrd
I am not using the ubuntu package of cacti (maybe I'm missing a dependency?), I have the files in /var/www/cacti/
Screenshot of cacti is attached.
--Will
-rw-r--r-- 1 www-data www-data 111208 2012-05-28 02:05 woodside_wan_traffic_in_41.rrd
I am not using the ubuntu package of cacti (maybe I'm missing a dependency?), I have the files in /var/www/cacti/
Screenshot of cacti is attached.
--Will
- Attachments
-
- cacti_graph.png (60.59 KiB) Viewed 1582 times
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Blank graphs after migration
Most likely they rrd files are searched in a different location. What does the debug tell you? (Press the wrench next to where the graph should be).
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
-
- Posts: 6
- Joined: Fri Aug 24, 2012 11:00 pm
Re: Blank graphs after migration
Cool, I didn't know the wrench was for debug
Here is the output of one of the graphs:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1346002919 \
--end=1346089319 \
--title='ASA - 5 Minute CPU Usage' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2012/08/26 10\:41\:59 To 2012/08/27 10\:41\:59\c" \
COMMENT:" \n" \
--vertical-label='percent' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/asa_asa5min_cpu_101.rrd":asa5min_cpu:AVERAGE \
AREA:a#FF0000FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
COMMENT:"Graph Last Updated\:Mon 27 Aug 10\:40\:01 PDT 2012\n"
Here is the output of one of the graphs:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1346002919 \
--end=1346089319 \
--title='ASA - 5 Minute CPU Usage' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2012/08/26 10\:41\:59 To 2012/08/27 10\:41\:59\c" \
COMMENT:" \n" \
--vertical-label='percent' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/asa_asa5min_cpu_101.rrd":asa5min_cpu:AVERAGE \
AREA:a#FF0000FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
COMMENT:"Graph Last Updated\:Mon 27 Aug 10\:40\:01 PDT 2012\n"
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Blank graphs after migration
No last comment off rrdtool? I thought it would be there. Anyway, what happens if you run this on command line, replacing the first hyphen with a (temporary) filename?
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
-
- Posts: 6
- Joined: Fri Aug 24, 2012 11:00 pm
Re: Blank graphs after migration
Comment off rrdtool? And run what command? Sorry if I missed it.
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Blank graphs after migration
I would expect (but can not currently test myself if it is true) that under the code above, there is a statement from rrdtool saying everything is all right, or, more likely what the current problem is. As you didn't copy it, I proposed to generate it yourself. So copy the statement above, replace the first hyphen with a dummy file name (e.g. /dev/null) and see what errors or other output are generated when you run the full command in a terminal (command line).f0rcedinductn wrote:Comment off rrdtool? And run what command? Sorry if I missed it.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
-
- Posts: 6
- Joined: Fri Aug 24, 2012 11:00 pm
Re: Blank graphs after migration
Sorry I misunderstood, I just ran the command I'm guessing this is the problem:
ERROR: This RRD was created on another architecture
The above is true the old server was 32bit the new server is 64bit. Is there anything I can do to fix this? I didn't know this would be a problem (and completely forgot the old server was 32bit).
ERROR: This RRD was created on another architecture
The above is true the old server was 32bit the new server is 64bit. Is there anything I can do to fix this? I didn't know this would be a problem (and completely forgot the old server was 32bit).
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Blank graphs after migration
BINGO...f0rcedinductn wrote:Sorry I misunderstood, I just ran the command I'm guessing this is the problem:
ERROR: This RRD was created on another architecture
If you still have a 32bit computer available, yes. Search the forum or docs. E.g. post 19026f0rcedinductn wrote:The above is true the old server was 32bit the new server is 64bit. Is there anything I can do to fix this? I didn't know this would be a problem (and completely forgot the old server was 32bit).
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
-
- Posts: 6
- Joined: Fri Aug 24, 2012 11:00 pm
Re: Blank graphs after migration
Thank you for your help paulgevers!
I also found this link, which had scripts that made the mass-export/import much easier
http://docs.cacti.net/manual:087:4_help ... hitectures
Thanks again!
--Will
I also found this link, which had scripts that made the mass-export/import much easier
http://docs.cacti.net/manual:087:4_help ... hitectures
Thanks again!
--Will
Who is online
Users browsing this forum: No registered users and 2 guests