Skip to content

Commit

Permalink
aoscx: Fix fan RPM speeds included in environment output
Browse files Browse the repository at this point in the history
Built on the work by vppencilsharpener and steveneppler

Fixes #2864
  • Loading branch information
danpoltawski committed Jul 17, 2023
1 parent dab52d0 commit ed094ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- fixed new date/time format with newer RouterOS `# jun/01/2023 12:11:25 by RouterOS 7.9.1` vs `# 2023-06-01 12:16:16 by RouterOS 7.10rc1` (@tim427)
- fixed netscaler backups with hostname set #2828 (@electrocret)
- Do not redirect stderr when fetching opnsense version since default shell (csh) doesn't support it (@spike77453)
- Fixed fan RPM speeds included in Aruba CX diffs (@danpoltawski)


## [0.29.1 - 2023-04-24]
Expand Down
1 change: 1 addition & 0 deletions lib/oxidized/model/aoscx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class Aoscx < Oxidized::Model
cfg.gsub! /^(\d\/\d\/\d.*\s+)\d+\s+$/, '\\1<hidden>'
cfg.gsub! /^(\d+\/\S+\s+\S+\s+)\d+\.\d+\s+C(.*)/, '\\1<hidden>\\2'
cfg.gsub! /^(LC.*\s+)\d+\.\d+\s+(C.*)$/, '\\1 <hidden> \\2'
cfg.gsub! /^(\S+\s+\S+\s+\s+\S+\s+)(slow|normal|medium|fast|max)(\s+\S+\s+\S+\s+)\d+/, '\\1<speed>\\3<rpm>'
comment cfg
end

Expand Down

0 comments on commit ed094ff

Please sign in to comment.