diff --git a/charts/nut-exporter/Chart.yaml b/charts/nut-exporter/Chart.yaml index bf5257d014fb88379b9bd5dc975bbd2930942084..67069048b59e0b1bf2a704295d58968aa6db7617 100644 --- a/charts/nut-exporter/Chart.yaml +++ b/charts/nut-exporter/Chart.yaml @@ -15,5 +15,5 @@ sources: - https://github.com/acolombier/nut_exporter/tree/feat/add-helm-chart type: application -version: 0.3.9 +version: 0.3.10 appVersion: 3.0.0 diff --git a/charts/nut-exporter/README.md b/charts/nut-exporter/README.md index c793734a82d036bed371e58b267492cac3930f5b..fbf9643f1624875d30cdf91a62983c8192f079b1 100644 --- a/charts/nut-exporter/README.md +++ b/charts/nut-exporter/README.md @@ -1,6 +1,6 @@ # nut-exporter -   +   Installs NUT exporter in Kubernetes diff --git a/charts/nut-exporter/dashboards/default.json b/charts/nut-exporter/dashboards/default.json index 1a5303a319209d0a3dc3163fbdc6bd009b8eb86b..417f5f9d3dda1cdfe4a3d7eccfd733cc26301466 100755 --- a/charts/nut-exporter/dashboards/default.json +++ b/charts/nut-exporter/dashboards/default.json @@ -52,6 +52,17 @@ "type": "dashboard" }, "type": "dashboard" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "enable": true, + "expr": "max by (ups, flag) (network_ups_tools_ups_status{ups=\"$ups\", flag!=\"OL\"}) == 1", + "iconColor": "red", + "name": "UPS Status Events", + "titleFormat": "{{flag}}}" } ] },