Révision 2d6bc2dd
Escaped the dot in the print output (worked with perl 5.8.8 but some users found problems)
| 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