From d305c5bfee6498dda640d30da978c3f2d23e63da Mon Sep 17 00:00:00 2001 From: dcaillibaud Date: Sun, 12 Feb 2012 11:28:31 +0100 Subject: [PATCH] Label & description should be printed only in config case --- plugins/other/openvz-load-avg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/other/openvz-load-avg b/plugins/other/openvz-load-avg index b83a1df7..187fa274 100755 --- a/plugins/other/openvz-load-avg +++ b/plugins/other/openvz-load-avg @@ -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*$/) {