zabbix_export: version: '6.0' date: '2021-11-21T21:31:07Z' groups: - uuid: c460da21e7884b1a8dab7bcb36ec9a98 name: 'Supermicro servers' templates: - uuid: fb8800b3ddbb4117b09b1ed58cd6c3c2 template: 'Supermicro SNMP Superdoctor 5 LLD' name: 'Supermicro SNMP Superdoctor 5 LLD' description: | ## Overview Monitor Supermicro servers by snmp vs SuperDoctor5 (SD5). Monitored items: 1. Fans (RPM) 2. Physical disks (by hba or LSI raid card (see SD5 documentation)). By default deactivated. * model * serial number (trigger exists) * smart status (trigger exists) 3. Power Supply (ok or not, trigger exists) 4. Temperatures (celsius, trigger exists) 5. Power Supply Input Voltages (for tests, trigger exists). By default deactivated. 6. Memory * model * serial number (trigger exists) * manufacturer * location * error count (trigger exists) * capacity 7. Mainboard * model * bios version (trigger exists) All items is searching by lld (excluding mainboard model and bios version). Filtering if set to not monitored in SD5. Macroses: 1. {$SNMP\_COMMUNITY} 2. {$SUPERMICRO\_DISCOVERY\_TIME} - period of discovering (how often). 3. {$DISC\_DISCOVERY\_TIME} - period of discovering for disks (i suppose that you may change it more often) 4. {$PD\_REQUEST\_PERIOD} - period of requesting data from disks. Regular expressions: 1. Filtering RAID (Result is False, expression - RAID) 2. Filtering Microsoft Storage Space Device (Result is False, expression - Filtering Microsoft Storage Space Device) Value mappings: 1. Supermicro physical disk smart status (0 ⇒ OK 2 ⇒ Critical) 2. Supermicro power supply status (SNMP) (0 ⇒ OK 1 ⇒ Warning 2 ⇒ Critical) I don't use disks in production and power voltages, but i've tested this functions. For using this template you have to configure snmp and install super doctor 5. You can use template as is and make commens with your wishes or other. i will glad to see interesting ideas for upgrading this template. groups: - name: 'Supermicro servers' items: - uuid: 120cb2d7210940158ae047b83d479088 name: 'Supermicro mainboard bios version' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.10876.100.1.5.1.8.1 key: supermicro_mb_biosversion delay: 1d trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro Mainboard' triggers: - uuid: ceafd44da9ec4f728c8666b03b9e5626 expression: '(last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_mb_biosversion,#1)<>last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_mb_biosversion,#2))=1' name: 'Supermicro bios was change to {ITEM.LASTVALUE} on {HOST.DNS}' priority: INFO manual_close: 'YES' - uuid: 83873fd0289343da808c51abca23ab6d name: 'Supermicro mainboard model' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.10876.100.1.6.1.11.1 key: supermicro_mb_model delay: 1d trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro Mainboard' discovery_rules: - uuid: cc3e39cae8d84cefb61999f313ea2d41 name: 'Physical disk' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.10876.100.1.4.1.5]' key: supermicro_diskmodel delay: '{$DISC_DISCOVERY_TIME}' status: DISABLED filter: evaltype: AND conditions: - macro: '{#SNMPVALUE}' value: '@Filtering Microsoft Storage Space Device' formulaid: A - macro: '{#SNMPVALUE}' value: '@Filtering RAID' formulaid: B item_prototypes: - uuid: fee19b148e834169949e7bb4e7a429b4 name: 'Supermicro disk {#SNMPINDEX} model' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.4.1.5.{#SNMPINDEX}' key: 'supermicro_disc_model[{#SNMPINDEX}]' delay: '{$PD_REQUEST_PERIOD}' trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro phisycal disks' - uuid: 70aa2b16d58042c2a2fec27ebae0db58 name: 'Supermicro disk {#SNMPINDEX} smart status' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.4.1.4.{#SNMPINDEX}' key: 'supermicro_disk_smart[{#SNMPINDEX}]' delay: '{$PD_REQUEST_PERIOD}' valuemap: name: 'Supermicro physical disk smart status' tags: - tag: Application value: 'Supermicro phisycal disks' trigger_prototypes: - uuid: 099b5aa6bf8c4008803d74fba43f32da expression: 'last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_disk_smart[{#SNMPINDEX}])=2' name: 'Supermicro physical disk status is {ITEM.LASTVALUE} on {HOST.DNS}' priority: HIGH - uuid: 8972441224f14df096c2f2ae95b3562f name: 'Supermicro disk {#SNMPINDEX} serial number' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.4.1.1.{#SNMPINDEX}' key: 'supermicro_disk_sn[{#SNMPINDEX}]' delay: '{$PD_REQUEST_PERIOD}' trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro phisycal disks' trigger_prototypes: - uuid: bf0725d30a33425ba0522db7f612f467 expression: '(last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_disk_sn[{#SNMPINDEX}],#1)<>last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_disk_sn[{#SNMPINDEX}],#2))=1' name: 'Supermicro physical disc was changed to {ITEM.LASTVALUE} on {HOST.DNS}' priority: WARNING - uuid: bdb9ea743e214610857bccd44df6952e name: FANs type: SNMP_AGENT snmp_oid: 'discovery[{#MONITEMNAME},.1.3.6.1.4.1.10876.2.1.1.1.1.2, {#MONITEMSTATUS},.1.3.6.1.4.1.10876.2.1.1.1.1.10]' key: supermicro_fanmonitemid delay: '{$SUPERMICRO_DISCOVERY_TIME}' filter: evaltype: AND conditions: - macro: '{#MONITEMNAME}' value: 'FAN*' formulaid: A - macro: '{#MONITEMSTATUS}' value: '1' formulaid: B item_prototypes: - uuid: b7b5ca14518d4e3d8b82f6a4a1266a42 name: 'Supermicro $1 RPMs' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.2.1.1.1.1.4.{#SNMPINDEX}' key: 'supermicro_fanrpms[{#MONITEMNAME}]' delay: 5m history: 30d trends: 90d units: RPM tags: - tag: Application value: 'Supermicro Fans' - uuid: 397635f5413c4da0bd44ad2c1d08e42c name: 'Power Supply Input voltages' type: SNMP_AGENT snmp_oid: 'discovery[{#MONITEMNAME},.1.3.6.1.4.1.10876.2.1.1.1.1.2, {#MONITEMSTATUS},.1.3.6.1.4.1.10876.2.1.1.1.1.10]' key: supermicro_inpvoltageid delay: '{$SUPERMICRO_DISCOVERY_TIME}' status: DISABLED filter: evaltype: AND conditions: - macro: '{#MONITEMNAME}' value: 'PS\d ACInputVoltage' formulaid: A - macro: '{#MONITEMSTATUS}' value: '1' formulaid: B item_prototypes: - uuid: 1092124bc3564a4fa93d3610877c4fda name: 'Supermicro $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.2.1.1.1.1.4.{#SNMPINDEX}' key: 'supermicro_acinp[{#SNMPVALUE}]' delay: 5m value_type: FLOAT units: V preprocessing: - type: MULTIPLIER parameters: - '0.001' tags: - tag: Application value: 'Supermicro Power Supply' trigger_prototypes: - uuid: f5e46b14a90b41b28c60ba810748e75d expression: 'last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_acinp[{#SNMPVALUE}])<220' name: '{#SNMPVALUE} is {ITEM.LASTVALUE} on {HOST.DNS}' priority: AVERAGE graph_prototypes: - uuid: b6424239290740be9a11c91c35daa5f9 name: '{HOST.CONN:{#SNMPVALUE} }' graph_items: - color: 1A7C11 item: host: 'Supermicro SNMP Superdoctor 5 LLD' key: 'supermicro_acinp[{#SNMPVALUE}]' - uuid: 007ee7b7f9b2428bba157f7a8fd7a110 name: Memory type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.10876.100.1.3.1.1]' key: supermicro_memory_id delay: '{$SUPERMICRO_DISCOVERY_TIME}' item_prototypes: - uuid: f9b87aea11db437b86be4f8a572826ff name: 'Supermicro memory $1 capacity' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.3.1.11.{#SNMPINDEX}' key: 'supermicro_memory_cap[{#SNMPVALUE}]' delay: 1d history: 30d trends: 90d units: Gb preprocessing: - type: MULTIPLIER parameters: - '0.0009765625' tags: - tag: Application value: 'Supermicro memory' - uuid: 6fc8c18f78cb494b9a9027b1c6a3a085 name: 'Supermicro memory $1 error count' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.3.1.15.{#SNMPINDEX}' key: 'supermicro_memory_errcount[{#SNMPVALUE}]' delay: 1d history: 30d trends: 90d tags: - tag: Application value: 'Supermicro memory' trigger_prototypes: - uuid: 0b4ce98fc1e442619932122c042cfbc5 expression: 'last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_memory_errcount[{#SNMPVALUE}])>0' name: 'Memory bank on {HOST.DNS} has {ITEM.LASTVALUE} errors' priority: WARNING - uuid: 2221191b574043329a262ee95d138c08 name: 'Supermicro memory $1 location' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.3.1.5.{#SNMPINDEX}' key: 'supermicro_memory_location[{#SNMPVALUE}]' delay: 1d history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro memory' - uuid: 5ba94a524346446887127337298ff03f name: 'Supermicro memory $1 manufacturer' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.3.1.8.{#SNMPINDEX}' key: 'supermicro_memory_manufacturer[{#SNMPVALUE}]' delay: 1d history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro memory' - uuid: 8f3b3051dee946d8943615bbae62cb9d name: 'Supermicro memory $1 model' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.3.1.9.{#SNMPINDEX}' key: 'supermicro_memory_model[{#SNMPVALUE}]' delay: 1d history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro memory' - uuid: 71fe582bedab492e855a3080b10d62de name: 'Supermicro memory $1 sn' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.100.1.3.1.10.{#SNMPINDEX}' key: 'supermicro_memory_sn[{#SNMPVALUE}]' delay: 1d history: 30d trends: '0' value_type: TEXT tags: - tag: Application value: 'Supermicro memory' trigger_prototypes: - uuid: 6bee84f4564f42b89baab7cfb19a5107 expression: '(last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_memory_sn[{#SNMPVALUE}],#1)<>last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_memory_sn[{#SNMPVALUE}],#2))=1' name: 'Memory bank on {HOST.DNS} was changed' priority: INFO - uuid: b49aa3a802854e54bb5876ba821972f2 name: 'Power Supply' type: SNMP_AGENT snmp_oid: 'discovery[{#MONITEMNAME},.1.3.6.1.4.1.10876.2.1.1.1.1.2, {#MONITEMSTATUS},.1.3.6.1.4.1.10876.2.1.1.1.1.10]' key: supermicro_psmonitemid delay: '{$SUPERMICRO_DISCOVERY_TIME}' filter: evaltype: AND conditions: - macro: '{#MONITEMNAME}' value: 'PS\d Status' formulaid: A - macro: '{#MONITEMSTATUS}' value: '1' formulaid: B item_prototypes: - uuid: 9d498eb5349c4c04ad5611acc3510ca3 name: 'Supermicro $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.2.1.1.1.1.4.{#SNMPINDEX}' key: 'supermicro_psstatus[{#MONITEMNAME}]' delay: 15m valuemap: name: 'Supermicro power supply status (SNMP)' tags: - tag: Application value: 'Supermicro Power Supply' trigger_prototypes: - uuid: 73e5206f82cb4a2cb6342d5a51dbee4b expression: 'last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_psstatus[{#MONITEMNAME}])=1' name: '{#SNMPVALUE} is {ITEM.LASTVALUE} on {HOST.DNS}' priority: WARNING - uuid: ace4eca80cef499186503e8097e9e487 expression: 'last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_psstatus[{#MONITEMNAME}])=2' name: '{#SNMPVALUE} is {ITEM.LASTVALUE} on {HOST.DNS}' priority: HIGH - uuid: 47c8a414c830408d892e0bffb533f10b name: Temperatures type: SNMP_AGENT snmp_oid: 'discovery[{#MONITEMNAME},.1.3.6.1.4.1.10876.2.1.1.1.1.2, {#MONITEMSTATUS},.1.3.6.1.4.1.10876.2.1.1.1.1.10]' key: supermicro_tempmonitemid delay: '{$SUPERMICRO_DISCOVERY_TIME}' filter: evaltype: AND conditions: - macro: '{#MONITEMNAME}' value: '.*Temp*' formulaid: A - macro: '{#MONITEMSTATUS}' value: '1' formulaid: B item_prototypes: - uuid: a526475bb4274c2890e23a397aaf3f6f name: 'Supermicro $1' type: SNMP_AGENT snmp_oid: '.1.3.6.1.4.1.10876.2.1.1.1.1.4.{#SNMPINDEX}' key: 'supermicro_temp[{#MONITEMNAME}]' delay: 5m history: 30d trends: 90d units: C tags: - tag: Application value: 'Supermicro temperatures' trigger_prototypes: - uuid: 0061e3634b4e46ca91d42a701257487a expression: 'last(/Supermicro SNMP Superdoctor 5 LLD/supermicro_temp[{#MONITEMNAME}])>70' name: '{#SNMPVALUE} is {ITEM.LASTVALUE} on {HOST.DNS}' priority: HIGH valuemaps: - uuid: 2cc97135a32045e0ad960b1331408d3e name: 'Supermicro physical disk smart status' mappings: - value: '0' newvalue: OK - value: '2' newvalue: Critical - uuid: ea13bffdb89a4bc0b065f55c9aac7fd6 name: 'Supermicro power supply status (SNMP)' mappings: - value: '0' newvalue: OK - value: '1' newvalue: Warning - value: '2' newvalue: Critical