collectd-web icon indicating copy to clipboard operation
collectd-web copied to clipboard

Support for Custom Graphs

Open strefli3 opened this issue 11 years ago • 3 comments

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?

strefli3 avatar May 06 '13 02:05 strefli3

yes, sure! that refactor would be awesome! ;)

httpdss avatar May 06 '13 02:05 httpdss

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.

strefli3 avatar May 06 '13 02:05 strefli3

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! ;)

httpdss avatar May 09 '13 22:05 httpdss