- 'DEF:min_raw={file}:count:MIN',
- 'DEF:avg_raw={file}:count:AVERAGE',
- 'DEF:max_raw={file}:count:MAX',
+ 'DEF:min_raw={file}:value:MIN',
+ 'DEF:avg_raw={file}:value:AVERAGE',
+ 'DEF:max_raw={file}:value:MAX',
- 'DEF:min={file}:count:MIN',
- 'DEF:avg={file}:count:AVERAGE',
- 'DEF:max={file}:count:MAX',
+ 'DEF:min={file}:value:MIN',
+ 'DEF:avg={file}:value:AVERAGE',
+ 'DEF:max={file}:value:MAX',
'GPRINT:max:MAX:%6.2lf Max,',
'GPRINT:avg:LAST:%6.2lf Last');
$GraphDefs['apache_scoreboard'] = array(
'GPRINT:max:MAX:%6.2lf Max,',
'GPRINT:avg:LAST:%6.2lf Last');
$GraphDefs['apache_scoreboard'] = array(
- 'DEF:min={file}:count:MIN',
- 'DEF:avg={file}:count:AVERAGE',
- 'DEF:max={file}:count:MAX',
+ 'DEF:min={file}:value:MIN',
+ 'DEF:avg={file}:value:AVERAGE',
+ 'DEF:max={file}:value:MAX',
$MetaGraphDefs['tcp_connections'] = 'meta_graph_tcp_connections';
$MetaGraphDefs['dns_opcode'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_qtype'] = 'meta_graph_dns_event';
$MetaGraphDefs['tcp_connections'] = 'meta_graph_tcp_connections';
$MetaGraphDefs['dns_opcode'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_qtype'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_rcode'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_request'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_resolver'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_rcode'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_request'] = 'meta_graph_dns_event';
$MetaGraphDefs['dns_resolver'] = 'meta_graph_dns_event';
- return collectd_draw_meta_stack($opts, $sources);
+ if ($plugin == 'bind')
+ return collectd_draw_meta_line($opts, $sources);
+ else
+ return collectd_draw_meta_stack($opts, $sources);
}
function meta_graph_vs_threads($host, $plugin, $plugin_instance, $type, $type_instances, $opts = array()) {
}
function meta_graph_vs_threads($host, $plugin, $plugin_instance, $type, $type_instances, $opts = array()) {