Upgraded to 0.8.6h, graphs no longer created

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

All this is graphing stuff only. And it is necessary not only to check the box for the poller but to create the crontab entry ...
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Try running the poller as that user from the command line.

Any clues?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Post by mek1 »

Hmm, not entirely sure how i would run the poller.php file. How does one do that?

thanks!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Be logged in as the cacti user and run the following:

Code: Select all

php /usr/share/cacti/poller.php
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Post by mek1 »

rony wrote:Be logged in as the cacti user and run the following:

Code: Select all

php /usr/share/cacti/poller.php
cool. ran that command and here's the result attached
Attachments
output_php.txt
(10.89 KiB) Downloaded 94 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Are all your graph broken, or just some?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Post by mek1 »

39 devices are configured within Cacti. I went through them all and no pretty colors
dsdee
Posts: 1
Joined: Mon Jun 19, 2006 7:43 am

Something I just experienced...

Post by dsdee »

I'm on RedHat Fedora Core 4, and noted there was an RRDTool update, so I did it, without thinking, at the same time I was trying to troubleshoot another problem.

Turns out that their release of RRDTool updated from 1.0 to 1.2. I didn't catch it, and was experiencing similar (I think) problems as you are -- I can't see the graphs on the main page, but if I drill down in, I can see them.

Turned out that because of the upgrade from 1.0 to 1.2, the setting on the Settings/Tool Versions for RRDTool needed to be changed.

Graphs are going ok here, now. Hopefully this is the same problem, if not, please excuse the interruption
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Re: Something I just experienced...

Post by mek1 »

dsdee wrote:I'm on RedHat Fedora Core 4, and noted there was an RRDTool update, so I did it, without thinking, at the same time I was trying to troubleshoot another problem.

Turns out that their release of RRDTool updated from 1.0 to 1.2. I didn't catch it, and was experiencing similar (I think) problems as you are -- I can't see the graphs on the main page, but if I drill down in, I can see them.

Turned out that because of the upgrade from 1.0 to 1.2, the setting on the Settings/Tool Versions for RRDTool needed to be changed.

Graphs are going ok here, now. Hopefully this is the same problem, if not, please excuse the interruption
I didn't check to see what my rrdtool version was prior to upgrading to the latest Cacti. I just checked, it exists in the patch specified and the version is 1.2.11
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Double check that the Cacti version for RRDTool matches what you have installed on your system.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Post by mek1 »

rony wrote:Double check that the Cacti version for RRDTool matches what you have installed on your system.
RRDTool utility version: 1.2x is selected
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Post by mek1 »

very interesting development!

switched it to rrdtool 1.x
saved
...waited a few mins
changed it back to 1.2x
saved
a FEW select graphs are drawing again. so far just Cisco memory usage and Cisco avg connections.

weird huh?
jbourne
Posts: 2
Joined: Thu Jun 15, 2006 5:35 pm

Patch provided

Post by jbourne »

Take a look at the patches I provided on Jun 15th. This sounds like the same problem we were faced with, both of which were cactid bugs fixed in devel.

James
mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

Re: Patch provided

Post by mek1 »

jbourne wrote:Take a look at the patches I provided on Jun 15th. This sounds like the same problem we were faced with, both of which were cactid bugs fixed in devel.

James
James,
where can I find these patches?


Cacti has been graphing semi-sporadically all night with gaps in the drawing. Here's a screenshot. I'll try the patches next.

thanks everyone!
Attachments
cacti_errors.jpg
cacti_errors.jpg (133.49 KiB) Viewed 1562 times
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: Patch provided

Post by fmangeant »

jbourne wrote:Take a look at the patches I provided on Jun 15th. This sounds like the same problem we were faced with, both of which were cactid bugs fixed in devel.
Hi

James talks about this thread : http://forums.cacti.net/viewtopic.php?p ... ght=#69454

Be sure to apply these official patches too :
- Cacti : http://cacti.net/download_patches.php
- cactid : http://cacti.net/cactid_download_patches.php
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest