[Bug??]I can't add more than 10ds to a one graph.

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

Moderators: Developers, Moderators

Post Reply
happy
Posts: 7
Joined: Thu Sep 16, 2004 1:18 am

[Bug??]I can't add more than 10ds to a one graph.

Post by happy »

Hi...

I'm using Cacti 0.86 on linux platform.

I'm trying to add 12 ds(6 interface input + 6 interface output) to a one graph.

This is my CDEF:
cdef=a,c,+,e,+,g,+,i,+,k,+ --> this is for total input
cdef=b,d,+,f,+,h,+,j,+,l,+ ---> this is for total output

but I failed and got following error message :
-->RRDTool Says:ERROR: invalid rpn expression 'a,c,+,e,+,g,+,i,+,k,+'

I double checked all 12 ds was working.
and I got correct graph with 10ds with CDEF:
cdef=a,c,+,e,+,g,+,i,+
cdef=b,d,+,f,+,h,+,j,+

Is there any limit to DS to make 1 graph?
Is there anyone who had experience this?

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

Post by TheWitness »

There was a limit. raX corrected in 0.8.6. However, you should not make that move until 0.8.6a when it's released here real soon. 0.8.6 had some thorny problems. It is currently in pre-release and pretty stable now at http://www.cacti.net/downloads/beta

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?
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

The algorithm that is used to generated RRDTool DEF names has been changed in 0.8.6 to eliminate the previous 26 item limit. The number is now tokenized and each digit is converted into its alphabetic counterpart. Here are some examples:

0 -> a
1 -> b
2 -> c
10 -> ba
33 -> dd

(you get the idea)

-Ian
happy
Posts: 7
Joined: Thu Sep 16, 2004 1:18 am

Now it works..

Post by happy »

I gave it a try and it works now..

Thank you very much....
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests