-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
- I have read and understood docs/Issues.md.
Describe the bug
Similar to #3537
Power Usage (Instant/Average) is not hidden so configs are changing on every check.
To Reproduce
Expected behavior
Power usage (like fan speed) should be hidden so we don't store garbage config changes
Configuration
---
username: username
password: password
model: cisco
interval: 1800
use_syslog: true
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: false
next_adds_job: false
vars:
remove_secret: true
groups: {}
models: {}
pid: "/var/run/oxidized/oxidized-puma.pid"
input:
default: ssh, telnet
debug: false
ssh:
secure: false
utf8_encoded: false
output:
default: git
git:
user: oxidized
email: gitlab-readwrite@isnic.is
repo: "/data/oxidized/git-configs"
file:
directory: "/data/oxidized/device-configs"
source:
default: csv
csv:
file: "/var/db/oxidized/.config/oxidized/router.db"
delimiter: !ruby/regexp /:/
map:
name: 0
model: 1
username: 2
password: 3
enable: 4
gpg: false
hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo: git@gitlab.isnic.is:is/nic/network-configs.git
publickey: /var/db/oxidized/.ssh/id_rsa.pub
privatekey: /var/db/oxidized/.ssh/id_rsa
models:
junos:
username: robot
password: ""
ios:
username: robot
password: ""
vars:
enable: ""
nxos:
username: robot
password: ""
iosxr:
username: robot
password: ""
vyatta:
username: robot
password: publickey
aoscx:
username: robot
password: publickey
model_map:
cisco: ios
juniper: junos
nexus: nxos
asr: iosxr
vyos: vyatta
aruba: aoscx
Logs
Partial config retrieved from an Aruba CX 8325H switch
! -----------------------------------------------------------------------------
! AOS-CX
! (c) Copyright 2017-2025 Hewlett Packard Enterprise Development LP
! -----------------------------------------------------------------------------
! Version : HL.10.15.1020
! Build Date : 2025-05-10 00:59:04 UTC
! Build ID : AOS-CX:HL.10.15.1020:b30077084728:202505100039
! Build SHA : b3007708472845684815cecc555ec5813090390c
! Hot Patches :
! Active Image : secondary
!
! Service OS Version : HL.01.16.0004
! BIOS Version : HL-01-0007
! show environment fan
!
! Fan information
! ------------------------------------------------------------------------------
! Location- Product Serial Number Speed Direction Status RPM
! Mbr/Slot/Fan Name
! ------------------------------------------------------------------------------
! System-1/1/1 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/2 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/3 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/4 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/5 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/6 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/7 N/A N/A <speed> back-to-front ok <rpm>
! System-1/1/8 N/A N/A <speed> back-to-front ok <rpm>
!
!
!
! show environment led
! Mbr/Name State Status
! ----------------------------------
! 1/locator off ok
!
!
! show environment power-consumption
!
! Power Consumption Averaging Period : 600 seconds
!
! Power Usage (W) PSU Output (W)
! Name Description Instant Average Instant Average
! ----------------------------------------------------------------------------
! 1 8325H 18Y 4C BF 4Fs 2PS Sw 134.00 133.20 <power> <power>
!
!
! show environment power-supply
! --------------------------------------------------------------------------------
! Product Serial PSU Input Voltage Wattage
! Mbr/PSU Number Number Status Type Range Maximum
! --------------------------------------------------------------------------------
! 1/1 N/A CN4BM6X06V OK AC 100V-240V 500
! 1/2 N/A CN4BM6X062 OK AC 100V-240V 500
!
!
!
! show environment system-airflow
! System Airflow:
! ---------------
! back-to-front
!
!
!
! show environment temperature
! Temperature information
! ------------------------------------------------------------------------------
! Current
! Mbr/Slot-Sensor Module Type Temperature Status
! ------------------------------------------------------------------------------
! 1/1-ASIC line-card-module <hidden> normal
! 1/1-xcvr-1 line-card-module <hidden> normal
!
! 1/1-CPU management-module <hidden> normal
! 1/1-CPU-LOCAL management-module <hidden> normal
! 1/1-DDR1 management-module <hidden> normal
! 1/1-DDR2 management-module <hidden> normal
! 1/1-DPLL_btm-LOCAL management-module <hidden> normal
! 1/1-DPLL_top-LOCAL management-module <hidden> normal
! 1/1-Inlet_Air management-module <hidden> normal
! 1/1-Outlet_Air management-module <hidden> normal
! 1/1-PSU1 management-module <hidden> normal
! 1/1-PSU1-LOCAL management-module <hidden> normal
! 1/1-PSU2 management-module <hidden> normal
! 1/1-PSU2-LOCAL management-module <hidden> normal
! 1/1-SSD management-module <hidden> normal
! 1/1-SSD-LOCAL management-module <hidden> normal
!
!
! Management Modules
! ==================
!
! Product Serial
! Name Number Description Number Status
! ---- ------- -------------------------------------- ---------- ----------------
! 1/1 S4B21A HPE ANW 8325H 18Y 4C BF 4Fs 2PS Sw TW51MGG006 Ready
!
!
! Line Modules
! ============
!
! Product Serial
! Name Number Description Number Status
! ---- ------- -------------------------------------- ---------- ----------------
! 1/1 S4B21A HPE ANW 8325H 18Y 4C BF 4Fs 2PS Sw TW51MGG006 Ready
!
!
! -------------------------------------------------------------------------
! Port Type Product Serial Part
! Number Number Number
! -------------------------------------------------------------------------
! 1/1/1 10G-LR* -- -- --
! 1/1/19 100G-DAC1 R0Z25A CN14JQ702W 1990-4678
! 1/1/20 100G-DAC1 R0Z25A CN14JQ702W 1990-4678
!
! * unsupported transceiver
!
! Hostname : ht-ceph-sw02
! System Description : HL.10.15.1020
! System Contact : adm@isnic.is
! System Location : ISNIC - Katrinartun
!
! Vendor : HPE ANW
! Product Name : S4B21A HPE ANW 8325H 18Y 4C BF 4Fs 2PS Sw
! Chassis Serial Nbr : TW51MGG006
! Base MAC Address : 9c3708-014200
! AOS-CX Version : HL.10.15.1020
!
! Time Zone : UTC
!
% Command incomplete.
Running environment (please complete the following information):
- OS: FreeBSD 14.3-RELEASE
- oxidized version: 0.33.0
- oxidized-web version: none
- Manufacturer model an software version: Aruba CX 8325H HL.10.15.1020
- oxidized model name: aoscx
Additional context
Reactions are currently unavailable