cannot create new graphs / no new rdd files created

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

Moderators: Developers, Moderators

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

Post by TheWitness »

Yea, you have to look for a rrd file that is either missing or not updating. Did you modify any data templates or delete any devices/data sources during the process?

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?
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

all my graphs are updating now!
all new graphs were created.

i've not changed any data templates or other things!
User avatar
TheWitness
Developer
Posts: 17050
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I am researching this issue with the developer of RRDtool. I have identified situations where the rrdtool process will exit prematurely. Unfortunately, I don't know enough about the product to assess the type of error that would cause that and how Cacti would be breaking it or if a user could actualy do so.

More to follow. You have a workaround for now.

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?
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

ok, thx!!!!
User avatar
TheWitness
Developer
Posts: 17050
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

All,

I have received a patch from the rrdtool author for 1.2.10. I will also get a patch for 1.0.50. I need people to test.

TheWitness

http://forums.cacti.net/viewtopic.php?p=37714#37714
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
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

I made the changes you proposed and if I run the poller.php with the root user a lot of rrds are updated correctly (not all but better than any), but if I run the poller.php with a normal user (rights are correctly) it don't updates nothing.

When I run the php with the root user I see some pipe problems, and some rrds are not updated, they have 4 data source items each one.
.. //\/ e t . \/ i c i o u s ..
wintech2003
Posts: 12
Joined: Tue May 17, 2005 5:29 am

Post by wintech2003 »

After updating net-snmp to 5.1.3 (actually I was trying to compile PHP to version 4.4.0 so due to a ot of errors during ./configure I updated a lot of other components too) my Linux box stoped updating the rrd files.

I checked and double checked all paths in the Settings page but the rrd files still wouldn't update.

I updated rrdtool to 1.2.11 (a today's release) with no luck.

So I finally thought of trying 1.2.10 with your fixed files and the rrd files all of a sudden started regenerating! 8)

To make a long story short, the fixed files work :wink:
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

helo,

sorry, i will test it next week... i'm not at work....
moonman
Cacti User
Posts: 101
Joined: Sat Sep 06, 2003 10:25 am

Post by moonman »

I have the same problem today it looks like the poller is running but the rrds stop updating.
I was with rrdtool 1.2.11 and also try 1.2.10 with the patch but the only thing that help was to truncate the poller_output table
btw I found more then 500000 rows in this table before I truncate it

Thanks
Fred
Cacti User
Posts: 81
Joined: Fri Jan 03, 2003 11:43 am

Post by Fred »

This problem started for me today, even though the last time I upgraded any software on the server was 2 weeks ago.

I had been running rrdtool 1.2.6. Reading the patch notes (which read like it incorporated the patch Witness provided), I upgraded to 1.2.11. This did not solve the problem.

As suggested, I commented out the rrd_init and rrd_close lines in poller.php and the graphs appear to be working now.

Can you clarify the downside of commenting out these lines? Am I going to see slow growth of zombie processes? I'd say we're still looking for a fix to rrdtool.
User avatar
TheWitness
Developer
Posts: 17050
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Should be no zombies. It may slow polling a bit. I am disappointed that the upgrade did not help. It would "appear" to be a shared library issue in your version of *nix. Therefore, you will have to keep it in place for a while.
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?
FPL_NMS
Posts: 37
Joined: Sun Aug 21, 2005 1:17 am

Post by FPL_NMS »

Please view attached file, I am having a very similar problem and have tried all suggestions.

Thanks
Aaron
Attachments
RRDsNotCreated.txt
(6.77 KiB) Downloaded 330 times
User avatar
TheWitness
Developer
Posts: 17050
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The problem you have is that you are using a miffed up procedure. To get "Traffic Graphs" you do the following:

1) Create a Host
2) Add the "SNMP - Interface" Data Query
3) Use the Reindex Method "Uptime Goes Backward"
4) Once you get the "Rows..." information back, goto "Create Graphs"
5) Select the Interfaces to Graph
6) From the Pull Down, Select the Interface Graph Type to Create
7) Hit the "Create" (?) button
8) Do it again for other Interface Graph Tyes

Sorry for all the frustration....

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?
FPL_NMS
Posts: 37
Joined: Sun Aug 21, 2005 1:17 am

Post by FPL_NMS »

No Frustration, it is actually very intrigueing to use this product. I just wish I knew more about all items being used, but I am learning slowly.
Thx for your help so far.


Regards
florent
Posts: 1
Joined: Mon Sep 12, 2005 3:05 pm

Post by florent »

The problem is the trailing \ at the end of rrd file creation command.

Florent
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests