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
banyezdemah
Posts: 44
Joined: Thu May 21, 2009 1:55 am
Location: Iran/Karaj
Contact:

Cacti is not able to generate the graphs on 0.8.8

Post by banyezdemah »

Hi

I installed new version of cacti 0.8.8 and added a new device and also added some graphs on that device.
Unfortunately I think cacti is not able to generate the graphs.
There is no log on cacti log, there is no file on /rra
The device is UP and the SNMP is working pretty well.
I attached some images.
does anyone can help me?
Attachments
5.jpg
5.jpg (98.77 KiB) Viewed 2006 times
4.jpg
4.jpg (135.57 KiB) Viewed 2006 times
3.jpg
3.jpg (139.14 KiB) Viewed 2006 times
2.jpg
2.jpg (137.15 KiB) Viewed 2006 times
1.jpg
1.jpg (249.95 KiB) Viewed 2006 times
Hamed Kazemian
Do Not Hesitate To Contact Me
Cell Phone : +989125019852
Email Address: hamed.kazemian@gmail.com
Full Time – Partnership
User avatar
banyezdemah
Posts: 44
Joined: Thu May 21, 2009 1:55 am
Location: Iran/Karaj
Contact:

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

Post by banyezdemah »

Anyone ?
I should also add that I am using cmd.php
Hamed Kazemian
Do Not Hesitate To Contact Me
Cell Phone : +989125019852
Email Address: hamed.kazemian@gmail.com
Full Time – Partnership
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 am having the same issue on version 0.8.8a on CentOS 6.2.

This is on a new install.
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 »

Does anyone know why this is happening?

The polling looks ok from what I can tell because the server gets SNMP information when querying the interfaces. I also get a response time from the devices.
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

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

Post by paulgevers »

Please make sure that cacti is allowed to WRITE in the rra directory.

Please have a look in the log files.
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
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 »

paulgevers wrote:Please make sure that cacti is allowed to WRITE in the rra directory.

Please have a look in the log files.
How would I check to see if this is the case?

Thank you for your assistance.
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 »

can you post your cron entry for the poller.php ?
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
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 tried locating the cron file '/etc/cron.d/cacti' and it doesn't exist.

Should I create it?
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 »

Look here: http://docs.cacti.net/manual:088:1_inst ... gure_cacti

Step 7:

Code: Select all

Add a line to your ”/etc/crontab” file similar to:
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
Replace cactiuser with the valid user specified in the previous step.Replace ”/var/www/html/cacti/” with your full Cacti path.
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
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 »

Ok.

I was looking in the wrong place.

Here is my crontab entry.

*/5**** cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
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 »

Then you should follow Step 6 from that page i posted.
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
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 »

Ok, I completed that that step again. While waiting, I haven't seen any updated information.
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 »

Unfortunately, It seems that the two steps have not helped the situation. I still have no graphs populating.
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 »

Please see 2nd link of my sig for debugging advisory
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 appreciate the help. The debugging link talks about having graphs with nan values. Do you still believe it is a fit even though I am not showing the graph gif/jpeg at all?

Thanks

Dustin
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests