zabbix_export: version: '5.4' date: '2021-11-21T21:59:11Z' groups: - uuid: 412ce7098e334402804b9977e254d589 name: Templates/Conditioners templates: - uuid: fb07e9c0f75d4a59b8eb0f45b76b7f8e template: SBR01 name: SBR01 description: | ## Overview This template for **SBR01 air conditioner controller** Template for 3 conditioners, the rest you can add. Because MIB structure not good for low discovery. Protocol SNMP v2 Items 95 with low discovery Graphs 1 **Triggers:** All the air conditioning's stopped Error on conditioner No data on {HOST.NAME} Temperature is above warning threshold in {HOST.NAME} room Template on my [GitHub](https://github.com/pgalonza/Notes/blob/master/administration/zabbix/templates/SBR01.xml) repository MIBs on my [GitHub](https://github.com/pgalonza/Notes/tree/master/administration/sbr01) repository ## Author P.V. Galonza groups: - name: Templates/Conditioners items: - uuid: e39ccbdd540e4417bdc38f80a576b09e name: 'Conditioner1 control' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.1.6.0 key: sbr01.conditioners.conditioner1.autoOn delay: 15m history: 30d valuemap: name: 'SBR01::AutoOn' request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: f7f242062a304cc6a825eeda11b4069f expression: '(last(/SBR01/sbr01.conditioners.conditioner1.autoOn,#1)<>last(/SBR01/sbr01.conditioners.conditioner1.autoOn,#2))<>0' name: 'Auto ON {ITEM.LASTVALUE} has been changed on conditioner 1' status: DISABLED priority: WARNING - uuid: ca7790b2b5494321b4de277a6780d7cc name: 'Conditioner1 uptime' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.1.7.0 key: sbr01.conditioners.conditioner1.coolTime delay: 10m history: 30d units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.01' request_method: POST tags: - tag: Application value: Conditioners - uuid: 7f6a7240843144d29695d828ff1a53e2 name: 'Сonditioner1 error' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.1.2.0 key: sbr01.conditioners.conditioner1.error delay: 3m history: 30d preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 15m request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: f22ffb9ce697455f9b51d8f687c48aa2 expression: last(/SBR01/sbr01.conditioners.conditioner1.error)<>0 name: 'Error on conditioner 1' priority: HIGH - uuid: b1be178248144b8facba136dcdcbbff6 name: 'Conditioner1 state' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.1.5.0 key: sbr01.conditioners.conditioner1.state delay: 3m history: 30d valuemap: name: 'SBR01::State' preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 15m request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: 1a6b5a94f2a04195a913b11b1c068d55 expression: '(last(/SBR01/sbr01.conditioners.conditioner1.state,#1)<>last(/SBR01/sbr01.conditioners.conditioner1.state,#2))<>0' name: 'Status {ITEM.LASTVALUE} has been changed on conditioner 1' status: DISABLED priority: WARNING - uuid: 961ee7de49df432ea128a36908e54b95 name: 'Conditioner1 temperature IN' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.1.3.0 key: sbr01.conditioners.conditioner1.tempIn delay: 2m history: 30d units: °C request_method: POST tags: - tag: Application value: Conditioners - uuid: 9e82a80eb5be42e4b978d0deca66c47b name: 'Conditioner1 temperature OUT' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.1.4.0 key: sbr01.conditioners.conditioner1.tempOut delay: 2m history: 30d units: °C request_method: POST tags: - tag: Application value: Conditioners - uuid: 26849b27a5564e34aa9ca98d3aca87ab name: 'Conditioner2 control' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.2.6.0 key: sbr01.conditioners.conditioner2.autoOn delay: 15m history: 30d valuemap: name: 'SBR01::AutoOn' request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: 2f2f3ffe60c245cb9c195fb127ae3da9 expression: '(last(/SBR01/sbr01.conditioners.conditioner2.autoOn,#1)<>last(/SBR01/sbr01.conditioners.conditioner2.autoOn,#2))<>0' name: 'Auto ON {ITEM.LASTVALUE} has been changed on conditioner 2' status: DISABLED priority: WARNING - uuid: b5b0df4556da451e9ecfdfa38b87140f name: 'Conditioner2 uptime' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.2.7.0 key: sbr01.conditioners.conditioner2.coolTime delay: 10m history: 30d units: uptime request_method: POST tags: - tag: Application value: Conditioners - uuid: d194ca9072f74f9588494cd23af430c8 name: 'Сonditioner2 error' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.2.2.0 key: sbr01.conditioners.conditioner2.error delay: 3m history: 30d preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 15m request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: 719747026c97457f9115cd91b1b74cfc expression: last(/SBR01/sbr01.conditioners.conditioner2.error)<>0 name: 'Error on conditioner 2' priority: HIGH - uuid: c9aa8ce05e1a4dd6b181bce032a76809 name: 'Conditioner2 state' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.2.5.0 key: sbr01.conditioners.conditioner2.state delay: 3m history: 30d valuemap: name: 'SBR01::State' preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 15m request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: f01231559d02474f8e923a4a1113de16 expression: '(last(/SBR01/sbr01.conditioners.conditioner2.state,#1)<>last(/SBR01/sbr01.conditioners.conditioner2.state,#2))<>0' name: 'Status {ITEM.LASTVALUE} has been changed on conditioner 2' status: DISABLED priority: WARNING - uuid: 1ef7e3bf073743ec938ded913c9180ff name: 'Conditioner2 temperature IN' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.2.3.0 key: sbr01.conditioners.conditioner2.tempIn delay: 2m history: 30d units: °C request_method: POST tags: - tag: Application value: Conditioners - uuid: 89e7a9884b5947d495399c7b90f33d95 name: 'Conditioner2 temperature OUT' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.2.4.0 key: sbr01.conditioners.conditioner2.tempOut delay: 2m history: 30d units: °C request_method: POST tags: - tag: Application value: Conditioners - uuid: e948c25cdaaa45468d8751c3a9812108 name: 'Conditioner3 control' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.3.6.0 key: sbr01.conditioners.conditioner3.autoOn delay: 15m history: 30d valuemap: name: 'SBR01::AutoOn' request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: 00e31de01f6f441d8a5eca0fcdb8bef6 expression: '(last(/SBR01/sbr01.conditioners.conditioner3.autoOn,#1)<>last(/SBR01/sbr01.conditioners.conditioner3.autoOn,#2))<>0' name: 'Auto ON {ITEM.LASTVALUE} has been changed on conditioner 3' status: DISABLED priority: WARNING - uuid: c01da50c708a433bbc5e475449513015 name: 'Conditioner3 uptime' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.3.7.0 key: sbr01.conditioners.conditioner3.coolTime delay: 10m history: 30d units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.01' request_method: POST tags: - tag: Application value: Conditioners - uuid: bfaf9b5472e8429897a2865517bb0910 name: 'Сonditioner3 error' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.3.2.0 key: sbr01.conditioners.conditioner3.error delay: 3m history: 30d preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 15m request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: 4cb79fc206a44ac991a7d2676ecf6270 expression: last(/SBR01/sbr01.conditioners.conditioner3.error)<>0 name: 'Error on conditioner 3' priority: HIGH - uuid: f09e125f1b0f4f09ac7ac2a27dcf35a2 name: 'Conditioner3 state' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.3.5.0 key: sbr01.conditioners.conditioner3.state delay: 3m history: 30d valuemap: name: 'SBR01::State' preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 15m request_method: POST tags: - tag: Application value: Conditioners triggers: - uuid: 8332749c6f4d44dd993525683901bae4 expression: '(last(/SBR01/sbr01.conditioners.conditioner3.state,#1)<>last(/SBR01/sbr01.conditioners.conditioner3.state,#2))<>0' name: 'Status {ITEM.LASTVALUE} has been changed on conditioner 3' status: DISABLED priority: WARNING - uuid: de574ad4003b474fb83c51687dc7c181 name: 'Conditioner3 temperature IN' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.3.3.0 key: sbr01.conditioners.conditioner3.tempIn delay: 2m history: 30d units: °C request_method: POST tags: - tag: Application value: Conditioners - uuid: 2f585cc71a4740f69edd030a30345ec0 name: 'Conditioner3 temperature OUT' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.2.3.4.0 key: sbr01.conditioners.conditioner3.tempOut delay: 2m history: 30d units: °C request_method: POST tags: - tag: Application value: Conditioners - uuid: c60a89d065ce42569b87c8f7857617b5 name: 'Emergency temperature' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.4.0 key: sbr01.system.alarmTemp delay: 10m history: 30d units: °C preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 3h request_method: POST tags: - tag: Application value: System - uuid: cd255b9d2501475e885f98bb9c3a686f name: Error type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.1.0 key: sbr01.system.error delay: 15m history: 30d request_method: POST tags: - tag: Application value: System - uuid: cf77e4da252e4025b0c888a2d0378619 name: Uptime type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.8.0 key: sbr01.system.localTimeSec delay: 3h history: 30d value_type: FLOAT units: uptime preprocessing: - type: MULTIPLIER parameters: - '0.01' request_method: POST tags: - tag: Application value: System - uuid: 77097e125e6a4ec0a15f11ab3aaee036 name: 'Count of conditioners in operation' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.5.0 key: sbr01.system.minCondCnt delay: 10m history: 30d preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 3h request_method: POST tags: - tag: Application value: System - uuid: 293cf2a6a3b4413db3df044136628bf0 name: 'Rotation time' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.6.0 key: sbr01.system.rotTime delay: 10m history: 30d units: h preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 3h request_method: POST tags: - tag: Application value: System - uuid: 87ca3031d620446f99c621a799822425 name: 'Activation threshold' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.3.0 key: sbr01.system.setTemp delay: 10m history: 30d units: °C preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 3h request_method: POST tags: - tag: Application value: System - uuid: dc8421ee57ee4a34b0e023d7bab48a4c name: 'Room temperature' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.2.0 key: sbr01.system.tempRoom delay: 2m history: 30d value_type: FLOAT units: °C request_method: POST tags: - tag: Application value: System triggers: - uuid: fbb684519b764e36ac84bcad0c99662f expression: 'nodata(/SBR01/sbr01.system.tempRoom,3m)=1' name: 'No data on {HOST.NAME}' priority: DISASTER - uuid: f6e03bd0d53b4a5a974f9352e721a3b4 name: 'Error response time' type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.47777.1.1.1.7.0 key: sbr01.system.timeError delay: 10m history: 30d units: m preprocessing: - type: DISCARD_UNCHANGED_HEARTBEAT parameters: - 3h request_method: POST tags: - tag: Application value: System discovery_rules: - uuid: 55325c9c9526454ba3776a829a39d068 name: Conditioners type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.47777.1.1.2]' key: sbr01.conditioners status: DISABLED item_prototypes: - uuid: ec121804882f40309782ec9443661ae6 name: 'Conditioner number' type: SNMP_AGENT snmp_oid: '1.3.6.1.4.1.47777.1.1.2.3[index,,addr]' key: 'sbr01.conditioners.conditioner[{#SNMPINDEX}]' delay: 30s request_method: POST tags: - tag: Application value: Conditioners request_method: POST valuemaps: - uuid: 8ba79e8f43e94887b1f3ede2f057271c name: 'SBR01::AutoOn' mappings: - value: '0' newvalue: manual - value: '1' newvalue: auto - uuid: 1d5d648efcbd4c7b8f9ec8a70de566a5 name: 'SBR01::State' mappings: - value: '0' newvalue: auto - value: '1' newvalue: cool - value: '3' newvalue: stop triggers: - uuid: 41accf0bd0864c648a30e4bdd24bb872 expression: 'last(/SBR01/sbr01.conditioners.conditioner1.state)=3 and last(/SBR01/sbr01.conditioners.conditioner2.state)=3 and last(/SBR01/sbr01.conditioners.conditioner3.state)=3' name: 'All the air conditioning''s stopped' priority: DISASTER - uuid: cc4b9994be6b4bcdabfbac07dcc15899 expression: last(/SBR01/sbr01.system.tempRoom)>last(/SBR01/sbr01.system.alarmTemp) name: 'Temperature is above warning threshold in {HOST.NAME} room' priority: HIGH graphs: - uuid: 6babcf807c074b3687cf11fd6cf25d92 name: Temperature graph_items: - drawtype: GRADIENT_LINE color: 9999FF item: host: SBR01 key: sbr01.system.tempRoom - sortorder: '1' color: FF3333 item: host: SBR01 key: sbr01.conditioners.conditioner1.tempIn - sortorder: '2' color: 00DD00 item: host: SBR01 key: sbr01.conditioners.conditioner1.tempOut - sortorder: '3' color: EE0000 item: host: SBR01 key: sbr01.conditioners.conditioner2.tempIn - sortorder: '4' color: 00DD00 item: host: SBR01 key: sbr01.conditioners.conditioner2.tempOut - sortorder: '5' color: FF3333 item: host: SBR01 key: sbr01.conditioners.conditioner3.tempIn - sortorder: '6' color: 00DD00 item: host: SBR01 key: sbr01.conditioners.conditioner3.tempOut