Hello,
I have a Centos 6.7 box running Cacti 0.8.8.h and RRDTools 1.3.8. I am not getting any graphs to display when I try to view any of the dynamic pages or even in the Graph Management page. I was able to run Graph Debug Mode and it returns OK but not graph shows. I ran the command from an SSH login and directed it to a file. I am able to see the graph when open the file in a browser.
The install was done with puppet and yum. The rrd files are sym linked to a different partition but it is on the same disk (virtual as this is an AWS instance).
I have selinux set to permissive.
I have the RRDTool set to the correct version in the Console | Settings RRDTool Utility Version
I have the Cacti Cron Interval and the cron interval matching at 5 minutes.
I see updates going to the rrd files. (Poller and database appear to be OK)
I (think) I have the followsymlinks correctly setup in the apache config.
I don't see any errors when the page is viewed in a browser (the graph_image.php lines return a 200.
Attached is the image I created (using the cacti user) from the command line and the view of the dynamic page. I am not sure what else to check or debug for this issue.
Dynamic Graphs not showing - but can be generated.
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Wed Jun 22, 2016 5:47 pm
Dynamic Graphs not showing - but can be generated.
- Attachments
-
- Screen Shot 2016-06-23 at 10.46.34 AM.png (64.31 KiB) Viewed 941 times
-
- test.png (20.27 KiB) Viewed 941 times
Re: Dynamic Graphs not showing - but can be generated.
Permissions on the rra folder? Nothing in the logs?
Are the rra files being updated every poller run?( check the date of the files in the folder).
Are the rra files being updated every poller run?( check the date of the files in the folder).
-
- Posts: 3
- Joined: Wed Jun 22, 2016 5:47 pm
Re: Dynamic Graphs not showing - but can be generated.
Here are the permissions in the rra folder (a small sample but they are all the same)
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_buffers_852.rrd
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_cache_853.rrd
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_free_854.rrd
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_total_855.rrd
The updates are hitting the rrd files. You can see by the timestamp above and the logs look correct:
06/28/2016 10:19:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_569.rrd --template traffic_out:traffic_in 1467134362:879917270:775080252
06/28/2016 10:19:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_914.rrd --template traffic_out:traffic_in 1467134362:879917270:775080252
06/28/2016 10:20:21 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_569.rrd --template traffic_in:traffic_out 1467134415:775095394:879949615
06/28/2016 10:20:24 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_914.rrd --template traffic_in:traffic_out 1467134415:775107530:879973626
Here are some of the AVERAGE results from an rrdtool fetch...
1467134280: 2.4125807438e+02 4.9007841938e+02
1467134340: 2.4961986733e+02 5.1623837479e+02
1467134400: 2.7573769392e+02 5.8338813417e+02
1467134460: 2.6746202830e+02 6.8175825472e+02
1467134520: 2.7309583333e+02 6.0083333333e+02
1467134580: 2.7403879310e+02 5.5739295977e+02
1467134640: 3.4571516170e+02 8.3439355153e+02
1467134700: 2.9489604520e+02 6.9798598870e+02
1467134760: 2.5956666667e+02 6.2681333333e+02
1467134820: -nan -nan
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_buffers_852.rrd
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_cache_853.rrd
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_free_854.rrd
-rw-rw-rw-. 1 cacti cacti 498360 Jun 28 10:15 res07_res_mem_total_855.rrd
The updates are hitting the rrd files. You can see by the timestamp above and the logs look correct:
06/28/2016 10:19:28 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_569.rrd --template traffic_out:traffic_in 1467134362:879917270:775080252
06/28/2016 10:19:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_914.rrd --template traffic_out:traffic_in 1467134362:879917270:775080252
06/28/2016 10:20:21 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_569.rrd --template traffic_in:traffic_out 1467134415:775095394:879949615
06/28/2016 10:20:24 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/rra/mob05_app_traffic_in_914.rrd --template traffic_in:traffic_out 1467134415:775107530:879973626
Here are some of the AVERAGE results from an rrdtool fetch...
1467134280: 2.4125807438e+02 4.9007841938e+02
1467134340: 2.4961986733e+02 5.1623837479e+02
1467134400: 2.7573769392e+02 5.8338813417e+02
1467134460: 2.6746202830e+02 6.8175825472e+02
1467134520: 2.7309583333e+02 6.0083333333e+02
1467134580: 2.7403879310e+02 5.5739295977e+02
1467134640: 3.4571516170e+02 8.3439355153e+02
1467134700: 2.9489604520e+02 6.9798598870e+02
1467134760: 2.5956666667e+02 6.2681333333e+02
1467134820: -nan -nan
-
- Posts: 3
- Joined: Wed Jun 22, 2016 5:47 pm
Re: Dynamic Graphs not showing - but can be generated.
So I tried an experiment and setup another instance of the GUI (php) in /var/www/html/cacti2. The graphs are now displaying properly. It is using the same rrd files, same database, same userid, same poller, it just has a different location.
The original location is /usr/share/cacti and the new location is /var/www/html/ cacti2. I updated the config.php file so the url cacti2 would work correctly.
The graphs are now displaying correctly. I am wondering if there is something in the apache configs that would make a difference between the /usr location and the /var location?
The original location is /usr/share/cacti and the new location is /var/www/html/ cacti2. I updated the config.php file so the url cacti2 would work correctly.
The graphs are now displaying correctly. I am wondering if there is something in the apache configs that would make a difference between the /usr location and the /var location?
Who is online
Users browsing this forum: No registered users and 1 guest