CACTI2RRD not updates all the RRD files

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

Moderators: Developers, Moderators

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

Post by TheWitness »

Sure, please include this post.

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
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You can email me you database. I can take a look at it tomorrow.. :)
[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]
User avatar
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

I sent the BD to both this morning ;-)
.. //\/ e t . \/ i c i o u s ..
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Well, look at that, I didn't see that attachment in my web client.. ;)

I will take a look at it tomorrow.
[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]
User avatar
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

I revised the sent mail and it haves the attachment correctly added
cactidump.tar.bz2 (45K).

If you have some problem ask me.
.. //\/ e t . \/ i c i o u s ..
User avatar
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

Hi!

Any news for this problem ?
.. //\/ e t . \/ i c i o u s ..
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

NetVicious,

Please review the attached.

http://forums.cacti.net/viewtopic.php?p=37421#37421

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

NetVicious,

The other post is a workaround. I am reviewing the rrdtool code with it's developer for to get us back in business. Please verify the version of RRDtool that you are using.

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

Post by TheWitness »

If yours is the problem I think it is, then the previous post should resolve it. Please let me know. There is some graph syntax that RRDtool is not liking and it is closing the pipe.

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
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

Sorry for the lag. I didn't have time to see the full post.

I'm using the debian version of RRDtool, version 1.0.49.


I will study the problem with the new info. Thanks.
.. //\/ e t . \/ i c i o u s ..
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

preciatit

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
NetVicious
Posts: 49
Joined: Mon Oct 13, 2003 1:14 pm
Location: Spain

Post by NetVicious »

Sorry. Next monday i will continue with it. Good weekend.
.. //\/ e t . \/ i c i o u s ..
josh_borke
Posts: 5
Joined: Fri Jul 22, 2005 3:01 pm

Post by josh_borke »

I have been experiencing this problem also. All of my graphs that use a script as the data source have gaps in them seemingly randomly. Some of my snmp graphs also have gaps in them.

I can trace the poller and it runs the script but it doesn't always convert the information into a cacti2rrd command.

If you need any more information, just let me know.

*edit*

cacti version: 0.8.6d
rrdtool version: 1.0.049-2.2
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

josh_borke,

I think we have to be more specific here. First of all, there is a known bug with PHP Script Server scripts that is corrected with a patch to 0.8.6f. Also, the patch to 0.8.6f is imperative. Especially if your server is internet facing.

Now with that said, can you describe your scripts in a little more detail.

Thanks,

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?
josh_borke
Posts: 5
Joined: Fri Jul 22, 2005 3:01 pm

Post by josh_borke »

Ok, so I need to upgrade to 0.8.6f (done) AND apply patches? Just want to get my facts straight.

As far as the scripts go, they are very simple and cat 2 files. A snippet from the log file is:

This entry updated.
07/22/2005 03:10:11 PM - CMDPHP: Poller[0] Host[21] CMD: perl /var/www/html/cacti/scripts/get_temp.pl 2 3 4, output: floorTemp:58.0 wallTemp:82.7 bTemp:79.5
07/22/2005 03:10:11 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
07/22/2005 03:10:11 PM - CMDPHP: Poller[0] Time: 8.4560 s, Theads: N/A, Hosts: 3
07/22/2005 03:10:11 PM - POLLER: Poller[0] Parsed MULTI output field 'floorTemp:58.0' [map floorTemp->floorTemp]
07/22/2005 03:10:11 PM - POLLER: Poller[0] Parsed MULTI output field 'wallTemp:82.7' [map wallTemp->wallTemp]
07/22/2005 03:10:11 PM - POLLER: Poller[0] Parsed MULTI output field 'bTemp:79.5' [map bTemp->bTemp]
This entry did not:
07/22/2005 03:15:10 PM - CMDPHP: Poller[0] Host[21] CMD: perl /var/www/html/cacti/scripts/get_temp.pl 2 3 4, output: floorTemp:57.9 wallTemp:82.8 bTemp:79.6
The poller finishes without mapping the multi-output field and updating the rrd file.

get_temp.pl just connects to a temptrax monitor and outputs 3 fields, another script cats a file that contains 3 different fields.

The scripts will work most of the time, but there are gaps that happen in the 5 minute intervals.

Thanks for the help! I'll let you know if upgrading to 0.8.6f corrected the gaps.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests