Projet

Général

Profil

Révision d305c5bf

IDd305c5bfee6498dda640d30da978c3f2d23e63da
Parent 389b5970
Enfant 5696c338

Ajouté par dcaillibaud il y a presque 14 ans

Label & description should be printed only in config case

Voir les différences:

plugins/other/openvz-load-avg
95 95
        # Getting the values
96 96
	my @result=`/usr/sbin/vzlist -H -s veid -o veid,name,laverage`;
97 97
	my $A=0;
98
        print "multigraph openvz_loadavg\n";
99
        print "graph_title loadavg of VE\n";
100
        print "graph_vlabel loadavg\n";
101
        print "graph_category OpenVZ\n";
102 98

  
103 99
	for (@result ) {
104 100
		if (( my $veid,my $label, my $laverage ) = /^\s*(\d+)\s+([\w\-]+)\s+[\d\.]+\/([\d\.]+)\/[\d\.]+\s*$/) {

Formats disponibles : Unified diff