collectd-web
collectd-web copied to clipboard
Support for Custom Graphs
Currently I am editing collection.modified.cgi and graphdefs.cgi to support some custom rrd files. Is there any interest in having these functions call a third file with custom graph definitions?
yes, sure! that refactor would be awesome! ;)
Excellent. Do you have any interest in tackling this or should I proceed and try to submit a patch?
If the latter is the case perhaps you have can tell me the reason for both collection.modified.cgi and graphdefs.cgi? My brief audit suggests that the iPhone code calls graphdefs.cgi but I honestly haven't looked at it in depth.
well collection.modified.cgi has the core logic and handling of graphdefs. with respect to graphdefs.cgi the idea was to have the possiblity of loading graphdefs on the htmls side for customizing them and executing them (without persistence). the ideal would be to send all graphs that are on collection.modified.cgi to a new file and thats it. dont get into the graphdefs.cgi cuz im doing something that will change the use of that file. willing to submit the patch? go for it! ;)