| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| More than one dbpath in routers2.cgi/config file? http://www.steveshipway.org/forum/viewtopic.php?f=2&t=1106 |
Page 1 of 1 |
| Author: | dwd [ Fri May 11, 2007 2:08 am ] |
| Post subject: | More than one dbpath in routers2.cgi/config file? |
Hi. Is it possible to have more than one dbpath in routers2.cgi config file?? for example dbpath=/rrdfiles1 dbpath=/rrdfiles2 The reason for this is because i want to separate folders for different network devices, but only one cgi script. im using routers2-v2.17 btw this is an excellent cgi script, mrtg/rrd is pulling 5000+ interfaces and routers2.cgi is displaying them. |
|
| Author: | stevesh [ Fri May 11, 2007 10:24 am ] |
| Post subject: | |
You can only have one dbpath definition. However, the dbpath is only used as a last resort by routers2 if it is unable to identify the workdir from the .cfg files. The Directory[]: definition, if it exists, will also be used, so you can have multiple directories in this way. Eg, use dbpath=/rrdtool (and Workdir: /rrdtool ) and then have 'Directory[a]: one' and 'Directory[b]: two'. Then you will get /rrdtool/one/a.rrd and /rrdtool/two/b.rrd |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|