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

custome graphdef addition

Open dhananjayj29 opened this issue 5 years ago • 1 comments

I have added custom data types in the collectd plugin , generated the rrds for the same , but not able to visualize them in collectd-web . In order to add this graphdefs inside collection.modified.cgi is there any guide or document available ? or the process is documented somewhere ?

dhananjayj29 avatar Sep 24 '20 04:09 dhananjayj29

It's in RRD graph format: https://github.com/httpdss/collectd-web/blob/master/cgi-bin/collection.modified.cgi#L828-L845

Also, this PHP default graph generator can be helpful. https://github.com/pommi/CGP/blob/master/type/Default.class.php

bato3 avatar Aug 11 '21 06:08 bato3