RRD Graphs for packages
It would be nice to have some sort of feature, in the current RRD graphing, to provide the ability for packages to plugin into the current 'rrd grapher process' and have custom graphs, for the relevant package, generated.
#1 Updated by Seth Mos over 6 years ago
Something we considered back then. Which is a few years ago. Add a include file that we generate a tab for in the UI.
Needs something that hooks into the existing enable_rrd_graphing() to pick up the function there. Or just include the file and then pick up a function name we can check for. E.g. <package_name>_create_rrd() to create the rrd command, <package_name>-create-script() that outputs the shell script, <package_name>-create_graph_cmd() that outputs the rrd graph command to be used in the status_rrd_graph_img.php.
The normal UI page just lists databases, we determine the graph command based on the database name. Fake database names can be added to the array (like throughput) for things like aggregates.