Storing the RRD data into DB
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Mon Feb 26, 2007 1:11 am
Storing the RRD data into DB
Hello,
If you can then send the procedure for storing the RRD File data into Database.
If you can then send the procedure for storing the RRD File data into Database.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Nope, Cacti is built around RRDTool for a reason.
[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]
[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]
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I don't suggest that you do that for various reasons. But more important to me is to know "what" is wrong with RRDtool? The reason that I ask this is that even if you "don't" use RRDtool as your graphing tool, it still provides the "BEST IN THE WORLD" data storage engine.
With things like RRDtools "fetch" command, or "export" commands, you can easily pass this to any graphing package you want.
So, your opinion counts. Please share it.
TheWitness
With things like RRDtools "fetch" command, or "export" commands, you can easily pass this to any graphing package you want.
So, your opinion counts. Please share it.
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?
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?
there's an issue with rrdtool and nfs that routinely loses data
its not a huge loss, but it is certainly noticable
we don't have a useful replacement for nfs (replacing nfs would be such a huge task anyway, affecting much more than just Cacti) so we are hoping to eventually replace rrdtool with a DB and another graphing solution (I'm going to be looking into the speed of gnuplot soon)
we understand the principles behind rrdtool and would essentially emulate them as they do fit perfectly into Cacti
however, using a DB ensures that we are not losing data because the writer software encounters an nfs lock like it does with rrdtool
its not a huge loss, but it is certainly noticable
we don't have a useful replacement for nfs (replacing nfs would be such a huge task anyway, affecting much more than just Cacti) so we are hoping to eventually replace rrdtool with a DB and another graphing solution (I'm going to be looking into the speed of gnuplot soon)
we understand the principles behind rrdtool and would essentially emulate them as they do fit perfectly into Cacti
however, using a DB ensures that we are not losing data because the writer software encounters an nfs lock like it does with rrdtool
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, boost is quite nice I think. Reduced poller times by a factor of 10 in some cases. I am planning a 1.2 release to help with the Multi-process boost lockup issues. So, keep your eyes open for it.
I now see what you are speaking of with data loss. What is it about NFS that causes these problems. Is it that there are too many files in one directory or is it that nfs can't keep up with the write activity or something else?
TheWitness
I now see what you are speaking of with data loss. What is it about NFS that causes these problems. Is it that there are too many files in one directory or is it that nfs can't keep up with the write activity or something else?
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?
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Oh, you are mounting your RRA directory. Yuk. I don't recommend that, unless your HTTP server is different from the poller. I alway recommend that the poller have local storage, but HTML can symlink. However, boost WILL help this issue.
TheWitness
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?
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?
We actually have 6 boxes nearly dedicated to Cacti right now.
So we have to mount things remotely.
Someone else on my team has spoken with the rrdtool guys and apparently this is a known issue and it doesn't sound like it will be resolved with them anytime soon.
However, it looks like we're using rrdtool 1.0.49, so I will request an upgrade before we do anything drastic.
Thanks for the suggestion!
So we have to mount things remotely.
Someone else on my team has spoken with the rrdtool guys and apparently this is a known issue and it doesn't sound like it will be resolved with them anytime soon.
However, it looks like we're using rrdtool 1.0.49, so I will request an upgrade before we do anything drastic.
Thanks for the suggestion!
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You should find that boost helps here. Again the important thing, more so than anything else, is that put your disc on the poller if at all possible.
Boost will allow you to have multiple web sites accessing that data without problem and will update your RRD files on demand using the boost_server from any of the X web sites.
However, if you are using Multi-process boost, we should be talking (some sort of engagement) before you begin.
TheWitness
Boost will allow you to have multiple web sites accessing that data without problem and will update your RRD files on demand using the boost_server from any of the X web sites.
However, if you are using Multi-process boost, we should be talking (some sort of engagement) before you begin.
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?
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?
Our rrd files are actually stored on an industrial strength file server farm with all kinds of bells and whistles, so no chance of them being on the same box
however, any chance of not completely redoing Cacti's internals would be something sweet, so any info on this boost stuff (the only boost I know of are c/c++ libraries) would be greatly appreciated
however, any chance of not completely redoing Cacti's internals would be something sweet, so any info on this boost stuff (the only boost I know of are c/c++ libraries) would be greatly appreciated
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Do you have the Plugin Architecture installed? Please advise. Then boost can be found under the plugin section of the forum. You can look at it, but the svn version is closer to what I would have you deploy:
svn checkout svn://svn.cacti.net/var/svnroot/cacti_plugins
TheWitness
svn checkout svn://svn.cacti.net/var/svnroot/cacti_plugins
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest