|
|
| Author |
Message |
michael
Joined: 05 Feb 2002 Posts: 4
|
Posted: Wed Feb 06, 2002 2:01 pm Post subject: |
|
|
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: 2234 Location: Carlisle, PA
|
Posted: Wed Feb 06, 2002 2:52 pm Post subject: |
|
|
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
|
Posted: Thu Feb 07, 2002 9:44 am Post subject: |
|
|
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: 2234 Location: Carlisle, PA
|
Posted: Thu Feb 07, 2002 7:14 pm Post subject: |
|
|
The 19 character limit is something rrdtool has.
-Ian |
|
| Back to top |
|
 |
|