Skip to content

Commit

Permalink
Merge pull request #2269 from newrelic/release
Browse files Browse the repository at this point in the history
Release Feb 1, 2024 Pt. 2
  • Loading branch information
brammerl authored Feb 1, 2024
2 parents 826d1f2 + 1c8d620 commit 1835c09
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 10 deletions.
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/battery-charge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ type: STATIC
nrql:
query: "FROM Metric SELECT latest(hw.battery.charge) FACET site, host.name"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
Expand All @@ -26,4 +29,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/connector-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ type: STATIC
nrql:
query: "FROM Metric SELECT latest(hardware_sentry.connector.status) WHERE state = 'degraded' FACET site, host.name"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
Expand All @@ -16,4 +19,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/device-status(crit).yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ type: STATIC
nrql:
query: "FROM Metric SELECT latest(hw.status) WHERE state IN ('failed') OR battery.state = 'failed' FACET site, host.name"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
Expand All @@ -17,4 +20,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/device-status(warn).yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ type: STATIC
nrql:
query: "FROM Metric SELECT latest(hw.battery.charge) FACET site, host.name"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: WARNING
Expand All @@ -17,4 +20,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/host-nonresponsive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ type: STATIC
nrql:
query: "SELECT latest(hardware_sentry.host.up) FROM Metric FACET host.id"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
Expand All @@ -16,4 +19,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/missing-devices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ type: STATIC
nrql:
query: "SELECT latest(hw.status) FROM Metric WHERE state = 'present' FACET host.name"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
Expand All @@ -16,4 +19,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
5 changes: 4 additions & 1 deletion alert-policies/hardware-sentry/physical-disk-cap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ type: STATIC
nrql:
query: "SELECT latest(hw.physical_disk.endurance_utilization) FROM Metric FACET host.id"

# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
valueFunction: SINGLE_VALUE

# List of Critical and Warning thresholds for the condition
terms:
- priority: CRITICAL
Expand All @@ -25,4 +28,4 @@ terms:
# Time in seconds; 120 - 3600
thresholdDuration: 300
# How many data points must be in violation for the duration
thresholdOccurrences: ALL
thresholdOccurrences: ALL
6 changes: 3 additions & 3 deletions quickstarts/hardware-sentry/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: |
Hardware Sentry is Sentry Software's native OpenTelemetry solution which monitors the hardware health of almost any server, storage system, and network switch available on the market and exposes the collected metrics into New Relic. The solution also reports on power consumption, electricity costs and CO₂ emissions of on-prem IT infrastructures.
The solution is free-to-use for New Relic users. [Support plans](https://sentrysoftware.com/pricing/) are available.
## About this integration
This integration with New Relic & Hardware Sentry connects the native OpenTelemetry collector in Hardware Sentry's agent to New Relic's observability monitoring platform.
Expand Down Expand Up @@ -36,11 +36,11 @@ dataSourceIds:
- hardware-sentry
dashboards:
- hardware-sentry
alert-policies:
alertPolicies:
- hardware-sentry
documentation:
- name: Hardware Sentry - New Relic integration
url: https://www.sentrysoftware.com/docs/hws-doc/latest/integration/newrelic.html
description: This documentation explains how to integrate Hardware Sentry with New Relic.
icon: logo.png
website: https://www.sentrysoftware.com/
website: https://www.sentrysoftware.com/

0 comments on commit 1835c09

Please sign in to comment.