Changeset 3420
- Timestamp:
- 15/03/10 22:58:10 (2 years ago)
- Files:
-
- tags/1.4.4/plugins/node.d.linux/sensors_.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tags/1.4.4/plugins/node.d.linux/sensors_.in
r3419 r3420 162 162 volt => { 163 163 regex => qr/ 164 ^ # String must start with: 164 ^ # String must start with: 165 (\s?\S[^:]*)# Match any non-whitespace char, except ':' 166 # but allow an optional whitespace at the begining. 167 # This is needed as voltages are sometimes printed with 168 # one space in front of them. 169 # (match the label as \$1) 165 170 (\S[^:]*) # Match any non-whitespace char, except ':' 166 171 # (match the label as \$1) … … 273 278 sub fan_threshold { 274 279 my $name = shift; 275 my $max = shift;276 280 my $min = shift; 277 281
