Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


DSName Limitations

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
michael



Joined: 05 Feb 2002
Posts: 4

PostPosted: Wed Feb 06, 2002 2:01 pm    Post subject: Reply with quote

Is there a specific need for the length of DSName to be 19 (or less)? Our setup of MRTG makes rrd filenames that are 18 to 25 characters long. Can I just change it in ds.php and in MySQL?

Thanks
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2235
Location: Carlisle, PA

PostPosted: Wed Feb 06, 2002 2:52 pm    Post subject: Reply with quote

rrdtool data source names can be no longer than 19 characters. Your file names can be as long as your operating system supports however. You can enter the full path to your existing .rrd files in the "Data Source Path" field if needed.

-Ian
Back to top
michael



Joined: 05 Feb 2002
Posts: 4

PostPosted: Thu Feb 07, 2002 9:44 am    Post subject: Reply with quote

Well, the way we have mrtg setup, it makes the rrd file name the ip address and the port (it's a switch). So assume 15 characters for the ip, and another 4 to 5 for the port (including seperators), and you end up at arround 20 characters.
So, is the 19 character limit a part of your php and SQL code, or is it an inherent limitation in rrdtool?

Thanks
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2235
Location: Carlisle, PA

PostPosted: Thu Feb 07, 2002 7:14 pm    Post subject: Reply with quote

The 19 character limit is something rrdtool has.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group