Skip to content

Commit

Permalink
Rename cps to cyberpower
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianVeaux committed Aug 2, 2023
1 parent 04b942a commit aecf6d5
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 84 deletions.
56 changes: 28 additions & 28 deletions snmp/datadog_checks/snmp/data/default_profiles/cyberpower-pdu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ metrics:
name: ePDULoadStatusTable
symbols:
- OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.2
name: cps.ePDULoadStatusLoad
name: cyberpower.ePDULoadStatusLoad
- OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.6
name: cps.ePDULoadStatusVoltage
name: cyberpower.ePDULoadStatusVoltage
- OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.7
name: cps.ePDULoadStatusActivePower
name: cyberpower.ePDULoadStatusActivePower
- OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.8
name: cps.ePDULoadStatusApparentPower
name: cyberpower.ePDULoadStatusApparentPower
- OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.9
name: cps.ePDULoadStatusPowerFactor
name: cyberpower.ePDULoadStatusPowerFactor
metric_tags:
- column:
OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.1
Expand All @@ -44,7 +44,7 @@ metrics:
OID: 1.3.6.1.4.1.3808.1.1.3.2.4.1
name: ePDULoadBankConfigTable
symbols:
- name: cps.ePDULoadBankConfig
- name: cyberpower.ePDULoadBankConfig
constant_value_one: true
metric_tags:
- column:
Expand All @@ -66,9 +66,9 @@ metrics:
name: ePDUOutletStatusTable
symbols:
- OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.7
name: cps.ePDUOutletStatusLoad
name: cyberpower.ePDUOutletStatusLoad
- OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.8
name: cps.ePDUOutletStatusActivePower
name: cyberpower.ePDUOutletStatusActivePower
metric_tags:
- column:
OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.1
Expand Down Expand Up @@ -134,7 +134,7 @@ metrics:
OID: 1.3.6.1.4.1.3808.1.1.3.5.2
name: ePDUStatusBankTable
symbols:
- name: cps.ePDUStatusBank
- name: cyberpower.ePDUStatusBank
constant_value_one: true
metric_tags:
- column:
Expand All @@ -159,7 +159,7 @@ metrics:
OID: 1.3.6.1.4.1.3808.1.1.3.5.4
name: ePDUStatusPhaseTable
symbols:
- name: cps.ePDUStatusPhase
- name: cyberpower.ePDUStatusPhase
constant_value_one: true
metric_tags:
- column:
Expand All @@ -184,7 +184,7 @@ metrics:
OID: 1.3.6.1.4.1.3808.1.1.3.5.6
name: ePDUStatusOutletTable
symbols:
- name: cps.ePDUStatusOutlet
- name: cyberpower.ePDUStatusOutlet
constant_value_one: true
metric_tags:
- column:
Expand All @@ -207,24 +207,24 @@ metrics:
- MIB: CPS-MIB
symbol:
OID: 1.3.6.1.4.1.3808.1.1.3.5.7
name: cps.ePDUStatusInputVoltage
name: cyberpower.ePDUStatusInputVoltage
- MIB: CPS-MIB
symbol:
OID: 1.3.6.1.4.1.3808.1.1.3.5.8
name: cps.ePDUStatusInputFrequency
name: cyberpower.ePDUStatusInputFrequency
- MIB: CPS-MIB
table:
OID: 1.3.6.1.4.1.3808.1.1.6.3.4
name: ePDU2DeviceStatusTable
symbols:
- OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.5
name: cps.ePDU2DeviceStatusLoad
name: cyberpower.ePDU2DeviceStatusLoad
- OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.6
name: cps.ePDU2DeviceStatusPeakLoad
name: cyberpower.ePDU2DeviceStatusPeakLoad
- OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.15
name: cps.ePDU2DeviceStatusApparentPower
name: cyberpower.ePDU2DeviceStatusApparentPower
- OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.16
name: cps.ePDU2DeviceStatusPowerFactor
name: cyberpower.ePDU2DeviceStatusPowerFactor
metric_tags:
- column:
OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.1
Expand Down Expand Up @@ -278,17 +278,17 @@ metrics:
name: ePDU2PhaseStatusTable
symbols:
- OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.5
name: cps.ePDU2PhaseStatusLoad
name: cyberpower.ePDU2PhaseStatusLoad
- OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.6
name: cps.ePDU2PhaseStatusVoltage
name: cyberpower.ePDU2PhaseStatusVoltage
- OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.7
name: cps.ePDU2PhaseStatusPower
name: cyberpower.ePDU2PhaseStatusPower
- OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.8
name: cps.ePDU2PhaseStatusApparentPower
name: cyberpower.ePDU2PhaseStatusApparentPower
- OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.9
name: cps.ePDU2PhaseStatusPowerFactor
name: cyberpower.ePDU2PhaseStatusPowerFactor
- OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.10
name: cps.ePDU2PhaseStatusPeakLoad
name: cyberpower.ePDU2PhaseStatusPeakLoad
metric_tags:
- column:
OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.1
Expand All @@ -309,9 +309,9 @@ metrics:
name: ePDU2BankStatusTable
symbols:
- OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.5
name: cps.ePDU2BankStatusLoad
name: cyberpower.ePDU2BankStatusLoad
- OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.6
name: cps.ePDU2BankStatusPeakLoad
name: cyberpower.ePDU2BankStatusPeakLoad
metric_tags:
- column:
OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.1
Expand All @@ -331,7 +331,7 @@ metrics:
OID: 1.3.6.1.4.1.3808.1.1.6.6.1.4
name: ePDU2OutletSwitchedStatusTable
symbols:
- name: cps.ePDU2OutletSwitchedStatus
- name: cyberpower.ePDU2OutletSwitchedStatus
constant_value_one: true
metric_tags:
- column:
Expand All @@ -352,11 +352,11 @@ metrics:
- MIB: CPS-MIB
symbol:
OID: 1.3.6.1.4.1.3808.1.1.4.2.1.0
name: cps.envir_temperature
name: cyberpower.envir_temperature
- MIB: CPS-MIB
symbol:
OID: 1.3.6.1.4.1.3808.1.1.4.3.1.0
name: cps.envirHumidity
name: cyberpower.envirHumidity
metric_tags:
- OID: 1.3.6.1.4.1.3808.1.1.3.1.1.0
symbol: ePDUIdentName
Expand Down
56 changes: 28 additions & 28 deletions snmp/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -360,34 +360,6 @@ snmp.cpqSm2NicXmitDiscardPackets,count,,packet,,[HP ILO4] Remote Insight/ Integr
snmp.cpqSm2NicXmitErrorPackets,count,,packet,,[HP ILO4] Remote Insight/ Integrated Lights-Out Network Interface Controller Total Error Transmit Packets.,0,snmp,,
snmp.cpqSm2NicXmitQueueLength,count,,packet,,[HP ILO4] Remote Insight/ Integrated Lights-Out Network Interface Controller Number of Outstanding Packets in Transmit Queue.,0,snmp,,
snmp.cpqSm2NicXmitTotalPackets,count,,packet,,[HP ILO4] Remote Insight/ Integrated Lights-Out Network Interface Controller Total Transmit Packets.,0,snmp,,
snmp.cps.ePDU2BankStatusLoad,gauge,,,,"[CPS-MIB] Indicates the current draw, in tenths of Amps, of the load on the Rack PDU bank being queried.",0,snmp,,
snmp.cps.ePDU2BankStatusPeakLoad,gauge,,,,"[CPS-MIB] The peak current of the Rack PDU bank load in tenths of Amps.",0,snmp,,
snmp.cps.ePDU2DeviceStatusApparentPower,gauge,,,,"[CPS-MIB] The apparent power consumption of the Rack PDU load in VoltAmps (VA).",0,snmp,,
snmp.cps.ePDU2DeviceStatusLoad,gauge,,,,"[CPS-MIB] The power consumption of the Rack PDU load in tenths of amps.",0,snmp,,
snmp.cps.ePDU2DeviceStatusPeakLoad,gauge,,,,"[CPS-MIB] The peak power consumption of the Rack PDU load in tenths of amps.",0,snmp,,
snmp.cps.ePDU2DeviceStatusPowerFactor,gauge,,,,"[CPS-MIB] The power factor of the Rack PDU load in hundredths.",0,snmp,,
snmp.cps.ePDU2OutletSwitchedStatus,gauge,,,,"[CPS-MIB] A table of Rack PDU switched outlet status information. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cps.ePDU2PhaseStatusApparentPower,gauge,,,,"[CPS-MIB] Indicates the load apparent power, in hundredths of kiloVoltAmps (kVA), consumed on the Rack PDU phase being queried",0,snmp,,
snmp.cps.ePDU2PhaseStatusLoad,gauge,,,,"[CPS-MIB] Indicates the current draw, in tenths of Amps, of the load on the Rack PDU phase being queried.",0,snmp,,
snmp.cps.ePDU2PhaseStatusPeakLoad,gauge,,,,"[CPS-MIB] The peak current of the Rack PDU phase load in tenths of Amps",0,snmp,,
snmp.cps.ePDU2PhaseStatusPower,gauge,,,,"[CPS-MIB] Indicates the load power, in watts (kW), consumed on the Rack PDU phase being queried",0,snmp,,
snmp.cps.ePDU2PhaseStatusPowerFactor,gauge,,,,"[CPS-MIB] Indicates the load power factor, in hundredths, of the Rack PDU phase being queried",0,snmp,,
snmp.cps.ePDU2PhaseStatusVoltage,gauge,,,,"[CPS-MIB] Indicates the Voltage, in Volts, of the Rack PDU phase being queried",0,snmp,,
snmp.cps.ePDULoadBankConfig,gauge,,,,"[CPS-MIB] Allows for configuration of each Rack PDU bank. The number of entries is contained in the ePDULoadDevNumBanks OID. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cps.ePDULoadStatusActivePower,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank active power measured in watts.",0,snmp,,
snmp.cps.ePDULoadStatusApparentPower,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank apparent power measured in VA.",0,snmp,,
snmp.cps.ePDULoadStatusLoad,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank load measured in tenths of Amps.",0,snmp,,
snmp.cps.ePDULoadStatusPowerFactor,gauge,,,,"[CPS-MIB] Getting this OID will return power factor of the output measured in hundredths. A value of 100 representing a unity power factor (1.00).",0,snmp,,
snmp.cps.ePDULoadStatusVoltage,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank voltage measured in 0.1 volts.",0,snmp,,
snmp.cps.ePDUOutletStatusActivePower,gauge,,,,"[CPS-MIB] Getting this OID will return the measured Outlet load for an Outlet Monitored Rack PDU in watts",0,snmp,,
snmp.cps.ePDUOutletStatusLoad,gauge,,,,"[CPS-MIB] Getting this OID will return the measured Outlet load for an Outlet Monitored Rack PDU in tenths of Amps.",0,snmp,,
snmp.cps.ePDUStatusBank,gauge,,,,"[CPS-MIB] Allows for getting of status of each Rack PDU Bank (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cps.ePDUStatusInputFrequency,gauge,,,,"[CPS-MIB] The input frequency in 0.1 Hertz.",0,snmp,,
snmp.cps.ePDUStatusInputVoltage,gauge,,,,"[CPS-MIB] The input voltage in 0.1 Volt.",0,snmp,,
snmp.cps.ePDUStatusOutlet,gauge,,,,"[CPS-MIB] Allows for getting of status of each Outlet of an Outlet Monitored Rack PDU. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cps.ePDUStatusPhase,gauge,,,,"[CPS-MIB] Allows for getting of status of each Rack PDU Phase (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cps.envirHumidity,gauge,,,,"",0,snmp,,
snmp.cps.envir_temperature,gauge,,,,"",0,snmp,,
snmp.cpu.usage,gauge,,percent,,"Percentage of CPU currently being used.",0,snmp,,
snmp.cradlepoint.mdmCINR,gauge,,,,"[WIPIPE-MIB] The cellular modems CINR ratio given in dBm's.",0,snmp,,
snmp.cradlepoint.mdmECIO,gauge,,,,"[WIPIPE-MIB] The cellular modems Ec/Io ratio given in dBm's.",0,snmp,,
Expand Down Expand Up @@ -538,6 +510,34 @@ snmp.cwoTfoStatsReservedConn,gauge,,,,"[CISCO-WAN-OPTIMIZATION-MIB] This object
snmp.cwoTfoStatsResetConn,count,,,,"[CISCO-WAN-OPTIMIZATION-MIB] This object contains total number of optimized TCP connections, which are reset since TFO was started or its statistics were last reset.",0,snmp,,
snmp.cwoTfoStatsTotalNormalClosedConn,count,,,,"[CISCO-WAN-OPTIMIZATION-MIB] This object contains total number of optimized TCP connections which were closed normally since TFO was started or its statistics were last reset.",0,snmp,,
snmp.cwoTfoStatsTotalOptConn,count,,,,"[CISCO-WAN-OPTIMIZATION-MIB] This object contains total number of TCP connections optimized since TFO was started or its statistics were last reset.",0,snmp,,
snmp.cyberpower.ePDU2BankStatusLoad,gauge,,,,"[CPS-MIB] Indicates the current draw, in tenths of Amps, of the load on the Rack PDU bank being queried.",0,snmp,,
snmp.cyberpower.ePDU2BankStatusPeakLoad,gauge,,,,"[CPS-MIB] The peak current of the Rack PDU bank load in tenths of Amps.",0,snmp,,
snmp.cyberpower.ePDU2DeviceStatusApparentPower,gauge,,,,"[CPS-MIB] The apparent power consumption of the Rack PDU load in VoltAmps (VA).",0,snmp,,
snmp.cyberpower.ePDU2DeviceStatusLoad,gauge,,,,"[CPS-MIB] The power consumption of the Rack PDU load in tenths of amps.",0,snmp,,
snmp.cyberpower.ePDU2DeviceStatusPeakLoad,gauge,,,,"[CPS-MIB] The peak power consumption of the Rack PDU load in tenths of amps.",0,snmp,,
snmp.cyberpower.ePDU2DeviceStatusPowerFactor,gauge,,,,"[CPS-MIB] The power factor of the Rack PDU load in hundredths.",0,snmp,,
snmp.cyberpower.ePDU2OutletSwitchedStatus,gauge,,,,"[CPS-MIB] A table of Rack PDU switched outlet status information. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cyberpower.ePDU2PhaseStatusApparentPower,gauge,,,,"[CPS-MIB] Indicates the load apparent power, in hundredths of kiloVoltAmps (kVA), consumed on the Rack PDU phase being queried",0,snmp,,
snmp.cyberpower.ePDU2PhaseStatusLoad,gauge,,,,"[CPS-MIB] Indicates the current draw, in tenths of Amps, of the load on the Rack PDU phase being queried.",0,snmp,,
snmp.cyberpower.ePDU2PhaseStatusPeakLoad,gauge,,,,"[CPS-MIB] The peak current of the Rack PDU phase load in tenths of Amps",0,snmp,,
snmp.cyberpower.ePDU2PhaseStatusPower,gauge,,,,"[CPS-MIB] Indicates the load power, in watts (kW), consumed on the Rack PDU phase being queried",0,snmp,,
snmp.cyberpower.ePDU2PhaseStatusPowerFactor,gauge,,,,"[CPS-MIB] Indicates the load power factor, in hundredths, of the Rack PDU phase being queried",0,snmp,,
snmp.cyberpower.ePDU2PhaseStatusVoltage,gauge,,,,"[CPS-MIB] Indicates the Voltage, in Volts, of the Rack PDU phase being queried",0,snmp,,
snmp.cyberpower.ePDULoadBankConfig,gauge,,,,"[CPS-MIB] Allows for configuration of each Rack PDU bank. The number of entries is contained in the ePDULoadDevNumBanks OID. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cyberpower.ePDULoadStatusActivePower,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank active power measured in watts.",0,snmp,,
snmp.cyberpower.ePDULoadStatusApparentPower,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank apparent power measured in VA.",0,snmp,,
snmp.cyberpower.ePDULoadStatusLoad,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank load measured in tenths of Amps.",0,snmp,,
snmp.cyberpower.ePDULoadStatusPowerFactor,gauge,,,,"[CPS-MIB] Getting this OID will return power factor of the output measured in hundredths. A value of 100 representing a unity power factor (1.00).",0,snmp,,
snmp.cyberpower.ePDULoadStatusVoltage,gauge,,,,"[CPS-MIB] Getting this OID will return the phase/bank voltage measured in 0.1 volts.",0,snmp,,
snmp.cyberpower.ePDUOutletStatusActivePower,gauge,,,,"[CPS-MIB] Getting this OID will return the measured Outlet load for an Outlet Monitored Rack PDU in watts",0,snmp,,
snmp.cyberpower.ePDUOutletStatusLoad,gauge,,,,"[CPS-MIB] Getting this OID will return the measured Outlet load for an Outlet Monitored Rack PDU in tenths of Amps.",0,snmp,,
snmp.cyberpower.ePDUStatusBank,gauge,,,,"[CPS-MIB] Allows for getting of status of each Rack PDU Bank (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cyberpower.ePDUStatusInputFrequency,gauge,,,,"[CPS-MIB] The input frequency in 0.1 Hertz.",0,snmp,,
snmp.cyberpower.ePDUStatusInputVoltage,gauge,,,,"[CPS-MIB] The input voltage in 0.1 Volt.",0,snmp,,
snmp.cyberpower.ePDUStatusOutlet,gauge,,,,"[CPS-MIB] Allows for getting of status of each Outlet of an Outlet Monitored Rack PDU. (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cyberpower.ePDUStatusPhase,gauge,,,,"[CPS-MIB] Allows for getting of status of each Rack PDU Phase (Make 'sum by {X}' queries to count elements with the tag X.)",0,snmp,,
snmp.cyberpower.envirHumidity,gauge,,,,"",0,snmp,,
snmp.cyberpower.envir_temperature,gauge,,,,"",0,snmp,,
snmp.dailyFailedAuthCount,gauge,,,,"[CPPM-MIB] Total number of failed authentications computed over 24 hours",0,snmp,,
snmp.dailySuccessAuthCount,gauge,,,,"[CPPM-MIB] Total number of successful authentications computed over 24 hours",0,snmp,,
snmp.dailyTotalAuthCount,gauge,,,,"[CPPM-MIB] Total number of authentications computed over 24 hours",0,snmp,,
Expand Down
Loading

0 comments on commit aecf6d5

Please sign in to comment.