Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Chudinov <maxim.chudinov@zabbix.com>2022-01-19 09:08:34 +0300
committerMaxim Chudinov <maxim.chudinov@zabbix.com>2022-01-19 09:08:34 +0300
commitcf90e7948abf8fabd39b1b98ff8825e88d4b7b7a (patch)
tree8da5f26f65bc7d47ec4666f953475d680100d942 /templates/san
parentfc7fc127f09722f3256266db6959804e38e377ba (diff)
.........T [ZBXNEXT-7389] changed templates to use no linked templates, moved OS templates from the classic folder to the os folder
Diffstat (limited to 'templates/san')
-rw-r--r--templates/san/huawei_5300v5_snmp/README.md38
-rw-r--r--templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml311
-rw-r--r--templates/san/netapp_fas3220_snmp/README.md40
-rw-r--r--templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml299
4 files changed, 653 insertions, 35 deletions
diff --git a/templates/san/huawei_5300v5_snmp/README.md b/templates/san/huawei_5300v5_snmp/README.md
index 89c698f2c5d..bb062069221 100644
--- a/templates/san/huawei_5300v5_snmp/README.md
+++ b/templates/san/huawei_5300v5_snmp/README.md
@@ -6,9 +6,6 @@
For Zabbix version: 6.0 and higher
The template to monitor SAN Huawei OceanStor 5300 V5 by Zabbix SNMP agent.
-
-
-
This template was tested on:
- Huawei OceanStor 5300 V5
@@ -23,9 +20,6 @@ This template was tested on:
3\. Customize macro values if needed.
-
-
-
## Zabbix configuration
No specific Zabbix configuration is required.
@@ -46,24 +40,25 @@ No specific Zabbix configuration is required.
|{$HUAWEI.5300.POOL.CAPACITY.THRESH.TIME} |<p>The time during which free capacity may exceed the {#THRESHOLD} from hwInfoStoragePoolFullThreshold.</p> |`5m` |
|{$HUAWEI.5300.TEMP.MAX.TIME} |<p>The time during which temperature of enclosure may exceed the threshold.</p> |`3m` |
|{$HUAWEI.5300.TEMP.MAX.WARN} |<p>Maximum temperature of enclosure</p> |`35` |
+|{$ICMP_LOSS_WARN} |<p>-</p> |`20` |
+|{$ICMP_RESPONSE_TIME_WARN} |<p>-</p> |`0.15` |
+|{$SNMP.TIMEOUT} |<p>-</p> |`5m` |
## Template links
-|Name|
-|----|
-|Generic SNMP |
+There are no template links in this template.
## Discovery rules
|Name|Description|Type|Key and additional info|
|----|-----------|----|----|
+|BBU discovery |<p>Discovery of BBU</p> |SNMP |huawei.5300.bbu.discovery |
|Controllers discovery |<p>Discovery of controllers</p> |SNMP |huawei.5300.controllers.discovery |
+|Disks discovery |<p>Discovery of disks</p> |SNMP |huawei.5300.disks.discovery |
|Enclosure discovery |<p>Discovery of enclosures</p> |SNMP |huawei.5300.enclosure.discovery |
|FANs discovery |<p>Discovery of FANs</p> |SNMP |huawei.5300.fan.discovery |
-|BBU discovery |<p>Discovery of BBU</p> |SNMP |huawei.5300.bbu.discovery |
-|Disks discovery |<p>Discovery of disks</p> |SNMP |huawei.5300.disks.discovery |
-|Nodes performance discovery |<p>Discovery of nodes performance counters</p> |SNMP |huawei.5300.nodes.discovery |
|LUNs discovery |<p>Discovery of LUNs</p> |SNMP |huawei.5300.lun.discovery |
+|Nodes performance discovery |<p>Discovery of nodes performance counters</p> |SNMP |huawei.5300.nodes.discovery |
|Storage pools discovery |<p>Discovery of storage pools</p> |SNMP |huawei.5300.pool.discovery |
## Items collected
@@ -72,6 +67,12 @@ No specific Zabbix configuration is required.
|-----|----|-----------|----|---------------------|
|CPU |Controller {#ID}: CPU utilization |<p>CPU usage of a controller {#ID}.</p> |SNMP |huawei.5300.v5[hwInfoControllerCPUUsage, "{#ID}"] |
|CPU |Node {#NODE}: CPU utilization |<p>CPU usage of the node {#NODE}.</p> |SNMP |huawei.5300.v5[hwPerfNodeCPUUsage, "{#NODE}"] |
+|General |SNMP traps (fallback) |<p>The item is used to collect all SNMP traps unmatched by other snmptrap items</p> |SNMP_TRAP |snmptrap.fallback |
+|General |System location |<p>MIB: SNMPv2-MIB</p><p>The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.</p> |SNMP |system.location[sysLocation.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System contact details |<p>MIB: SNMPv2-MIB</p><p>The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.</p> |SNMP |system.contact[sysContact.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System object ID |<p>MIB: SNMPv2-MIB</p><p>The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.</p> |SNMP |system.objectid[sysObjectID.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System name |<p>MIB: SNMPv2-MIB</p><p>An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.</p> |SNMP |system.name<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System description |<p>MIB: SNMPv2-MIB</p><p>A textual description of the entity. This value should</p><p>include the full name and version identification of the system's hardware type, software operating-system, and</p><p>networking software.</p> |SNMP |system.descr[sysDescr.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
|Huawei |OceanStor 5300 V5: Status |<p>System running status.</p> |SNMP |huawei.5300.v5[status]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Huawei |OceanStor 5300 V5: Version |<p>The device version.</p> |SNMP |huawei.5300.v5[version]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Huawei |OceanStor 5300 V5: Capacity total |<p>Total capacity of a device.</p> |SNMP |huawei.5300.v5[totalCapacity]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1048576`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
@@ -115,6 +116,11 @@ No specific Zabbix configuration is required.
|Huawei |Pool {#NAME}: Capacity free |<p>Available capacity of a storage pool.</p> |SNMP |huawei.5300.v5[hwInfoStoragePoolFreeCapacity, "{#NAME}"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1048576`</p> |
|Huawei |Pool {#NAME}: Capacity used |<p>Used capacity of a storage pool.</p> |SNMP |huawei.5300.v5[hwInfoStoragePoolSubscribedCapacity, "{#NAME}"]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1048576`</p> |
|Huawei |Pool {#NAME}: Capacity used percentage |<p>Used capacity of a storage pool in percents.</p> |CALCULATED |huawei.5300.v5[hwInfoStoragePoolFreeCapacityPct, "{#NAME}"]<p>**Expression**:</p>`last(//huawei.5300.v5[hwInfoStoragePoolSubscribedCapacity, "{#NAME}"])/last(//huawei.5300.v5[hwInfoStoragePoolTotalCapacity, "{#NAME}"])*100` |
+|Status |Uptime |<p>MIB: SNMPv2-MIB</p><p>The time (in hundredths of a second) since the network management portion of the system was last re-initialized.</p> |SNMP |system.uptime[sysUpTime.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.01`</p> |
+|Status |SNMP agent availability |<p>Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.</p><p>Possible value:</p><p>0 - not available</p><p>1 - available</p><p>2 - unknown</p> |INTERNAL |zabbix[host,snmp,available] |
+|Status |ICMP ping |<p>-</p> |SIMPLE |icmpping |
+|Status |ICMP loss |<p>-</p> |SIMPLE |icmppingloss |
+|Status |ICMP response time |<p>-</p> |SIMPLE |icmppingsec |
## Triggers
@@ -122,6 +128,7 @@ No specific Zabbix configuration is required.
|----|-----------|----|----|----|
|Controller {#ID}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m) |<p>CPU utilization is too high. The system might be slow to respond.</p> |`min(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwInfoControllerCPUUsage, "{#ID}"],5m)>{$CPU.UTIL.CRIT}` |WARNING | |
|Node {#NODE}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m) |<p>CPU utilization is too high. The system might be slow to respond.</p> |`min(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwPerfNodeCPUUsage, "{#NODE}"],5m)>{$CPU.UTIL.CRIT}` |WARNING | |
+|System name has changed (new name: {ITEM.VALUE}) |<p>System name has changed. Ack to close.</p> |`last(/Huawei OceanStor 5300 V5 SNMP/system.name,#1)<>last(/Huawei OceanStor 5300 V5 SNMP/system.name,#2) and length(last(/Huawei OceanStor 5300 V5 SNMP/system.name))>0` |INFO |<p>Manual close: YES</p> |
|OceanStor 5300 V5: Storage version has been changed |<p>OceanStor 5300 V5 version has changed. Ack to close.</p> |`last(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[version],#1)<>last(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[version],#2) and length(last(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[version]))>0` |INFO |<p>Manual close: YES</p> |
|Controller {#ID}: Memory usage is too high (over {$HUAWEI.5300.MEM.MAX.WARN} for {$HUAWEI.5300.MEM.MAX.TIME}) |<p>-</p> |`min(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwInfoControllerMemoryUsage, "{#ID}"],{$HUAWEI.5300.MEM.MAX.TIME})>{$HUAWEI.5300.MEM.MAX.WARN}` |AVERAGE | |
|Controller {#ID}: Health status is not Normal |<p>-</p> |`last(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwInfoControllerHealthStatus, "{#ID}"])<>1` |HIGH | |
@@ -143,10 +150,15 @@ No specific Zabbix configuration is required.
|Pool {#NAME}: Health status is not Normal |<p>-</p> |`last(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwInfoStoragePoolHealthStatus, "{#NAME}"])<>1` |HIGH | |
|Pool {#NAME}: Running status is not Online |<p>-</p> |`last(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwInfoStoragePoolRunningStatus, "{#NAME}"])<>27` |AVERAGE | |
|Pool {#NAME}: Used capacity is too high (over {#THRESHOLD}%) |<p>-</p> |`min(/Huawei OceanStor 5300 V5 SNMP/huawei.5300.v5[hwInfoStoragePoolFreeCapacityPct, "{#NAME}"],{$HUAWEI.5300.POOL.CAPACITY.THRESH.TIME})>{#THRESHOLD}` |AVERAGE | |
+|{HOST.NAME} has been restarted (uptime < 10m) |<p>Uptime is less than 10 minutes</p> |`last(/Huawei OceanStor 5300 V5 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |<p>Manual close: YES</p><p>**Depends on**:</p><p>- No SNMP data collection</p> |
+|No SNMP data collection |<p>SNMP is not available for polling. Please check device connectivity and SNMP settings.</p> |`max(/Huawei OceanStor 5300 V5 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |<p>**Depends on**:</p><p>- Unavailable by ICMP ping</p> |
+|Unavailable by ICMP ping |<p>Last three attempts returned timeout. Please check device connectivity.</p> |`max(/Huawei OceanStor 5300 V5 SNMP/icmpping,#3)=0` |HIGH | |
+|High ICMP ping loss |<p>-</p> |`min(/Huawei OceanStor 5300 V5 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Huawei OceanStor 5300 V5 SNMP/icmppingloss,5m)<100` |WARNING |<p>**Depends on**:</p><p>- Unavailable by ICMP ping</p> |
+|High ICMP ping response time |<p>-</p> |`avg(/Huawei OceanStor 5300 V5 SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |<p>**Depends on**:</p><p>- High ICMP ping loss</p><p>- Unavailable by ICMP ping</p> |
## Feedback
Please report any issues with the template at https://support.zabbix.com
-You can also provide a feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/418855-discussion-thread-for-official-zabbix-template-huawei-oceanstor).
+You can also provide feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/418855-discussion-thread-for-official-zabbix-template-huawei-oceanstor).
diff --git a/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml b/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml
index 997dc132070..557e88f39cd 100644
--- a/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml
+++ b/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-15T14:25:38Z'
+ date: '2022-01-18T20:39:05Z'
groups:
-
uuid: 7c2cb727f85b492d88cd56e17127c64d
@@ -13,12 +13,12 @@ zabbix_export:
description: |
The template to monitor SAN Huawei OceanStor 5300 V5 by Zabbix SNMP agent.
+ MIBs used:
+ SNMPv2-MIB
+
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/418855-discussion-thread-for-official-zabbix-template-huawei-oceanstor
- Template tooling version used: 0.40
- templates:
- -
- name: 'Generic SNMP'
+ Template tooling version used: 0.41
groups:
-
name: Templates/SAN
@@ -107,6 +107,275 @@ zabbix_export:
priority: INFO
description: 'OceanStor 5300 V5 version has changed. Ack to close.'
manual_close: 'YES'
+ -
+ uuid: 030530f5193246f4b983ec802030e49b
+ name: 'ICMP ping'
+ type: SIMPLE
+ key: icmpping
+ history: 1w
+ valuemap:
+ name: 'Service state'
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: ef6b5dc40f9a49599aae97c2cf68d3cb
+ expression: 'max(/Huawei OceanStor 5300 V5 SNMP/icmpping,#3)=0'
+ name: 'Unavailable by ICMP ping'
+ priority: HIGH
+ description: 'Last three attempts returned timeout. Please check device connectivity.'
+ -
+ uuid: c82fa3f20c7443e4849ea8e8aec1e49d
+ name: 'ICMP loss'
+ type: SIMPLE
+ key: icmppingloss
+ history: 1w
+ value_type: FLOAT
+ units: '%'
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: c9765f7f271d46c99ad7dd45efa79849
+ expression: 'min(/Huawei OceanStor 5300 V5 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Huawei OceanStor 5300 V5 SNMP/icmppingloss,5m)<100'
+ name: 'High ICMP ping loss'
+ opdata: 'Loss: {ITEM.LASTVALUE1}'
+ priority: WARNING
+ dependencies:
+ -
+ name: 'Unavailable by ICMP ping'
+ expression: 'max(/Huawei OceanStor 5300 V5 SNMP/icmpping,#3)=0'
+ -
+ uuid: 0a95c43c70e54ad49f073fee69a2452d
+ name: 'ICMP response time'
+ type: SIMPLE
+ key: icmppingsec
+ history: 1w
+ value_type: FLOAT
+ units: s
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: b8815a9e952047e09d1e657cea5d538e
+ expression: 'avg(/Huawei OceanStor 5300 V5 SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
+ name: 'High ICMP ping response time'
+ opdata: 'Value: {ITEM.LASTVALUE1}'
+ priority: WARNING
+ dependencies:
+ -
+ name: 'High ICMP ping loss'
+ expression: 'min(/Huawei OceanStor 5300 V5 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Huawei OceanStor 5300 V5 SNMP/icmppingloss,5m)<100'
+ -
+ name: 'Unavailable by ICMP ping'
+ expression: 'max(/Huawei OceanStor 5300 V5 SNMP/icmpping,#3)=0'
+ -
+ uuid: 2ec396a7adf64637ae453d7f26cd5b20
+ name: 'SNMP traps (fallback)'
+ type: SNMP_TRAP
+ key: snmptrap.fallback
+ history: 2w
+ trends: '0'
+ value_type: LOG
+ description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
+ logtimefmt: 'hh:mm:sszyyyy/MM/dd'
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: e98719af84414ef5ab3dd788c7d2d72f
+ name: 'System contact details'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.4.0
+ key: 'system.contact[sysContact.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
+ inventory_link: CONTACT
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: cf59fb53834d4b14bdb0251e66c5143f
+ name: 'System description'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.1.0
+ key: 'system.descr[sysDescr.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ A textual description of the entity. This value should
+ include the full name and version identification of the system's hardware type, software operating-system, and
+ networking software.
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: fed7a954ea614cb086b901b2e6957621
+ name: 'System location'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.6.0
+ key: 'system.location[sysLocation.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.
+ inventory_link: LOCATION
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: 354fe7cd2632425b9f937e8714d79798
+ name: 'System name'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.5.0
+ key: system.name
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
+ inventory_link: NAME
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ triggers:
+ -
+ uuid: 72a31faa805b40e795a57649c724da1e
+ expression: 'last(/Huawei OceanStor 5300 V5 SNMP/system.name,#1)<>last(/Huawei OceanStor 5300 V5 SNMP/system.name,#2) and length(last(/Huawei OceanStor 5300 V5 SNMP/system.name))>0'
+ name: 'System name has changed (new name: {ITEM.VALUE})'
+ priority: INFO
+ description: 'System name has changed. Ack to close.'
+ manual_close: 'YES'
+ -
+ uuid: bf571c06cc264eca89d68f0b0b7559f7
+ name: 'System object ID'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.2.0
+ key: 'system.objectid[sysObjectID.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: f14eaa207ac9480995d2a2a10bea1467
+ name: Uptime
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.3.0
+ key: 'system.uptime[sysUpTime.0]'
+ delay: 30s
+ history: 2w
+ trends: 0d
+ units: uptime
+ description: |
+ MIB: SNMPv2-MIB
+ The time (in hundredths of a second) since the network management portion of the system was last re-initialized.
+ preprocessing:
+ -
+ type: MULTIPLIER
+ parameters:
+ - '0.01'
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: 0e3713bdf52e40d692cf256ac2a01988
+ expression: 'last(/Huawei OceanStor 5300 V5 SNMP/system.uptime[sysUpTime.0])<10m'
+ name: '{HOST.NAME} has been restarted (uptime < 10m)'
+ priority: WARNING
+ description: 'Uptime is less than 10 minutes'
+ manual_close: 'YES'
+ dependencies:
+ -
+ name: 'No SNMP data collection'
+ expression: 'max(/Huawei OceanStor 5300 V5 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
+ -
+ uuid: 197767da1b3c4c4f8f3c59ab3c3fc5b8
+ name: 'SNMP agent availability'
+ type: INTERNAL
+ key: 'zabbix[host,snmp,available]'
+ history: 7d
+ description: |
+ Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
+ Possible value:
+ 0 - not available
+ 1 - available
+ 2 - unknown
+ valuemap:
+ name: zabbix.host.available
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: b0c4103eac9447ee9f7f31627baf4eea
+ expression: 'max(/Huawei OceanStor 5300 V5 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
+ name: 'No SNMP data collection'
+ opdata: 'Current state: {ITEM.LASTVALUE1}'
+ priority: WARNING
+ description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
+ dependencies:
+ -
+ name: 'Unavailable by ICMP ping'
+ expression: 'max(/Huawei OceanStor 5300 V5 SNMP/icmpping,#3)=0'
discovery_rules:
-
uuid: 6de9606d1f594546b76e79bbb72a8a56
@@ -1243,6 +1512,15 @@ zabbix_export:
macro: '{$HUAWEI.5300.TEMP.MAX.WARN}'
value: '35'
description: 'Maximum temperature of enclosure'
+ -
+ macro: '{$ICMP_LOSS_WARN}'
+ value: '20'
+ -
+ macro: '{$ICMP_RESPONSE_TIME_WARN}'
+ value: '0.15'
+ -
+ macro: '{$SNMP.TIMEOUT}'
+ value: 5m
valuemaps:
-
uuid: b5c6d9d67da54531a918c93a9c98cec8
@@ -1659,6 +1937,29 @@ zabbix_export:
-
value: '109'
newvalue: 'Running(synchronizing data)'
+ -
+ uuid: 0aa29a4ffa224d56a107a1cfbd6c416a
+ name: 'Service state'
+ mappings:
+ -
+ value: '0'
+ newvalue: Down
+ -
+ value: '1'
+ newvalue: Up
+ -
+ uuid: d107957d44424014a251dff95751a41f
+ name: zabbix.host.available
+ mappings:
+ -
+ value: '0'
+ newvalue: 'not available'
+ -
+ value: '1'
+ newvalue: available
+ -
+ value: '2'
+ newvalue: unknown
graphs:
-
uuid: 9401d60314c441a5a04d7a9709c6970e
diff --git a/templates/san/netapp_fas3220_snmp/README.md b/templates/san/netapp_fas3220_snmp/README.md
index d20e931b5ae..1923aef36df 100644
--- a/templates/san/netapp_fas3220_snmp/README.md
+++ b/templates/san/netapp_fas3220_snmp/README.md
@@ -8,7 +8,6 @@ The template to monitor SAN NetApp FAS3220 cluster by Zabbix SNMP agent.
-
This template was tested on:
- NetApp FAS3220, firmware version: 5.3.0
@@ -25,7 +24,6 @@ This template was tested on:
-
## Zabbix configuration
No specific Zabbix configuration is required.
@@ -49,23 +47,24 @@ No specific Zabbix configuration is required.
|{$FAS3220.NET.PORT.ROLE.NOT_MATCHES} |<p>This macro is used in net ports discovery. Can be overridden on the host or linked template level.</p><p>{#ROLE} is integer. Possible values:</p><p> 0 - undef</p><p> 1 - cluster</p><p> 2 - data</p><p> 3 - node-mgmt</p><p> 4 - intercluster</p><p> 5 - cluster-mgmt</p> |`CHANGE_IF_NEEDED` |
|{$FAS3220.NET.PORT.TYPE.MATCHES} |<p>This macro is used in net ports discovery. Can be overridden on the host or linked template level.</p><p>{#TYPE} is integer. Possible values: physical, if-group, vlan, undef.</p> |`.*` |
|{$FAS3220.NET.PORT.TYPE.NOT_MATCHES} |<p>This macro is used in net ports discovery. Can be overridden on the host or linked template level.</p><p>{#TYPE} is integer. Possible values: physical, if-group, vlan, undef.</p> |`CHANGE_IF_NEEDED` |
+|{$ICMP_LOSS_WARN} |<p>-</p> |`20` |
+|{$ICMP_RESPONSE_TIME_WARN} |<p>-</p> |`0.15` |
|{$IF.ERRORS.WARN} |<p>-</p> |`` |
|{$IF.UTIL.MAX} |<p>-</p> |`95` |
+|{$SNMP.TIMEOUT} |<p>-</p> |`5m` |
## Template links
-|Name|
-|----|
-|Generic SNMP |
+There are no template links in this template.
## Discovery rules
|Name|Description|Type|Key and additional info|
|----|-----------|----|----|
-|CPU discovery |<p>Discovery of CPU metrics per node</p> |SNMP |fas3220.cpu.discovery |
|Cluster metrics discovery |<p>Discovery of Cluster metrics per node</p> |SNMP |fas3220.cluster.discovery |
-|HA discovery |<p>Discovery of high availability metrics per node</p> |SNMP |fas3220.ha.discovery |
+|CPU discovery |<p>Discovery of CPU metrics per node</p> |SNMP |fas3220.cpu.discovery |
|Filesystems discovery |<p>Filesystems discovery with filter.</p> |SNMP |fas3220.fs.discovery<p>**Filter**:</p>AND <p>- {#FSTYPE} MATCHES_REGEX `{$FAS3220.FS.TYPE.MATCHES}`</p><p>- {#FSTYPE} NOT_MATCHES_REGEX `{$FAS3220.FS.TYPE.NOT_MATCHES}`</p><p>- {#FSNAME} MATCHES_REGEX `{$FAS3220.FS.NAME.MATCHES}`</p><p>- {#FSNAME} NOT_MATCHES_REGEX `{$FAS3220.FS.NAME.NOT_MATCHES}`</p><p>**Overrides:**</p><p>Do not discover aggregate metrics<br> - {#FSTYPE} MATCHES_REGEX `3|4`<br> - ITEM_PROTOTYPE LIKE `Saved` - NO_DISCOVER</p> |
+|HA discovery |<p>Discovery of high availability metrics per node</p> |SNMP |fas3220.ha.discovery |
|Network ports discovery |<p>Network interfaces discovery with filter.</p> |SNMP |fas3220.net.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p><p>**Filter**:</p>AND <p>- {#TYPE} MATCHES_REGEX `{$FAS3220.NET.PORT.TYPE.MATCHES}`</p><p>- {#TYPE} NOT_MATCHES_REGEX `{$FAS3220.NET.PORT.TYPE.NOT_MATCHES}`</p><p>- {#ROLE} MATCHES_REGEX `{$FAS3220.NET.PORT.ROLE.MATCHES}`</p><p>- {#TYPE} NOT_MATCHES_REGEX `{$FAS3220.NET.PORT.ROLE.NOT_MATCHES}`</p><p>- {#IFNAME} MATCHES_REGEX `{$FAS3220.NET.PORT.NAME.MATCHES}`</p><p>- {#IFNAME} NOT_MATCHES_REGEX `{$FAS3220.NET.PORT.NAME.NOT_MATCHES}`</p> |
## Items collected
@@ -73,6 +72,12 @@ No specific Zabbix configuration is required.
|Group|Name|Description|Type|Key and additional info|
|-----|----|-----------|----|---------------------|
|CPU |Node {#NODE.NAME}: CPU utilization |<p>The average, over the last minute, of the percentage of time that this processor was not idle.</p> |SNMP |fas3220.cpu[cDOTCpuBusyTimePerCent, "{#NODE.NAME}"] |
+|General |SNMP traps (fallback) |<p>The item is used to collect all SNMP traps unmatched by other snmptrap items</p> |SNMP_TRAP |snmptrap.fallback |
+|General |System location |<p>MIB: SNMPv2-MIB</p><p>The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.</p> |SNMP |system.location[sysLocation.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System contact details |<p>MIB: SNMPv2-MIB</p><p>The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.</p> |SNMP |system.contact[sysContact.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System object ID |<p>MIB: SNMPv2-MIB</p><p>The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.</p> |SNMP |system.objectid[sysObjectID.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System name |<p>MIB: SNMPv2-MIB</p><p>An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.</p> |SNMP |system.name<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
+|General |System description |<p>MIB: SNMPv2-MIB</p><p>A textual description of the entity. This value should</p><p>include the full name and version identification of the system's hardware type, software operating-system, and</p><p>networking software.</p> |SNMP |system.descr[sysDescr.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
|NetApp FAS3220 |NetApp FAS3220: Product version |<p>MIB: NETAPP-MIB</p><p>Version string for the software running on this platform.</p> |SNMP |fas3220.inventory[productVersion]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|NetApp FAS3220 |NetApp FAS3220: Product firmware version |<p>Version string for the firmware running on this platform.</p> |SNMP |fas3220.inventory[productFirmwareVersion]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|NetApp FAS3220 |NetApp FAS3220: Failed disks count |<p>The number of disks that are currently broken.</p> |SNMP |fas3220.disk[diskFailedCount]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `10m`</p> |
@@ -104,16 +109,22 @@ No specific Zabbix configuration is required.
|NetApp FAS3220 |Node {#NODE}: port {#IFNAME} ({#TYPE}): State |<p>The link-state of the port. Normally it is either UP(2) or DOWN(3).</p> |SNMP |fas3220.net.port[netportLinkState, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|NetApp FAS3220 |Node {#NODE}: port {#IFNAME} ({#TYPE}): Health |<p>The health status of the port.</p> |SNMP |fas3220.net.port[netportHealthStatus, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|NetApp FAS3220 |Node {#NODE}: port {#IFNAME} ({#TYPE}): Health degraded reason |<p>The list of reasons why the port is marked as degraded.</p> |SNMP |fas3220.net.port[netportDegradedReason, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Inbound packets with errors |<p>MIB: IF-MIB</p><p>The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.</p> |SNMP |fas3220.net.if[if64InErrors, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Outbound packets with errors |<p>MIB: IF-MIB</p><p>The number of outbound packets that could not be transmitted because of errors.</p> |SNMP |fas3220.net.if[if64OutErrors, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Inbound packets discarded |<p>MIB: IF-MIB</p><p>The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.</p> |SNMP |fas3220.net.if[if64InDiscards, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Outbound packets discarded |<p>MIB: IF-MIB</p><p>The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.</p> |SNMP |fas3220.net.if[if64OutDiscards, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Inbound packets with errors |<p>MIB: IF-MIB</p><p>The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.</p> |SNMP |fas3220.net.if[if64InErrors, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Outbound packets with errors |<p>MIB: IF-MIB</p><p>The number of outbound packets that could not be transmitted because of errors.</p> |SNMP |fas3220.net.if[if64OutErrors, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Inbound packets discarded |<p>MIB: IF-MIB</p><p>The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.</p> |SNMP |fas3220.net.if[if64InDiscards, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Node {#NODE}: port {#IFNAME} ({#TYPE}): Outbound packets discarded |<p>MIB: IF-MIB</p><p>The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.</p> |SNMP |fas3220.net.if[if64OutDiscards, "{#NODE}", "{#IFNAME}"]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Status |Uptime |<p>MIB: SNMPv2-MIB</p><p>The time (in hundredths of a second) since the network management portion of the system was last re-initialized.</p> |SNMP |system.uptime[sysUpTime.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.01`</p> |
+|Status |SNMP agent availability |<p>Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.</p><p>Possible value:</p><p>0 - not available</p><p>1 - available</p><p>2 - unknown</p> |INTERNAL |zabbix[host,snmp,available] |
+|Status |ICMP ping |<p>-</p> |SIMPLE |icmpping |
+|Status |ICMP loss |<p>-</p> |SIMPLE |icmppingloss |
+|Status |ICMP response time |<p>-</p> |SIMPLE |icmppingsec |
## Triggers
|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----|----|----|
|Node {#NODE.NAME}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m) |<p>CPU utilization is too high. The system might be slow to respond.</p> |`min(/NetApp FAS3220 SNMP/fas3220.cpu[cDOTCpuBusyTimePerCent, "{#NODE.NAME}"],5m)>{$CPU.UTIL.CRIT}` |WARNING | |
+|System name has changed (new name: {ITEM.VALUE}) |<p>System name has changed. Ack to close.</p> |`last(/NetApp FAS3220 SNMP/system.name,#1)<>last(/NetApp FAS3220 SNMP/system.name,#2) and length(last(/NetApp FAS3220 SNMP/system.name))>0` |INFO |<p>Manual close: YES</p> |
|NetApp FAS3220: Number of failed disks has changed |<p>{{ITEM.LASTVALUE2}.regsub("(.*)", \1)}</p> |`last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedCount])>0 and last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedMessage],#1)<>last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedMessage],#2)`<p>Recovery expression:</p>`last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedCount])=0` |WARNING | |
|Node {#NODE.NAME}: has been restarted (uptime < 10m) |<p>Uptime is less than 10 minutes</p> |`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeUptime, "{#NODE.NAME}"])<10m` |INFO |<p>Manual close: YES</p> |
|Node {#NODE.NAME}: Node can not communicate with the cluster |<p>-</p> |`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeHealth, "{#NODE.NAME}"])=0` |HIGH |<p>Manual close: YES</p> |
@@ -129,10 +140,15 @@ No specific Zabbix configuration is required.
|Node {#NODE}: port {#IFNAME} ({#TYPE}): Link down |<p>Link state is not UP and the port status is set 'UP' by an administrator.</p> |`last(/NetApp FAS3220 SNMP/fas3220.net.port[netportLinkState, "{#NODE}", "{#IFNAME}"])<>2 and last(/NetApp FAS3220 SNMP/fas3220.net.port[netportUpAdmin, "{#NODE}", "{#IFNAME}"])=1` |AVERAGE |<p>Manual close: YES</p> |
|Node {#NODE}: port {#IFNAME} ({#TYPE}): Port is not healthy |<p>{{ITEM.LASTVALUE2}.regsub("(.*)", \1)}</p> |`last(/NetApp FAS3220 SNMP/fas3220.net.port[netportHealthStatus, "{#NODE}", "{#IFNAME}"])<>0 and length(last(/NetApp FAS3220 SNMP/fas3220.net.port[netportDegradedReason, "{#NODE}", "{#IFNAME}"]))>0` |INFO | |
|Node {#NODE}: port {#IFNAME} ({#TYPE}): High error rate (>{$IF.ERRORS.WARN:"{#IFNAME}"} for 5m) |<p>Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold</p> |`min(/NetApp FAS3220 SNMP/fas3220.net.if[if64InErrors, "{#NODE}", "{#IFNAME}"],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/NetApp FAS3220 SNMP/fas3220.net.if[if64OutErrors, "{#NODE}", "{#IFNAME}"],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} `<p>Recovery expression:</p>`max(/NetApp FAS3220 SNMP/fas3220.net.if[if64InErrors, "{#NODE}", "{#IFNAME}"],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/NetApp FAS3220 SNMP/fas3220.net.if[if64OutErrors, "{#NODE}", "{#IFNAME}"],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 ` |WARNING |<p>Manual close: YES</p> |
+|{HOST.NAME} has been restarted (uptime < 10m) |<p>Uptime is less than 10 minutes</p> |`last(/NetApp FAS3220 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |<p>Manual close: YES</p><p>**Depends on**:</p><p>- No SNMP data collection</p> |
+|No SNMP data collection |<p>SNMP is not available for polling. Please check device connectivity and SNMP settings.</p> |`max(/NetApp FAS3220 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |<p>**Depends on**:</p><p>- Unavailable by ICMP ping</p> |
+|Unavailable by ICMP ping |<p>Last three attempts returned timeout. Please check device connectivity.</p> |`max(/NetApp FAS3220 SNMP/icmpping,#3)=0` |HIGH | |
+|High ICMP ping loss |<p>-</p> |`min(/NetApp FAS3220 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/NetApp FAS3220 SNMP/icmppingloss,5m)<100` |WARNING |<p>**Depends on**:</p><p>- Unavailable by ICMP ping</p> |
+|High ICMP ping response time |<p>-</p> |`avg(/NetApp FAS3220 SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |<p>**Depends on**:</p><p>- High ICMP ping loss</p><p>- Unavailable by ICMP ping</p> |
## Feedback
Please report any issues with the template at https://support.zabbix.com
-You can also provide a feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/416694-discussion-thread-for-official-zabbix-template-netapp-fas3220).
+You can also provide feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/416694-discussion-thread-for-official-zabbix-template-netapp-fas3220).
diff --git a/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml b/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml
index 961d1f4c610..0060bda2d51 100644
--- a/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml
+++ b/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-15T14:25:45Z'
+ date: '2022-01-18T20:39:14Z'
groups:
-
uuid: 7c2cb727f85b492d88cd56e17127c64d
@@ -15,14 +15,12 @@ zabbix_export:
MIBs used:
NETAPP-MIB
+ SNMPv2-MIB
IF-MIB
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/416694-discussion-thread-for-official-zabbix-template-netapp-fas3220
- Template tooling version used: 0.40
- templates:
- -
- name: 'Generic SNMP'
+ Template tooling version used: 0.41
groups:
-
name: Templates/SAN
@@ -103,6 +101,275 @@ zabbix_export:
-
tag: Application
value: 'NetApp FAS3220'
+ -
+ uuid: 62c6bb1b70ee4ece865b562e298cafb0
+ name: 'ICMP ping'
+ type: SIMPLE
+ key: icmpping
+ history: 1w
+ valuemap:
+ name: 'Service state'
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: 826eb817329249f59b7989c92ca62d99
+ expression: 'max(/NetApp FAS3220 SNMP/icmpping,#3)=0'
+ name: 'Unavailable by ICMP ping'
+ priority: HIGH
+ description: 'Last three attempts returned timeout. Please check device connectivity.'
+ -
+ uuid: f7c934ef77d04c00bdec19f8e3950d85
+ name: 'ICMP loss'
+ type: SIMPLE
+ key: icmppingloss
+ history: 1w
+ value_type: FLOAT
+ units: '%'
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: 4fb4b0022ca3433c8da1402f1d996760
+ expression: 'min(/NetApp FAS3220 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/NetApp FAS3220 SNMP/icmppingloss,5m)<100'
+ name: 'High ICMP ping loss'
+ opdata: 'Loss: {ITEM.LASTVALUE1}'
+ priority: WARNING
+ dependencies:
+ -
+ name: 'Unavailable by ICMP ping'
+ expression: 'max(/NetApp FAS3220 SNMP/icmpping,#3)=0'
+ -
+ uuid: 72f8c27991b7440ba186f6eb037605cf
+ name: 'ICMP response time'
+ type: SIMPLE
+ key: icmppingsec
+ history: 1w
+ value_type: FLOAT
+ units: s
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: bb13f4d369294c0d83f8e6d888cbb062
+ expression: 'avg(/NetApp FAS3220 SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
+ name: 'High ICMP ping response time'
+ opdata: 'Value: {ITEM.LASTVALUE1}'
+ priority: WARNING
+ dependencies:
+ -
+ name: 'High ICMP ping loss'
+ expression: 'min(/NetApp FAS3220 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/NetApp FAS3220 SNMP/icmppingloss,5m)<100'
+ -
+ name: 'Unavailable by ICMP ping'
+ expression: 'max(/NetApp FAS3220 SNMP/icmpping,#3)=0'
+ -
+ uuid: 4380826947fc4df6a341fe074f42da6a
+ name: 'SNMP traps (fallback)'
+ type: SNMP_TRAP
+ key: snmptrap.fallback
+ history: 2w
+ trends: '0'
+ value_type: LOG
+ description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
+ logtimefmt: 'hh:mm:sszyyyy/MM/dd'
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: 045800cfeaf6448ab9a9e97f8b5172c1
+ name: 'System contact details'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.4.0
+ key: 'system.contact[sysContact.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
+ inventory_link: CONTACT
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: c12c6668d9564855b227dee42a9d86f8
+ name: 'System description'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.1.0
+ key: 'system.descr[sysDescr.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ A textual description of the entity. This value should
+ include the full name and version identification of the system's hardware type, software operating-system, and
+ networking software.
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: f46b736cdb7f44fcacf33d272d905db8
+ name: 'System location'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.6.0
+ key: 'system.location[sysLocation.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.
+ inventory_link: LOCATION
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: 65c5b2a3742c4c6d8a04c63bb96b46c6
+ name: 'System name'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.5.0
+ key: system.name
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
+ inventory_link: NAME
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ triggers:
+ -
+ uuid: 5266fcf7c9db457885c219385cfd5025
+ expression: 'last(/NetApp FAS3220 SNMP/system.name,#1)<>last(/NetApp FAS3220 SNMP/system.name,#2) and length(last(/NetApp FAS3220 SNMP/system.name))>0'
+ name: 'System name has changed (new name: {ITEM.VALUE})'
+ priority: INFO
+ description: 'System name has changed. Ack to close.'
+ manual_close: 'YES'
+ -
+ uuid: 2d9d7b390c774a188a07dbb5bb4a583e
+ name: 'System object ID'
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.2.0
+ key: 'system.objectid[sysObjectID.0]'
+ delay: 15m
+ history: 2w
+ trends: '0'
+ value_type: CHAR
+ description: |
+ MIB: SNMPv2-MIB
+ The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
+ preprocessing:
+ -
+ type: DISCARD_UNCHANGED_HEARTBEAT
+ parameters:
+ - 12h
+ tags:
+ -
+ tag: Application
+ value: General
+ -
+ uuid: 564b458cee7a4a2bb2b4f4777bead32d
+ name: Uptime
+ type: SNMP_AGENT
+ snmp_oid: 1.3.6.1.2.1.1.3.0
+ key: 'system.uptime[sysUpTime.0]'
+ delay: 30s
+ history: 2w
+ trends: 0d
+ units: uptime
+ description: |
+ MIB: SNMPv2-MIB
+ The time (in hundredths of a second) since the network management portion of the system was last re-initialized.
+ preprocessing:
+ -
+ type: MULTIPLIER
+ parameters:
+ - '0.01'
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: d33ca3f0d2f14feca01dce7bdf476776
+ expression: 'last(/NetApp FAS3220 SNMP/system.uptime[sysUpTime.0])<10m'
+ name: '{HOST.NAME} has been restarted (uptime < 10m)'
+ priority: WARNING
+ description: 'Uptime is less than 10 minutes'
+ manual_close: 'YES'
+ dependencies:
+ -
+ name: 'No SNMP data collection'
+ expression: 'max(/NetApp FAS3220 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
+ -
+ uuid: fff713712c44477aa081445d9962c002
+ name: 'SNMP agent availability'
+ type: INTERNAL
+ key: 'zabbix[host,snmp,available]'
+ history: 7d
+ description: |
+ Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
+ Possible value:
+ 0 - not available
+ 1 - available
+ 2 - unknown
+ valuemap:
+ name: zabbix.host.available
+ tags:
+ -
+ tag: Application
+ value: Status
+ triggers:
+ -
+ uuid: e778b1ae80174f7aa82085b4882e1160
+ expression: 'max(/NetApp FAS3220 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
+ name: 'No SNMP data collection'
+ opdata: 'Current state: {ITEM.LASTVALUE1}'
+ priority: WARNING
+ description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
+ dependencies:
+ -
+ name: 'Unavailable by ICMP ping'
+ expression: 'max(/NetApp FAS3220 SNMP/icmpping,#3)=0'
discovery_rules:
-
uuid: c999a3f338934982aa4359d9f0a8df30
@@ -1191,10 +1458,19 @@ zabbix_export:
This macro is used in net ports discovery. Can be overridden on the host or linked template level.
{#TYPE} is integer. Possible values: physical, if-group, vlan, undef.
-
+ macro: '{$ICMP_LOSS_WARN}'
+ value: '20'
+ -
+ macro: '{$ICMP_RESPONSE_TIME_WARN}'
+ value: '0.15'
+ -
macro: '{$IF.ERRORS.WARN}'
-
macro: '{$IF.UTIL.MAX}'
value: '95'
+ -
+ macro: '{$SNMP.TIMEOUT}'
+ value: 5m
valuemaps:
-
uuid: e078162b11ff49f59c3ab6d905f88f2c
@@ -1397,6 +1673,19 @@ zabbix_export:
-
value: '1'
newvalue: Up
+ -
+ uuid: 7ad319d1815e45a1a28a8cd2516fd8eb
+ name: zabbix.host.available
+ mappings:
+ -
+ value: '0'
+ newvalue: 'not available'
+ -
+ value: '1'
+ newvalue: available
+ -
+ value: '2'
+ newvalue: unknown
triggers:
-
uuid: 3e2d95918f364248ae07a2e436a986a0