Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Feb 1, 2024 Pt. 2 #2269

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/
Loading