RFC - ship a global derived metrics config directory in the pcp package.
$PCP_VAR_DIR/config/derived along with a config for IOSTAT metrics. Other
configs can be added. If this is deemed reasonable, then my next commit
makes pmchart load all configs in this directory by default (and other
generic monitoring tools such as pmrep, pmval, pmdumptext etc could do
the same).
REALLY handy being able to plot iostat metrics in pmchart using these new
configs - especially since they work for existing archives, i.e. no server
side changes needed. This can already be done by setting PCP_DERIVED_CONFIG
in the environment, but try explaining that to new users ...
TODO: deb packaging. By default this ships in the 'pcp' package for RPM
based distros.
Changes committed to git://git.pcp.io/mgoodwin/pcp master
commit 689c031ca6f5db455cce6aab8f145eb5b8029223
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Mon Mar 7 15:23:56 2016 +1100
config: install a global derived metrics config directory with iostat.conf
Installs a global derived metrics config dir $PCP_VAR_DIR/config/derived
along with iostat.conf (containing iostat derived metrics definitions).
modified: src/GNUmakefile
new file: src/derived/GNUmakefile
new file: src/derived/iostat.conf
|