Cacti is not able to generate the graphs on 0.8.8

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

Moderators: Developers, Moderators

User avatar
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

Post by gandalf »

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.
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Cacti is not able to generate the graphs on 0.8.8

Post by dustinsfowler »

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 -$
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Cacti is not able to generate the graphs on 0.8.8

Post by dustinsfowler »

All,

Any ideas? I am at a loss.

D
dustinsfowler
Posts: 19
Joined: Tue Mar 27, 2012 10:04 am

Re: Cacti is not able to generate the graphs on 0.8.8

Post by dustinsfowler »

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.
User avatar
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

Post by phalek »

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.
report back on the results
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
stextor
Posts: 21
Joined: Thu May 10, 2007 12:01 pm

Re: Cacti is not able to generate the graphs on 0.8.8

Post by stextor »

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
dexx
Posts: 28
Joined: Thu Jan 13, 2011 12:45 am

Re: Cacti is not able to generate the graphs on 0.8.8

Post by dexx »

phalek wrote: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.
report back on the results
I tried this. The rrdtool create command worked manually, however it included a trailing \ so i had to press enter twice.
User avatar
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

Post by phalek »

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 ?
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest