How can I calculate Line speed in CDEF automatically?
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
They need to teach AT&T a thing. They are only allowing us to exceed CIR by 10%
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?
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
this trick still works with the most updated and patched version, just the entry points and searches are different:
1st searchpoint:
$cdef_string = str_replace("ALL_DATA_SOURCES_NODUPS", $cdef_total_ds, $cdef_string);
Line 946 (i placed the addition below all the other replaces at that place)
2nd searchpoint:
still the same, only in line 537
I Urgently hope this is going to be implemented in the next prepatch or release.
EDIT
after rethinking, it would propably be better to have cacti update the rrd_maximum variable correctly.
1st searchpoint:
$cdef_string = str_replace("ALL_DATA_SOURCES_NODUPS", $cdef_total_ds, $cdef_string);
Line 946 (i placed the addition below all the other replaces at that place)
2nd searchpoint:
still the same, only in line 537
I Urgently hope this is going to be implemented in the next prepatch or release.
EDIT
after rethinking, it would propably be better to have cacti update the rrd_maximum variable correctly.
- Attachments
-
- rrd.zip
- attached is the file with all prepatches and the updates.
as of yesterday. - (10.54 KiB) Downloaded 286 times
Check out the patch I created against 0.8.6f in a similar thread wihich allows any data query variable to be included in the CDEF string. So now you can create CDEF's that do things like:
-Ian
Code: Select all
CURRENT_DATA_SOURCE,|query_ifSpeed|,/,100,*
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
raX wrote an "official" patch to use |query_*| in CDEFS. That post includes the "official" patch.
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?
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hmm. Let me think about this...
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?
Replace your lib/rrd.php file with the following.
-Ian
-Ian
- Attachments
-
- rrd.patched.txt
- Pre-patched lib/rrd.php file
- (44.53 KiB) Downloaded 419 times
Win32 patch.exe
You know, I too was wondering the same thing about that patch.exe file. I guess good things come to those who wait, just goes to show how new a noobie really is
How to setup this?
Hi I have done all like in manual but get an silly error
Something with rrdtools
RRDTool Says:
sh: line 1: ,/,100,*,8,*,90,GT,NEGINF,UNKN,IF,UNKN,IF: No such file or directory
What colud be a problem?
Something with rrdtools
RRDTool Says:
sh: line 1: ,/,100,*,8,*,90,GT,NEGINF,UNKN,IF,UNKN,IF: No such file or directory
What colud be a problem?
Who is online
Users browsing this forum: No registered users and 0 guests