Project

General

Profile

Feature #2024

RRD Graphs for packages

Added by Warren Baker almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/24/2011
Due date:
% Done:

0%


Description

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.

History

#1 Updated by Seth Mos almost 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.

Also available in: Atom PDF