RRD Files Stopped Updating for No Reason

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

Moderators: Developers, Moderators

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

Post by TheWitness »

Fletch,

If you are either running script server or 0.8.6f, you need to upgrade to 0.8.6f and then immediately apply the patches at http://www.cacti.net/downloads/patches/ ... re-patched

Then you need to edit your data template and re-validate the field mapping. You may need to resave each of your data sources.

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?
fletch
Cacti User
Posts: 132
Joined: Mon Oct 06, 2003 5:40 pm
Location: Stanford, CA

done

Post by fletch »

Upgraded to 0.8.6f and...

Bingo!

08/16/2005 04:19:09 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /fs/web/irt-web/htdocs/irt-cacti4/rra/irtdevstage_vent_748.rrd

Thanks!
chemical
Posts: 3
Joined: Tue Aug 16, 2005 7:40 am

Post by chemical »

Just for my understanding; this is a typo and should be poller.php instead?
0.8.6f / Settings/Poller

Maximum Concurrent Poller Processes
The number of concurrent processes to execute. Using a higher number when using cmd.php will improve performance. Performance improvements in cactid are best resolved with the threads parameter
The same is for the Poller Type drop down menu. You can choose cactid or cmd.php here.

Now why do I have to use poller.php instead of cmd.php?
Fred
Cacti User
Posts: 81
Joined: Fri Jan 03, 2003 11:43 am

Post by Fred »

chemical wrote:The same is for the Poller Type drop down menu. You can choose cactid or cmd.php here.

Now why do I have to use poller.php instead of cmd.php?
Call poller.php from the crontab. This program checks the setting in the web interface and determines whether to use cmd.php or cactid to perform the polling of the devices.

At least, that's my understanding of these settings.
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Fred,

You are correct.

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?
spoonman
Cacti User
Posts: 305
Joined: Tue May 03, 2005 8:54 am
Location: GA

Post by spoonman »

Issues with this same topic???
dooku:/usr/local/apache2/htdocs/cacti# php poller.php

Notice: Undefined variable: rrdtool_pipe in /usr/local/apache2/htdocs/cacti/poller.php on line 189


I see this after I comment out those lines noted earlier ///
Can someone post the poller.php file as to exactly what lines to comment out? I comment the lines out but now i get the error above,

Also not able to gen new graphs at all using cactid, wierd. I am using rrdtool 1.2.10 with the patch applied to compile, i have applied everything from cacti's patches and pre patches. Anything else i missed or need to do??

Thanks
axelilly
Posts: 27
Joined: Thu Aug 04, 2005 12:23 pm

Status?

Post by axelilly »

So where are we at with this issue? Is cacti still broken? I'm have the most recent version of RRDTool and Cacti but still cannot create any new graphs/RRA files.

Anyone any closer at pin pointing this?
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have to research this one. Give me a few hours.

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: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please try the following lib/rrd.php. I have not tested yet, you are it.

TheWitness
Last edited by TheWitness on Thu Sep 15, 2005 12:23 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?
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

OOps!!

New file :(

Larry
Attachments
rrd.zip
(11.02 KiB) Downloaded 232 times
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?
axelilly
Posts: 27
Joined: Thu Aug 04, 2005 12:23 pm

Post by axelilly »

Is that supposed to be rra.php?

I don't have a rrd.php
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The file posted was not good either. I will test and post in th next hour.

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: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have verified that the following works just fine. Question is, does it work for you.

TheWitness

lib\rrd.php
Attachments
rrd.tar.gz
(10.91 KiB) Downloaded 242 times
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?
hoser
Posts: 6
Joined: Thu Sep 15, 2005 9:49 pm

Post by hoser »

I too have had this problem just appear today. I am running 0.8.6f although using a slightly older version of rrdtool - 1.0.5. I've applied the new version of lib/rrd.php and it hasn't broken anything, but hasn't fixed anything either.

Basically, I have 330 hosts and 1607 data sources. Everything was working fine until I added the last three or four hosts. Graphing still is working just fine for the first 227 hosts, but for the last three, the graphs contain almost no data. I also noticed that it took more than 30 minutes to actually create the last rrd file from when I created the datasource via the web utility.
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hoser, go into one of those last few hosts and shoot me the "Data Source Debug" output for a few. I will then be able to fix the RRD.PHP file properly.

Still not quite sure what it was based upon. I read a post that gave me a hunch, but since it didn't get it, send me that debug.

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

Who is online

Users browsing this forum: No registered users and 1 guest