Skip to content

Commit

Permalink
[AOSW]: exclude power measurements
Browse files Browse the repository at this point in the history
  • Loading branch information
rouven0 committed Jan 23, 2025
1 parent 7fb4f09 commit 4d6f3f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- xos: Hide radius accounting secret
- fsos: Hide AAA and SNMP secrets (@RayaneB35)
- aos7: fix prompt for version 8.8x. Fixes #3351 (@robertcheramy)
- aosw: Hide power measurements (@rouven0)

## [0.31.0 – 2024-11-29]

Expand Down
2 changes: 1 addition & 1 deletion lib/oxidized/model/aosw.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def clean(cfg)
next if line =~ /Output \d Config/i
next if line =~ /(Tachometers|Temperatures|Voltages)/
next if line =~ /((Card|CPU) Temperature|Chassis Fan|VMON1[0-9])/
next if line =~ /[0-9]+\s+(RPMS?|m?V|C)/i
next if line =~ /[0-9]+\s+(RPMS?|m?V|C|W)/i

out << line.strip
end
Expand Down

0 comments on commit 4d6f3f2

Please sign in to comment.