zabbix_export: version: '5.4' date: '2021-11-21T21:21:53Z' groups: - uuid: 82a9ca54548d43dc8ba9647842f5f10b name: 'Templates new' templates: - uuid: 0bd778a096854e46b4f85172534cf7c3 template: 'SNMP ReadyNAS Tega' name: 'SNMP ReadyNAS Tega' description: | ## Description For Netgear Ready NAS http://www.downloads.netgear.com/files/ReadyNAS/READYNAS-MIB.txt Template is used for monitoring of the disks state, disks temperature, a status of volumes and general state device. Calculated value can be unavailable the some time ## Overview Template is based on MIB . LLD of disks. It monitors: * Disks temperature in Celsius. There is a trigger * Disks state. There is trigger * Volume state. There is trigger * Volume size, free space. There is trigger * And other. For tuning of a template macros are used Perhaps works at versions 2.*. groups: - name: 'Templates new' items: - uuid: 26e7a8b22000418da4ace22d608071cc name: nasMgrSoftwareVersion type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4526.18.1.0 key: nasMgrSoftwareVersion delay: '3600' trends: '0' value_type: CHAR description: 'Software version' tags: - tag: Application value: General triggers: - uuid: 188f759b45b446ed8d43738486e1db0b expression: 'nodata(/SNMP ReadyNAS Tega/nasMgrSoftwareVersion,{$NO_DATA_SNMP_TIMEOUT_TSRNT})=1' name: 'data isn''t recieved over SNMP ReadyNAS extended' priority: HIGH description: 'Если нет расширенных данных по SNMP' - uuid: 5c12ea15978840fbb50a99bfa7862ab9 name: sysDescr type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.1.0 key: sysDescr delay: '7200' trends: '0' value_type: CHAR tags: - tag: Application value: General - uuid: d5dfe94e343144ba9bee9d9213e90c0a name: sysName type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.5.0 key: sysName delay: '7200' trends: '0' value_type: CHAR tags: - tag: Application value: General - uuid: e66bfb2ca7da45f8a871b7116baa6dea name: sysUpTime type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.1.3.0 key: sysUpTime delay: '300' history: 10d units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: General discovery_rules: - uuid: ca188f5f1d4e449482224de78a8d5a25 name: 'Disks discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#DISKNUMBER},.1.3.6.1.4.1.4526.18.3.1.1]' key: diskNumber delay: '3600' description: 'HDD discovery in the device' item_prototypes: - uuid: 0e4c74c01f904565a6c4ae33ce88c4ff name: 'Disk $1 model' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.3.1.3.{#SNMPINDEX}' key: 'diskmodel[{#DISKNUMBER}]' delay: '3600' trends: '0' value_type: CHAR tags: - tag: Application value: Disk - uuid: 8dc37c154d944f7aa2d4de44c67c9981 name: 'Disk $1 status digital' type: CALCULATED key: 'diskstatusn[{#DISKNUMBER}]' delay: '3600' history: 10d params: 'find(//diskstatus[{#DISKNUMBER}],,"regexp","ok")' description: 'The disk status in digital format. "1" the disk is status "ok"' tags: - tag: Application value: Disk trigger_prototypes: - uuid: c0f6984ecc0e41909a2dea8b908ddd78 expression: | (last(/SNMP ReadyNAS Tega/diskstatusn[{#DISKNUMBER}],#2)=1) and (last(/SNMP ReadyNAS Tega/diskstatusn[{#DISKNUMBER}])=0) name: 'Disk {#DISKNUMBER} status change' priority: HIGH description: 'If the previous status was "ok" and became non-"ok"' - uuid: 3cdf2cdceebe4c379c7120fb7039abf2 name: 'Disk $1 status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.3.1.4.{#SNMPINDEX}' key: 'diskstatus[{#DISKNUMBER}]' delay: '3600' trends: '0' value_type: CHAR tags: - tag: Application value: Disk - uuid: 8ca2611e0db04223baf14b1be9481129 name: 'Disk $1 temperature' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.3.1.5.{#SNMPINDEX}' key: 'disktemperature[{#DISKNUMBER}]' delay: '3600' history: 10d description: 'The data received from the device. Original data are obtained in Fahrenheit.' tags: - tag: Application value: Disk - uuid: eb3fafe0c0c94bbaa7f4b25804834668 name: 'Disk $1 temperature celsius' type: CALCULATED key: 'disktemperature_c[{#DISKNUMBER}]' delay: '3600' history: 10d value_type: FLOAT units: C params: '0.555*(last(//disktemperature[{#DISKNUMBER}])-32)' description: 'Conversion of Fahrenheit in celsius' tags: - tag: Application value: Disk trigger_prototypes: - uuid: 40760c20f8df493eb9e02c14e8a08f20 expression: 'last(/SNMP ReadyNAS Tega/disktemperature_c[{#DISKNUMBER}])>{$TEMPERATURE_DISK_C_HIGH_TSRNT}' name: 'Disk {#DISKNUMBER} temperature celsius high! More that {$TEMPERATURE_DISK_C_HIGH_TSRNT}' priority: DISASTER description: 'if more that {$TEMPERATURE_DISK_C_HIGH_TSRNT} celsius' - uuid: e90a33eb8863421ea98d455cce9dc22e expression: 'last(/SNMP ReadyNAS Tega/disktemperature_c[{#DISKNUMBER}])>{$TEMPERATURE_DISK_C_TSRNT}' name: 'Disk {#DISKNUMBER} temperature celsius more that {$TEMPERATURE_DISK_C_TSRNT}' priority: AVERAGE description: 'if more that {$TEMPERATURE_DISK_C_TSRNT} celsius' graph_prototypes: - uuid: f9ca5f3d0b2b40ccb73c10d3dc529404 name: 'Disk {#DISKNUMBER} temperature' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - drawtype: BOLD_LINE color: F63100 item: host: 'SNMP ReadyNAS Tega' key: 'disktemperature_c[{#DISKNUMBER}]' - uuid: d29f718115084d12ac559451924aa8f5 name: 'Volumes discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#VOLUMENUMBER},.1.3.6.1.4.1.4526.18.7.1.1]' key: volumeNumber delay: '3600' item_prototypes: - uuid: f41da2258bc8452886251be10447999d name: 'Volume $1 free space (percentage)' type: CALCULATED key: 'volumefreepercent[{#VOLUMENUMBER}]' delay: '3600' history: 10d value_type: FLOAT units: '%' params: '(last(//volumefreesize[{#VOLUMENUMBER}])/last(//volumesize[{#VOLUMENUMBER}]))*100' tags: - tag: Application value: Volume trigger_prototypes: - uuid: 172d759aad3e445a8190fce28cc74907 expression: 'last(/SNMP ReadyNAS Tega/volumefreepercent[{#VOLUMENUMBER}])<{$FREE_SPACE_PERCENT_TSRNT}' name: 'Volume {#VOLUMENUMBER} Free Space percent {$FREE_SPACE_PERCENT_TSRNT}%' priority: AVERAGE - uuid: 85922d562dd443dd8f31b25f97bd852a name: 'Volume $1 free space' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.7.1.6.{#SNMPINDEX}' key: 'volumefreesize[{#VOLUMENUMBER}]' delay: '3600' history: 10d value_type: FLOAT units: TB description: 'Free Space on volume' preprocessing: - type: MULTIPLIER parameters: - '0.000001' tags: - tag: Application value: Volume trigger_prototypes: - uuid: 9cc6d9a7153446bcb746db501407c9c9 expression: 'last(/SNMP ReadyNAS Tega/volumefreesize[{#VOLUMENUMBER}])<{$FREE_SPACE_TB_TSRNT}' name: 'Volume {#VOLUMENUMBER} Free Space absolute {$FREE_SPACE_TB_TSRNT} TB' priority: HIGH - uuid: 6c800675a6964e6b8cf7f6ce66cb9324 name: 'Volume $1 used space' type: CALCULATED key: 'volumefreeusedsize[{#VOLUMENUMBER}]' delay: '3600' history: 10d value_type: FLOAT units: TB params: 'last(//volumesize[{#VOLUMENUMBER}])-last(//volumefreesize[{#VOLUMENUMBER}])' tags: - tag: Application value: Volume - uuid: 9d0e4d2367b74d96a26f39eb2eab2336 name: 'Volume $1 name' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.7.1.2.{#SNMPINDEX}' key: 'volumename[{#VOLUMENUMBER}]' delay: '3600' trends: '0' value_type: CHAR description: 'Volume name' tags: - tag: Application value: Volume - uuid: 80774bfe9174438397e331af20fce5b4 name: 'Volume $1 RAID Level' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.7.1.3.{#SNMPINDEX}' key: 'volumeraidlevel[{#VOLUMENUMBER}]' delay: '3600' trends: '0' value_type: CHAR description: 'Volume RAID level' tags: - tag: Application value: Volume - uuid: b833128729fc449bb5d832fd604e220a name: 'Volume $1 size' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.7.1.5.{#SNMPINDEX}' key: 'volumesize[{#VOLUMENUMBER}]' delay: '3600' history: 10d value_type: FLOAT units: TB description: 'Volume size' preprocessing: - type: MULTIPLIER parameters: - '0.000001' tags: - tag: Application value: Volume - uuid: 0d61924e3fe042a0aea55752d5d726af name: 'Volume $1 status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.4526.18.7.1.4.{#SNMPINDEX}' key: 'volumestatus[{#VOLUMENUMBER}]' delay: '3600' trends: '0' value_type: CHAR description: 'Volume status' tags: - tag: Application value: Volume trigger_prototypes: - uuid: df843183f291433681af2ff4109b9651 expression: 'find(/SNMP ReadyNAS Tega/volumestatus[{#VOLUMENUMBER}],,"iregexp","ok")<>1' name: 'Volume {#VOLUMENUMBER} status not ok' priority: HIGH graph_prototypes: - uuid: c47ee0f75ca7433aa2b84f441e3c5a81 name: 'Volume {#VOLUMENUMBER} free space percent' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - drawtype: GRADIENT_LINE color: 1A7C11 item: host: 'SNMP ReadyNAS Tega' key: 'volumefreepercent[{#VOLUMENUMBER}]' - uuid: 4ea1c8d03bb549dab0d316c1a70f1b99 name: 'Volume {#VOLUMENUMBER} space used' yaxismax: '0' show_work_period: 'NO' show_triggers: 'NO' type: PIE show_3d: 'YES' graph_items: - color: 1A7C11 item: host: 'SNMP ReadyNAS Tega' key: 'volumefreesize[{#VOLUMENUMBER}]' - sortorder: '1' color: F63100 item: host: 'SNMP ReadyNAS Tega' key: 'volumefreeusedsize[{#VOLUMENUMBER}]' macros: - macro: '{$FREE_SPACE_PERCENT_TSRNT}' value: '10' - macro: '{$FREE_SPACE_TB_TSRNT}' value: '0.005' - macro: '{$NO_DATA_SNMP_TIMEOUT_TSRNT}' value: 4h - macro: '{$SNMP_COMMUNITY_TEGA}' value: public - macro: '{$TEMPERATURE_DISK_C_HIGH_TSRNT}' value: '75' - macro: '{$TEMPERATURE_DISK_C_TSRNT}' value: '50' - macro: '{$TSNMPGT_NODATA}' value: 240m