Skip to content

Commit

Permalink
CASMMON-397: Retrieve SMART metrics from E1000 via redfish and send v…
Browse files Browse the repository at this point in the history
…ia Prometheus
  • Loading branch information
rambabubolla committed Aug 22, 2024
1 parent 36d54a6 commit 05ba739
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kubernetes/cray-sysmgmt-health/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
#
apiVersion: v2
name: cray-sysmgmt-health
version: 1.0.6
version: 1.0.7
description: An extension of the official prometheus-operator helm chart for monitoring
system health.
keywords:
- sysmgmt-health
- prometheus
Expand All @@ -50,6 +49,9 @@ dependencies:
- name: logstash-exporter
repository: https://artifactory.algol60.net/artifactory/csm-helm-charts
version: 1.0.2
- name: redfish-exporter
repository: https://artifactory.algol60.net/artifactory/csm-helm-charts
version: 0.0.2

maintainers:
- name: rambabubolla
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: cray-sysmgmt-health-redfish
namespace: sysmgmt-health
labels:
app.kubernetes.io/instance: cray-sysmgmt-health
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redfish-exporter
app.kubernetes.io/version: 0.11.0
release: cray-sysmgmt-health
data:
fetch_health.sh: |
#!/bin/bash
TARGET=""
curl -o /tmp/redfish-smart-1.prom cray-sysmgmt-health-redfish-exporter.sysmgmt-health.svc:9220/health?target=${TARGET}
7 changes: 7 additions & 0 deletions kubernetes/cray-sysmgmt-health/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ logstash-exporter:
repository: artifactory.algol60.net/csm-docker/stable/docker.io/kuskoman/logstash-exporter
tag: v1.5.6

redfish-exporter:
image:
repository: artifactory.algol60.net/csm-docker/stable/redfish-exporter
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 1.0.0

snmpExporter:
enabled: true
namespace: sysmgmt-health
Expand Down

0 comments on commit 05ba739

Please sign in to comment.