summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-04-18 12:37:16 +0300
committerGitHub <noreply@github.com>2024-04-18 12:37:16 +0300
commitffdf6d0c06a6064d84e1760119d7ff017c3e7298 (patch)
treeaeb0cf686be4dc468cd83cc6158490e91b74da68 /src
parent70499959c6c255dd35b5f09f166fb2930462971a (diff)
go.d mega/adaptec meta add alerts (#17438)
Diffstat (limited to 'src')
-rw-r--r--src/go/collectors/go.d.plugin/modules/adaptecraid/metadata.yaml10
-rw-r--r--src/go/collectors/go.d.plugin/modules/megacli/metadata.yaml22
2 files changed, 30 insertions, 2 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/adaptecraid/metadata.yaml b/src/go/collectors/go.d.plugin/modules/adaptecraid/metadata.yaml
index ee0a9b8ec5..e573994f5b 100644
--- a/src/go/collectors/go.d.plugin/modules/adaptecraid/metadata.yaml
+++ b/src/go/collectors/go.d.plugin/modules/adaptecraid/metadata.yaml
@@ -80,7 +80,15 @@ modules:
troubleshooting:
problems:
list: []
- alerts: []
+ alerts:
+ - name: adaptec_raid_ld_health_status
+ metric: adaptecraid.logical_device_status
+ info: Adaptec RAID logical device (number ${label:ld_number} name ${label:ld_name}) health status is critical
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/adaptec_raid.conf
+ - name: adaptec_raid_pd_health_state
+ metric: adaptecraid.physical_device_state
+ info: Adaptec RAID physical device (number ${label:pd_number} location ${label:location}) health state is critical
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/adaptec_raid.conf
metrics:
folding:
title: Metrics
diff --git a/src/go/collectors/go.d.plugin/modules/megacli/metadata.yaml b/src/go/collectors/go.d.plugin/modules/megacli/metadata.yaml
index 5df8718867..5ede8f7e70 100644
--- a/src/go/collectors/go.d.plugin/modules/megacli/metadata.yaml
+++ b/src/go/collectors/go.d.plugin/modules/megacli/metadata.yaml
@@ -80,7 +80,27 @@ modules:
troubleshooting:
problems:
list: []
- alerts: []
+ alerts:
+ - name: megacli_adapter_health_state
+ metric: megacli.adapter_health_state
+ info: MegaCLI adapter ${label:adapter_number} is in the degraded state
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/megacli.conf
+ - name: megacli_phys_drive_media_errors
+ metric: megacli.phys_drive_media_errors
+ info: MegaCLI physical drive adapter ${label:adapter_number} slot ${label:slot_number} media errors
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/megacli.conf
+ - name: megacli_phys_drive_predictive_failures
+ metric: megacli.phys_drive_predictive_failures
+ info: MegaCLI physical drive (adapter ${label:adapter_number} slot ${label:slot_number}) predictive failures
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/megacli.conf
+ - name: megacli_bbu_charge
+ metric: megacli.bbu_charge
+ info: MegaCLI Backup Battery Unit (adapter ${label:adapter_number}) average charge over the last minute
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/megacli.conf
+ - name: megacli_bbu_recharge_cycles
+ metric: megacli.bbu_recharge_cycles
+ info: MegaCLI Backup Battery Unit (adapter ${label:adapter_number}) average charge over the last minute
+ link: https://github.com/netdata/netdata/blob/master/src/health/health.d/megacli.conf
metrics:
folding:
title: Metrics