Zabbix SNMP Template for (Western Digital) WD My Cloud EX4
In WD My Cloud EX4 is simple (MIBs here http://downloads.wdc.com/nas/WDMYCLOUDEX4-MIB.txt).
Because some OID return not-clear-byte values (150.3G, 2.3T) - in items used "regex-magic". Loosing some precision (i try to beat this problem), for flexiable data:
- Enable SNMP on WD My Cloud EX4
- Zabbix 3.4+ with preproccessing support for regex-magic on item
Low Level Discovery:
- physical disks
- logical disks
- UPS
In my env this NAS is "lazy" and have problems with BULK SNMP queries from Zabbix.
Template uses vars set on host-level:
- {$SNMP_PORT}
- {$SNMP_COMMUNITY}
There are no macros links in this template.
There are no template links in this template.
Name | Description | Type | Key and additional info |
---|---|---|---|
UPSs | - |
SNMP agent |
upsDiscovery Update: 1h |
Logical Disks | - |
SNMP agent |
ldDiscovery Update: 1m |
Physical Disks | - |
SNMP agent |
pdDiscovery Update: 1h |
Name | Description | Type | Key and additional info |
---|---|---|---|
Agent Version | - |
SNMP agent |
agentVer Update: 1h |
FTP status | - |
SNMP agent |
ftpServer Update: 1h |
Temperature | - |
SNMP agent |
temperature Update: 1m |
Fan status | - |
SNMP agent |
fanStatus Update: 1m |
Net type | - |
SNMP agent |
netType Update: 1h |
Software version | - |
SNMP agent |
softwareVersion Update: 1h |
Hostname | - |
SNMP agent |
hostName Update: 1h |
UPS No{#SNMPINDEX} Battery Charge | - |
SNMP agent |
upsBattery[{#SNMPINDEX}] Update: 1m LLD |
UPS No{#SNMPINDEX} Manufacturer | - |
SNMP agent |
upsManufacturer[{#SNMPINDEX}] Update: 1h LLD |
UPS No{#SNMPINDEX} Mode | - |
SNMP agent |
upsMode[{#SNMPINDEX}] Update: 1h LLD |
UPS No{#SNMPINDEX} Product | - |
SNMP agent |
upsProduct[{#SNMPINDEX}] Update: 1h LLD |
UPS No{#SNMPINDEX} Status | - |
SNMP agent |
upsStatus[{#SNMPINDEX}] Update: 1m LLD |
Logical disk {#VOLUMENAME} free space | - |
SNMP agent |
ld.freespace[{#VOLUMENAME}] Update: 1m LLD |
Logical disk {#VOLUMENAME} FS type | - |
SNMP agent |
ld.fstype[{#VOLUMENAME}] Update: 1h LLD |
Logical disk {#VOLUMENAME} free percent | - |
Calculated |
ld.pfree[{#VOLUMENAME}] Update: 1m LLD |
Logical disk {#VOLUMENAME} RAID level | - |
SNMP agent |
ld.raid[{#VOLUMENAME}] Update: 1h LLD |
Logical disk {#VOLUMENAME} size | - |
SNMP agent |
pd.size[{#VOLUMENAME}] Update: 1h LLD |
Disk capacity in slot {#SNMPINDEX} | - |
SNMP agent |
pd.capacity[{#SNMPINDEX}] Update: 1h LLD |
Disk model in slot {#SNMPINDEX} | - |
SNMP agent |
pd.model[{#SNMPINDEX}] Update: 1h LLD |
Disk SN in slot {#SNMPINDEX} | - |
SNMP agent |
pd.SN[{#SNMPINDEX}] Update: 1h LLD |
Disk temperature in slot {#SNMPINDEX} | - |
SNMP agent |
pd.temperature[{#SNMPINDEX}] Update: 1m LLD |
Disk vendor in slot {#SNMPINDEX} | - |
SNMP agent |
pd.Vendor[{#SNMPINDEX}] Update: 1h LLD |
Name | Description | Expression | Priority |
---|---|---|---|
Logical Disk {#VOLUMENAME} free space less 25% | - |
Expression: last(/WD My Cloud EX4/ld.pfree[{#VOLUMENAME}])<25 Recovery expression: |
warning |
Physical disk {#SNMPINDEX} temperature | - |
Expression: avg(/WD My Cloud EX4/pd.temperature[{#SNMPINDEX}],#5)>55 Recovery expression: |
warning |
Battery Charge Critical | - |
Expression: last(/WD My Cloud EX4/upsBattery[{#SNMPINDEX}])<25 Recovery expression: |
high |
Battery Charge Low | - |
Expression: last(/WD My Cloud EX4/upsBattery[{#SNMPINDEX}])<50 Recovery expression: |
average |
Battery Status | - |
Expression: find(/WD My Cloud EX4/upsStatus[{#SNMPINDEX}],#3,"regexp","On Line")=0 Recovery expression: |
warning |
Battery Charge Critical (LLD) | - |
Expression: last(/WD My Cloud EX4/upsBattery[{#SNMPINDEX}])<25 Recovery expression: |
high |
Battery Charge Low (LLD) | - |
Expression: last(/WD My Cloud EX4/upsBattery[{#SNMPINDEX}])<50 Recovery expression: |
average |
Battery Status (LLD) | - |
Expression: find(/WD My Cloud EX4/upsStatus[{#SNMPINDEX}],#3,"regexp","On Line")=0 Recovery expression: |
warning |
Logical Disk {#VOLUMENAME} free space less 25% (LLD) | - |
Expression: last(/WD My Cloud EX4/ld.pfree[{#VOLUMENAME}])<25 Recovery expression: |
warning |
Physical disk {#SNMPINDEX} temperature (LLD) | - |
Expression: avg(/WD My Cloud EX4/pd.temperature[{#SNMPINDEX}],#5)>55 Recovery expression: |
warning |