mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add rrdcached support to collectd
git-svn-id: http://www.observium.org/svn/observer/trunk@1601 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -773,10 +773,10 @@ function collectd_draw_meta_line(&$opts, &$sources) {
|
||||
|
||||
$cmd[] = 'LINE1:'.$inst_name.'_avg#'.$line_color->as_string().':'.$legend;
|
||||
if (!(isset($opts['tinylegend']) && $opts['tinylegend'])) {
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_min:MIN:'.$number_format.' Min,';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_avg:AVERAGE:'.$number_format.' Avg,';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_max:MAX:'.$number_format.' Max,';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_avg:LAST:'.$number_format.' Last\\l';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_min:MIN:'.$number_format.'';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_avg:AVERAGE:'.$number_format.'';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_max:MAX:'.$number_format.'';
|
||||
$cmd[] = 'GPRINT:'.$inst_name.'_avg:LAST:'.$number_format.'\\l';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user