Skip to content

Commit

Permalink
Merge pull request #153 from sentrysoftware/feature/issue-152-voltage…
Browse files Browse the repository at this point in the history
…-highcritical-threshold-is-not-collected

Issue #152: Voltage: high.critical threshold is not collected
  • Loading branch information
NassimBtk authored Dec 2, 2024
2 parents 1b7938c + 6eb4ec1 commit 696d759
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/connector/hardware/GenericUPS/GenericUPS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ monitors:
hw.parent.type: enclosure
name: "${awk::sprintf(\"%s (%s)\", $2, \"UPS\")}"
metrics:
hw.voltage.limit{limit_type="high.degraded"}: milliVolt2Volt($4)
hw.voltage.limit{limit_type="high.critical"}: milliVolt2Volt($4)
hw.voltage.limit{limit_type="low.critical"}: milliVolt2Volt($5)
collect:
# Voltage Collect
Expand Down
2 changes: 1 addition & 1 deletion src/main/connector/hardware/IpmiTool/IpmiTool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ monitors:
name: ${awk::sprintf("%s (%s)", $3, $4)}
metrics:
hw.voltage.limit{limit_type="low.critical"}: milliVolt2Volt($6)
hw.voltage.limit{limit_type="high.degraded"}: milliVolt2Volt($7)
hw.voltage.limit{limit_type="high.critical"}: milliVolt2Volt($7)
collect:
# Collect type is all instances in one shot
type: multiInstance
Expand Down
2 changes: 1 addition & 1 deletion src/main/connector/hardware/lmsensors/lmsensors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ monitors:
name: ${awk::sprintf("%s (%s)", $2, "Planar")}
metrics:
hw.voltage.limit{limit_type="low.critical"}: milliVolt2Volt($5)
hw.voltage.limit{limit_type="high.degraded"}: milliVolt2Volt($6)
hw.voltage.limit{limit_type="high.critical"}: milliVolt2Volt($6)
collect:
# Collection Type
type: multiInstance
Expand Down

0 comments on commit 696d759

Please sign in to comment.