Révision ecd21d50
apache_status: change the vlabel to use the same unit as input.
This way it's possible to avoid the cdef altogether.
| plugins/apache/apache_status | ||
|---|---|---|
| 223 | 223 |
multigraph apache_volume |
| 224 | 224 |
graph_title Apache volume |
| 225 | 225 |
graph_args --base 1024 -l 0 |
| 226 |
graph_vlabel bytes per \${graph_period}
|
|
| 226 |
graph_vlabel KiB per \${graph_period}
|
|
| 227 | 227 |
graph_category apache |
| 228 | 228 |
END |
| 229 | 229 |
|
| 230 | 230 |
foreach my $port (@PORTS) {
|
| 231 | 231 |
print <<END; |
| 232 |
volume$port.cdef volume$port,1024,* |
|
| 233 | 232 |
volume$port.label port $port |
| 234 | 233 |
volume$port.type DERIVE |
| 235 | 234 |
volume$port.min 0 |
Formats disponibles : Unified diff