 |
| Site Admin |
Joined: Tue Jul 29, 2003 11:42 am Posts: 3039 Location: Auckland, New Zealand
|
|
I have not previously thought about adding MySQL to routers.cgi. The data is currently all stored in the .rrd files, and routers.cgi relies solely on the RRD library to access it. Adding MySQL would require additional scheduled tasks to extract this data and store it in the MySQL database -- maybe it would be better to ask Tobi to support a 'LogFormat: mysql' in MRTG? If he did this, then I could modify routers.cgi to extract MySQL data instead of .rrd data... although, this would still require a version of the rrdtool libraries that stored/retrieved data using a MySQL database rather than a .rrd file.
Probably better to wait until MRTG/RRDTool supoprt a mySQL backend, and then extend routers.cgi to take advantage of the extended data availability.
|
|