zabbix_export: version: '5.4' date: '2021-11-21T21:35:24Z' groups: - uuid: 0cbc6611f5544bd0809a388dc95a615b name: Test templates: - uuid: 8c4aa541ee914e8d80451ef8cc304806 template: Storage name: Storage description: | ## Overview Мониторинг свободного места на диске С и диске D используя только SNMP. Важно не подключать диск А, меняются OID groups: - name: Test items: - uuid: 07276d70243b42f88a92f14c0e389fc4 name: 'Disc C: module' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.25.2.3.1.4.1 key: Cmodule delay: 60s history: 7d trends: 7d tags: - tag: Application value: 'Internal Items' - uuid: 12da513fb1e44fefbd39a7a89afbf8cc name: 'Disc C: Free space GB' type: CALCULATED key: DiscCFreeSpace delay: 60s history: 7d trends: 7d units: Gb params: (last(//DiscCTotalspaceGB))-(last(//DiscCUsedspaceGB)) tags: - tag: Application value: Storage - uuid: ba8f481d2b17402a8e076609c2049354 name: 'Disc C: Total space' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.25.2.3.1.5.1 key: DiscCTotalspace delay: 60s history: 7d trends: 7d tags: - tag: Application value: 'Internal Items' - uuid: e7671847e99346c3b0226c090ebe4eec name: 'Disc C: Total space GB' type: CALCULATED key: DiscCTotalspaceGB delay: 60s history: 7d trends: 7d units: Gb params: '((last(//DiscCTotalspace))*(last(//Cmodule)))/1073741824' tags: - tag: Application value: Storage - uuid: e79fc8daf0cd479db485fd07921c0c71 name: 'Disc C: Used space' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.25.2.3.1.6.1 key: DiscCUsedspace delay: 60s history: 7d trends: 7d tags: - tag: Application value: 'Internal Items' - uuid: 0a948be6106f490c96d22644e8701a95 name: 'Disc C: Used space GB' type: CALCULATED key: DiscCUsedspaceGB delay: 60s history: 7d trends: 7d units: Gb params: '((last(//DiscCUsedspace))*(last(//Cmodule)))/1073741824' tags: - tag: Application value: Storage - uuid: 1c53245b1c1545afa4e3d3f91b1707d8 name: 'Disc D: Free space GB' type: CALCULATED key: DiscDFreeSpace delay: 60s history: 7d trends: 7d units: Gb params: (last(//DiscDTotalspaceGB))-(last(//DiscDUsedspaceGB)) inventory_link: NOTES tags: - tag: Application value: Storage - uuid: 02070b84e72e4465bb298a32497b2354 name: 'Disc D: Total space' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.25.2.3.1.5.2 key: DiscDTotalspace delay: 60s history: 7d trends: 7d tags: - tag: Application value: 'Internal Items' - uuid: 71c8037b2b624764bb8a16142c6388bf name: 'Disc D: Total space GB' type: CALCULATED key: DiscDTotalspaceGB delay: 60s history: 7d trends: 7d units: Gb params: '((last(//DiscDTotalspace))*(last(//Dmodule)))/1073741824' tags: - tag: Application value: Storage - uuid: b22b2d683d3b4f07b111df1904209588 name: 'Disc D: Used space' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.25.2.3.1.6.2 key: DiscDUsedspace delay: 60s history: 7d trends: 7d tags: - tag: Application value: 'Internal Items' - uuid: 8ade4b0fc1154ac7bbe2666eb0b8242b name: 'Disc D: Used space GB' type: CALCULATED key: DiscDUsedspaceGB delay: 60s history: 7d trends: 7d units: Gb params: '((last(//DiscDUsedspace))*(last(//Dmodule)))/1073741824' tags: - tag: Application value: Storage - uuid: 9a6258ff475b453fbd49e499a120c9b9 name: 'Disc D: module' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.25.2.3.1.4.2 key: Dmodule delay: 60s history: 7d trends: 7d tags: - tag: Application value: 'Internal Items' dashboards: - uuid: ab00938362a84037bcde9f8ac1f447e7 name: St pages: - widgets: - type: GRAPH_CLASSIC width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Disc C' host: Storage - type: GRAPH_CLASSIC x: '12' width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Disc D' host: Storage triggers: - uuid: 94e8197937514507ab82656164e3c861 expression: '((last(/Storage/DiscCFreeSpace,#5))*100/last(/Storage/DiscCTotalspaceGB,#1)<5) or ((last(/Storage/DiscDFreeSpace,#5))*100/last(/Storage/DiscDTotalspaceGB,#1)<5)' name: 'Дисковое пространство критически низкое. Диск C: {ITEM.LASTVALUE1} Диск D: {ITEM.LASTVALUE3}' priority: HIGH description: | Disk C: Last free value: {ITEM.LASTVALUE1} Disk D: Last free value: {ITEM.LASTVALUE3} - uuid: 4b3931da5aa040b9b5b766fb537aa8af expression: '((last(/Storage/DiscCFreeSpace,#5))*100/last(/Storage/DiscCTotalspaceGB,#1)<10) or ((last(/Storage/DiscDFreeSpace,#5))*100/last(/Storage/DiscDTotalspaceGB,#1)<10)' name: 'Недостаточно места на диске. Диск C: {ITEM.LASTVALUE1} Диск D: {ITEM.LASTVALUE3}' priority: WARNING description: | Disk C: Last value: {ITEM.LASTVALUE1} Disk D: Last value: {ITEM2.LASTVALUE3} graphs: - uuid: f79f6c7263bc42848bea4d2109d65636 name: 'Disc C' width: '400' yaxismax: '0' show_work_period: 'NO' show_triggers: 'NO' type: PIE show_3d: 'YES' graph_items: - color: 00BB00 calc_fnc: LAST item: host: Storage key: DiscCFreeSpace - sortorder: '1' color: CC0000 calc_fnc: LAST item: host: Storage key: DiscCUsedspaceGB - uuid: 3e16872826ce4e58af5b7e3c00220f98 name: 'Disc D' width: '400' yaxismax: '0' show_work_period: 'NO' show_triggers: 'NO' type: PIE show_3d: 'YES' graph_items: - color: 00BB00 calc_fnc: LAST item: host: Storage key: DiscDFreeSpace - sortorder: '1' color: CC0000 calc_fnc: LAST item: host: Storage key: DiscDUsedspaceGB