Cacti 0.8.6d Intermittant Graphing

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

Moderators: Developers, Moderators

Post Reply
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Cacti 0.8.6d Intermittant Graphing

Post by TheWitness »

If, once upgrading to Cacti 0.8.6d, you start getting intermittant Graphing, please follow the attached post and apply the two patched files. Looking for feedback from the community as to wether or not this fixes the problem.

Your help would be appreciated on this one.

TheWitness

http://forums.cacti.net/viewtopic.php?t ... poller+php
Last edited by TheWitness on Thu Aug 04, 2005 6:50 pm, edited 1 time in total.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
joe_hznm
Posts: 29
Joined: Thu May 19, 2005 12:29 am

Post by joe_hznm »

I copied the two files directly to cacti directory which replaced the old ones, I also modified php.ini to allow max memory to be 128MB.

But, "php poller.php" generate nothing.

Cacti is run on Redhat 9, the target is a solaris 9 box with net-snmp5.1.1.

After copying back the original cmd.php&poller.php, data collection recovered but gap on graph remains.

Joe
rwdorman
Posts: 5
Joined: Fri Jun 17, 2005 9:42 am
Location: Millersville, PA

Post by rwdorman »

I downloded the two patched files and applied them to my isntalltion. Graphs still display intermittent gaps. I'm posting here because I'm runnign on Linux rather then Win32 where that thread is.

Increased PHP memory and timeout values

Number Of Hosts: 3 (currently, planning to increase dramtically once this gaps thing is fixed)
Number of scripts: 0 (all my stuff is SNMP, that means no scripts right?)
Number of SNMP: 3
Number of RRD Files: 38

Linux spyglass 2.6.9-5.0.3.EL #1 Sat Feb 19 18:26:49 CST 2005 i686 i686 i386 GNU/Linux

MySQL server version: 4.1.10a

PHP 4.3.9 (cgi) (built: May 4 2005 17:36:32)

net-snmp-5.1.2-11
Attachments
cmd_debug_output.txt
(13.8 KiB) Downloaded 382 times
Ryan Dorman
Millersville University
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

And what version of cacti are you running?
[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]
rwdorman
Posts: 5
Joined: Fri Jun 17, 2005 9:42 am
Location: Millersville, PA

Post by rwdorman »

Whoops!

0.8.6d
Ryan Dorman
Millersville University
rwdorman
Posts: 5
Joined: Fri Jun 17, 2005 9:42 am
Location: Millersville, PA

Post by rwdorman »

Here are two examples now that it has run over the weekend.
Attachments
graph_image.php.png
graph_image.php.png (44.73 KiB) Viewed 5866 times
graph_image.php2.png
graph_image.php2.png (57.87 KiB) Viewed 5866 times
Ryan Dorman
Millersville University
fla_roadkill
Posts: 31
Joined: Wed Jan 19, 2005 2:34 pm

Post by fla_roadkill »

Any word on this? I ave upgraded to cacti e, and same issue. Only some graphs are broken. Others are fine. I have increased my PHP memory allocation to 64Megs. Should be enough.

Anyone?
fla_roadkill
Posts: 31
Joined: Wed Jan 19, 2005 2:34 pm

Post by fla_roadkill »

I have upgraded also to CactID to try to see if that would fix the issue. Same thing though. Some Graphs are all blocked up like the poster above me.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Somebody ping me at me IM addresses, I would like to get this solved. I am available most evenings EDT.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rwdorman
Posts: 5
Joined: Fri Jun 17, 2005 9:42 am
Location: Millersville, PA

Post by rwdorman »

Will try tonight on AIM.. left it signed in yesterday
Ryan Dorman
Millersville University
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It is now 8:03 EDT Wednesday.... :cry:

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Roddie,

Wait for release.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rwdorman
Posts: 5
Joined: Fri Jun 17, 2005 9:42 am
Location: Millersville, PA

Post by rwdorman »

My apologies for not being able to help track down the problem but after upgradeing to 'f' I am not having any intermittent graph problems. Thanks for your help in resolving this issue.
Ryan Dorman
Millersville University
Rene Doove
Posts: 4
Joined: Tue May 04, 2004 7:57 am

Post by Rene Doove »

I also had problems that I had gaps in my graph.
I installed cacti with RPM. I also created a crontab entry for root.
It turned out that the RPM installer already did this for me.
This was causing the gaps in the graphs, as the poller didn't work well when you start it twice. Removing one crontab entry solved the problem.

Hope this helps other users.
nileshsawant
Posts: 6
Joined: Sun Jun 12, 2005 8:47 am

Cacti 0.8.6d Intermittant Graphing

Post by nileshsawant »

after replacing poller.php & cmd.php graphs are somewhat ok, but Intermittant spikes are still there.

Also changed the ph.ini memory_limit to 64M but still Intermittant spikes are there.

any further solution .


Thanks in advance,
Nilesh
Attachments
traffic graph.JPG
traffic graph.JPG (43.15 KiB) Viewed 1749 times
traffic graph1.JPG
traffic graph1.JPG (41.13 KiB) Viewed 1749 times
traffic graph2.JPG
traffic graph2.JPG (45.17 KiB) Viewed 1749 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests