Projet

Général

Profil

Révision 2d6bc2dd

ID2d6bc2dd89e908db03b6d9b3dc916fb213351ba7
Parent 1cee26b5
Enfant 49986311

Ajouté par Alexx Roche il y a presque 14 ans

Escaped the dot in the print output (worked with perl 5.8.8 but some users found problems)

Voir les différences:

plugins/other/ipmi_fans
12 12
# Configuration parameters for /etc/munin/plugin-conf.d/munin-node
13 13
#
14 14
# [ipmi_fans]
15
#   user 	 - User that has permissions to run ipmi-sensors
16
#   env.category sensors
15
#   user 	 - User that has permissions to run the omreport binary
16
#   env.omreport - Path to the omreport binary
17 17
#
18 18
# Parameters:
19 19
#
......
22 22
#
23 23
# Author: Alexx Roche <munin-ipmi-plugin@alexx.net>
24 24
# Built on the work of Justin Shepherd <galstrom21@gmail.com>
25
# Revision: 2.0  2010/11/06
25
# Revision: 2.1  2011/01/10
26 26
#
27 27
#%# family=auto
28 28
#%# capabilities=autoconf
......
98 98
                print "graph_vlabel Speed in RPM\n";
99 99
                print "graph_category Sensors\n";
100 100
                foreach my $j (sort keys %val) {
101
                        print "probe_$j.label $val{$j}{'Probe Name'}\n";
102
                        print "probe_$j.warning $val{$j}{'Warning Threshold'}\n";
103
                        print "probe_$j.critical $val{$j}{'Critical Threshold'}\n";
101
                        print "probe_$j\.label $val{$j}{'Probe Name'}\n";
102
                        print "probe_$j\.warning $val{$j}{'Warning Threshold'}\n";
103
                        print "probe_$j\.critical $val{$j}{'Critical Threshold'}\n";
104 104
                }
105 105
        }else{
106 106
             foreach my $j (sort keys %val) {

Formats disponibles : Unified diff