Cacti is not able to generate the graphs on 0.8.8
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti is not able to generate the graphs on 0.8.8
Yes, your issue is not NaN. But as it is a step by step procedure, it may help you finding a hint that may help.
R.
R.
-
- Posts: 19
- Joined: Tue Mar 27, 2012 10:04 am
Re: Cacti is not able to generate the graphs on 0.8.8
gandalf,
I looked through the best I could. I don't have any errors that I can see in the 'cacti.log'. See below the references to the rrd files. When I go into the rrd folder I do not see any files.
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool fetch /var/www/html/cacti/rra/4510r-e_core_traffic_in_97.rrd AVERAGE -s 1343834020 -e 1343920420
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1343834020 --end=1343920420 --title='4510R-E Core - Traffic - Gi2/42' --rigid --base=1000 -$
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool info /var/www/html/cacti/rra/4510r-e_core_traffic_in_101.rrd
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool fetch /var/www/html/cacti/rra/4510r-e_core_traffic_in_101.rrd AVERAGE -s 1343834020 -e 1343920420
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1343834020 --end=1343920420 --title='4510R-E Core - Traffic - Gi2/46' --rigid --base=1000 -$
I looked through the best I could. I don't have any errors that I can see in the 'cacti.log'. See below the references to the rrd files. When I go into the rrd folder I do not see any files.
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool fetch /var/www/html/cacti/rra/4510r-e_core_traffic_in_97.rrd AVERAGE -s 1343834020 -e 1343920420
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1343834020 --end=1343920420 --title='4510R-E Core - Traffic - Gi2/42' --rigid --base=1000 -$
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool info /var/www/html/cacti/rra/4510r-e_core_traffic_in_101.rrd
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool fetch /var/www/html/cacti/rra/4510r-e_core_traffic_in_101.rrd AVERAGE -s 1343834020 -e 1343920420
08/02/2012 11:13:44 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1343834020 --end=1343920420 --title='4510R-E Core - Traffic - Gi2/46' --rigid --base=1000 -$
-
- Posts: 19
- Joined: Tue Mar 27, 2012 10:04 am
Re: Cacti is not able to generate the graphs on 0.8.8
All,
Any ideas? I am at a loss.
D
Any ideas? I am at a loss.
D
-
- Posts: 19
- Joined: Tue Mar 27, 2012 10:04 am
Re: Cacti is not able to generate the graphs on 0.8.8
I was searching the forums and I found this "http://forums.cacti.net/viewtopic.php?f=2&t=47889"
This is what I did to setup my current system with the same results.
I did the rebuild as was the fix in the thread with no results.
Any guidance is appreciated.
This is what I did to setup my current system with the same results.
I did the rebuild as was the fix in the thread with no results.
Any guidance is appreciated.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Cacti is not able to generate the graphs on 0.8.8
Try the following:
- Login to cact
- Goto the console
- Go to "Data Sources" in the "Management" tab
- Select one
- In the edit screen click on "*Turn On Data Source Debug Mode."
- then copy the "rrdtool create " command dispalyed
- login to your cacti operating system
- become the cacti user (or whatever user you'r running the poller.php file )
- paste that command and check for any error messages.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Cacti is not able to generate the graphs on 0.8.8
I had this same problem for days. If you use spine for polling, trying looking at the spine.config.dist file in /usr/local/spine/etc and rename the file to spine.conf. Check inside spine.conf to make sure the settings match. I don't know where spine.conf.dist is kept in windows, trying searching for it.
If all is set correclty as above then try polling with cmd.php if cmd.php works and spine doesn't try debugging spine issues.
Sorry I just noticed that you use cmd.php but I am leaving this here for others
If all is set correclty as above then try polling with cmd.php if cmd.php works and spine doesn't try debugging spine issues.
Sorry I just noticed that you use cmd.php but I am leaving this here for others
Re: Cacti is not able to generate the graphs on 0.8.8
I tried this. The rrdtool create command worked manually, however it included a trailing \ so i had to press enter twice.phalek wrote:Try the following:
report back on the results
- Login to cact
- Goto the console
- Go to "Data Sources" in the "Management" tab
- Select one
- In the edit screen click on "*Turn On Data Source Debug Mode."
- then copy the "rrdtool create " command dispalyed
- login to your cacti operating system
- become the cacti user (or whatever user you'r running the poller.php file )
- paste that command and check for any error messages.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Cacti is not able to generate the graphs on 0.8.8
so at least one rrd file should be in the rra folder now, right ?
And you did run this command as the same user as your poller runs ?
And you did run this command as the same user as your poller runs ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Who is online
Users browsing this forum: No registered users and 1 guest