mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Label & description should be printed only in config case
This commit is contained in:
parent
389b5970cd
commit
d305c5bfee
@ -95,10 +95,6 @@ if ( $arg eq "autoconf" ) {
|
||||
# Getting the values
|
||||
my @result=`/usr/sbin/vzlist -H -s veid -o veid,name,laverage`;
|
||||
my $A=0;
|
||||
print "multigraph openvz_loadavg\n";
|
||||
print "graph_title loadavg of VE\n";
|
||||
print "graph_vlabel loadavg\n";
|
||||
print "graph_category OpenVZ\n";
|
||||
|
||||
for (@result ) {
|
||||
if (( my $veid,my $label, my $laverage ) = /^\s*(\d+)\s+([\w\-]+)\s+[\d\.]+\/([\d\.]+)\/[\d\.]+\s*$/) {
|
||||
|
Loading…
Reference in New Issue
Block a user