rrdtool graph "input line is too long"

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
snowgasm
Posts: 19
Joined: Fri Sep 02, 2005 5:32 pm

rrdtool graph "input line is too long"

Post by snowgasm »

Hi there,

I made myself a custom string of rrdtool graph with a lot of data sources in it, so that i can have one huge graph with all the important data sources. This graph is made on the command line on windows 2003 like the following:

rrdtool graph "c:\test.png" --title DEF:a: .....etc

When I wanted to add the 20st data source to the string i execute on the commandline, the prompt gives me the following error:

"The input line is too long"

Is there a way to still add more data sources to this graph or execute this command in another way so that i am able to graph all of these data sources on this graph.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Windows has a 255 character limit which I believe you've just ran into.
snowgasm
Posts: 19
Joined: Fri Sep 02, 2005 5:32 pm

Post by snowgasm »

i see.

Would it be a better idea to just create a new graph in cacti, the first option in the upper left menu, and add all the sources by hand?

I actually tried this, but also ran into a bug when you change the order of the data items a lot, and then change a item, it's not displaying the right item to edit.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You could try creating a massive graph template with all your data sources, I know I've done that before and haven't run into problems.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests