Embedded php rrdtool

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
kiw0r
Posts: 18
Joined: Fri Jun 17, 2005 4:26 am

Embedded php rrdtool

Post by kiw0r »

Hello,

Some tools uses embedded rrdtool into php (eg ports/net/php4-rrdtool on freebsd ports). Does will cacti use it in the future ?

Also, what about a cache of png generated files ? Having lots of acces to same pages can load the server to the hell because each graph is generated lots of time..

Can this be added in the future ?

/Xavier
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moved to Feature Requests
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I have been discussing this as a feature, but it will not be really worked on until the second/third release of 0.9 cacti.
[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
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Embeded rrdtool library in PHP can make Cacti platform dependant... as far as I know there are no Windows port of it. In addition it seems that rrdtool tune functionality is not included in this library.

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

Post by TheWitness »

There is no benefit to introducing as I see it. Today are using popen with a unidirectional pipe today that works just fine. I have discussed the achiles heal of Cacti with both Ian and Tony and it's the speed at which RRD's are updated.

I plan on introducing multiple pollers in 0.9, but without some way to increase the speed of the RRD update process, we will hit the wall.

What I am considering is a multi-process ansi c based rrdupdate demon to accomplish this, but I am uncertain if it will actually speed things up at all. Disk write cache's seem to be lessening the blow right now. Especially in Windows.

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
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

How about multiple commands pipelining or using rrdtool in service mode? Like described in section "Remote Control" on this page http://people.ee.ethz.ch/~oetiker/webto ... ol.en.html

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

Post by TheWitness »

Interesting approach. For us to get the throughput, we would have to have multiple open ports with multiple rrd services running. This implies a potential load ballancing scenario which implies more coding. Something to think about none the less.

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 4 guests