Template netapp Alert monitoring
Macros used
| Name | Value |
|---|---|
| {$NETAPP_PASSWORD} | password |
| {$NETAPP_USERNAME} | admin |
Items collected
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Active alerts netapp check | - | DEPENDENT | 0 | Active.alerts.netapp.check |
| Active alerts netapp | - | SSH | - | ssh.run[alert_list,{HOST.IP},22,] |
Triggers
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Не работает проверка алертов на Netapp. | - | nodata(/Template netapp Alert monitoring/Active.alerts.netapp.check,3600)=1 or last(/Template netapp Alert monitoring/Active.alerts.netapp.check)=0 | AVERAGE ⚠ | Active alerts netapp check |
Discovery rule №1
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Обнаружение активных алертов Netapp | - | DEPENDENT | 0 | netapp_alert_discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| {#ALERT_ID} {#INDICATIONTIME} from {#NODE} | - | DEPENDENT | 0 | netapp.description[{#ALERT_ID},{#INDICATIONTIME},{#NODE}] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Есть активный алерт: {#ALERT_ID} {#INDICATIONTIME} from {#NODE} | Alert ID: {#ALERT_ID} Alerting Resource: {#ALERTINGRESOURCE} Indication Time: {#INDICATIONTIME} Node: {#NODE} Description: {{ITEM.LASTVALUE1}.regsub("(?s).*", \0)} | length(last(/Template netapp Alert monitoring/netapp.description[{#ALERT_ID},{#INDICATIONTIME},{#NODE}]))>=0 | - | {#ALERT_ID} {#INDICATIONTIME} from {#NODE} |
| Есть активный алерт: {#ALERT_ID} {#INDICATIONTIME} from {#NODE}. | Alert ID: {#ALERT_ID} Alerting Resource: {#ALERTINGRESOURCE} Indication Time: {#INDICATIONTIME} Node: {#NODE} Description: {{ITEM.LASTVALUE1}.regsub("(?s).*", \0)} | length(last(/Template netapp Alert monitoring/netapp.description[{#ALERT_ID},{#INDICATIONTIME},{#NODE}]))>=0 | AVERAGE ⚠ | {#ALERT_ID} {#INDICATIONTIME} from {#NODE} |