diff options
author | Vyacheslav Khaliev <vyacheslav.khaliev@zabbix.com> | 2022-01-26 16:11:28 +0300 |
---|---|---|
committer | Vyacheslav Khaliev <vyacheslav.khaliev@zabbix.com> | 2022-01-26 16:11:28 +0300 |
commit | 9be7e0f8632e5ce1baea14964233ce8cb880aa42 (patch) | |
tree | 92e6e5594a22856d3995eb459cf8d9ab76f02a66 /templates/net/morningstar | |
parent | 0f1dcff0f3739d23511e22f8114d593dfa115703 (diff) |
.........T [ZBXNEXT-7414] added new tags to all templates
Diffstat (limited to 'templates/net/morningstar')
14 files changed, 1696 insertions, 273 deletions
diff --git a/templates/net/morningstar/morningstar_prostar_mppt_snmp/README.md b/templates/net/morningstar/morningstar_prostar_mppt_snmp/README.md index cac0322e924..f51c37df329 100644 --- a/templates/net/morningstar/morningstar_prostar_mppt_snmp/README.md +++ b/templates/net/morningstar/morningstar_prostar_mppt_snmp/README.md @@ -70,7 +70,7 @@ There are no template links in this template. |Temperature |Temperature: Ambient |<p>MIB: PROSTAR-MPPT</p><p>Ambient Temperature</p><p> Description:Ambient Temperature</p><p> Scaling Factor:1.0</p><p> Units:deg C</p><p> Range:[-128, 127]</p><p> Modbus address:0x001C</p> |SNMP |temp.ambient[ambientTemperature.0] | |Temperature |Temperature: Battery |<p>MIB: PROSTAR-MPPT</p><p>Battery Temperature</p><p> Description:Battery Temperature</p><p> Scaling Factor:1.0</p><p> Units:deg C</p><p> Range:[-128, 127]</p><p> Modbus address:0x001B</p> |SNMP |temp.battery[batteryTemperature.0] | |Temperature |Temperature: Heatsink |<p>MIB: PROSTAR-MPPT</p><p>Heatsink Temperature</p><p> Description:Heatsink Temperature</p><p> Scaling Factor:1.0</p><p> Units:deg C</p><p> Range:[-128, 127]</p><p> Modbus address:0x001A</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: PROSTAR-MPPT</p> |SNMP |battery.voltage.discovery[batteryTerminalVoltage.0] | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: PROSTAR-MPPT</p> |SNMP |battery.voltage.discovery[batteryTerminalVoltage.0] | ## Triggers diff --git a/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml b/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml index baaa05b5749..8dcdfc9d7a9 100644 --- a/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml +++ b/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:31:59Z' + date: '2022-01-26T09:49:10Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: PROSTAR-MPPT - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -38,8 +38,8 @@ zabbix_export: Modbus address:0x003E tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 7714c76013e341f8b6753cc5a50a960f name: 'Array: Sweep Vmp' @@ -59,8 +59,8 @@ zabbix_export: Modbus address:0x003D tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 379ab969ad784968a1090ff98f5801ff name: 'Array: Sweep Voc' @@ -80,8 +80,8 @@ zabbix_export: Modbus address:0x003F tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 41a1118e1be3417daa79faace733d861 name: 'Array: Voltage' @@ -101,8 +101,8 @@ zabbix_export: Modbus address:0x0013 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: fe5c3b724e894573acdaf522a2213adb name: 'Battery: Battery Voltage discovery' @@ -116,8 +116,14 @@ zabbix_export: description: 'MIB: PROSTAR-MPPT' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: ed1d54fce0904b7c9d0895a094f55108 name: 'Battery: Charge Current' @@ -137,8 +143,8 @@ zabbix_export: Modbus address:0x0010 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 1b1b61995c0d4d89a7f9ad4e14c3541f name: 'Battery: Charge State' @@ -173,8 +179,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery triggers: - uuid: fe4863fdd4d64e1c977328bd3d0f687f @@ -182,6 +188,10 @@ zabbix_export: name: 'Battery: Device charge in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 4d064e4877474d72b85c9cdfb7b09dad expression: 'last(/Morningstar ProStar MPPT SNMP/charge.state[chargeState.0])={$CHARGE.STATE.WARN}' @@ -192,6 +202,10 @@ zabbix_export: - name: 'Battery: Device charge in critical state' expression: 'last(/Morningstar ProStar MPPT SNMP/charge.state[chargeState.0])={$CHARGE.STATE.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 009eb72ff6674da49d1dd85a6f9459cf name: 'Counter: Charge Amp-hours' @@ -216,8 +230,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 4a53a2211a1249d59369ad65762ffe47 name: 'Counter: Charge KW-hours' @@ -237,8 +251,8 @@ zabbix_export: Modbus address:0x002A tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: c72ef851c2d240c9835c1703cec49fd6 name: 'Counter: Load Amp-hours' @@ -262,8 +276,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 29a7d76472fb4025bc78fbeab273e955 name: 'Load: Current' @@ -283,8 +297,8 @@ zabbix_export: Modbus address:0x0016 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: ae927b5cba5b43f5a2136fd3ee71b63d name: 'Load: State' @@ -317,8 +331,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Load + tag: component + value: load triggers: - uuid: a88025c5e5a748e3a6dfa01685ba075b @@ -326,6 +340,10 @@ zabbix_export: name: 'Load: Device load in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 9ab107b39b874fed83d09e7c1964a699 expression: 'last(/Morningstar ProStar MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"lvdWarning"} or last(/Morningstar ProStar MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"override"}' @@ -336,6 +354,10 @@ zabbix_export: - name: 'Load: Device load in critical state' expression: 'last(/Morningstar ProStar MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"lvd"} or last(/Morningstar ProStar MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"fault"}' + tags: + - + tag: scope + value: notice - uuid: 47894752dd1d41f1aa882387acf6dc3a name: 'Load: Voltage' @@ -355,8 +377,8 @@ zabbix_export: Modbus address:0x0014 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: d44cb5d7db31402dae79275a9148817d name: 'Status: Alarms' @@ -421,8 +443,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: a2d0ab5150dd4bad8b5ec4f2c6aa13f8 @@ -430,150 +452,250 @@ zabbix_export: name: 'Status: Device has "arrayCurrentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cc6a15f16fd8470a9dcd9a9e01cba61c expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","batterySenseDisconnected")=2' name: 'Status: Device has "batterySenseDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 55d4726d9b9047c79cf690353d950797 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","batterySenseOutOfRange")=2' name: 'Status: Device has "batterySenseOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 7f015198395042219666cde4458d407c expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","controllerReset")=2' name: 'Status: Device has "controllerReset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 48339339e5a7465fbc67266998c9a8fe expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","currentLimit")=2' name: 'Status: Device has "currentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: c88074037099498c896bb4793e04fea3 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","currentMeasurementError")=2' name: 'Status: Device has "currentMeasurementError" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cecd8ee17e5143ffb46495e927750c82 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","eepromAccessFailure")=2' name: 'Status: Device has "eepromAccessFailure" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 4affa15e1c1c42459ea8dd6820d1c008 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","fp10SupplyOutOfRange")=2' name: 'Status: Device has "fp10SupplyOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 41e4225072a3468696cfb534c65b9736 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempLimit")=2' name: 'Status: Device has "heatsinkTempLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5d269997a57d44ceb545e751e8e2d919 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorOpen")=2' name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: a8342a4e2fff40a7b830086dec303fd9 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShorted")=2' name: 'Status: Device has "heatsinkTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 32e5b7ae81ce4ebea9b05ff7ab411e5a expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","hightInputVoltageLimit")=2' name: 'Status: Device has "hightInputVoltageLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: c10d27c1d9d54b8981a639e7bf0dfc02 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","inductorTempLimit")=2' name: 'Status: Device has "inductorTempLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 9f80959684b34b6498a1634097cd0d22 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","inductorTempSensorOpen")=2' name: 'Status: Device has "inductorTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cc735ddcc98e4c099bb770e2b2a171b5 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","inductorTempSensorShorted")=2' name: 'Status: Device has "inductorTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 217935cd6c7547bc95f5af51b3e643d4 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","loadCurrentOffset")=2' name: 'Status: Device has "loadCurrentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cb05261f120240bf944b304ffc4979e6 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","loadLvd")=2' name: 'Status: Device has "loadLvd" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 1ed1de932e084ce5ba03747bdd8ca4e5 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","logTimeout")=2' name: 'Status: Device has "logTimeout" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 8824f80f1ef245508d6d0d660e3cabf1 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","mosfetOpen")=2' name: 'Status: Device has "mosfetOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 59569aaebf32403c9fd310f6b26845b0 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","p12SupplyOutOfRange")=2' name: 'Status: Device has "p12SupplyOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 4775d3a7b843455eb404661c070be092 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","p33SupplyOutOfRange")=2' name: 'Status: Device has "p33SupplyOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 2015d2b876564ad79699a23fc6b60f07 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cce1eb2bee094a3b9a993ec2d60d182b expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 7a07b757660a4c9a879ac03a94832720 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","tb5v")=2' name: 'Status: Device has "tb5v" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 39205fc6d2cd4888994cccb016b4b2f8 expression: 'count(/Morningstar ProStar MPPT SNMP/status.alarms[alarms.0],#3,"like","uncalibrated")=2' name: 'Status: Device has "uncalibrated" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 8fbb5c650fa040c892a1d10a17fbbf14 name: 'Status: Array Faults' @@ -623,8 +745,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 8322f8ca8e2e462a8799dc399f17ba27 @@ -632,72 +754,120 @@ zabbix_export: name: 'Status: Device has "arrayHvd" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6a138cd2af754bb3a22173e8da28b254 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","batteryHvd")=2' name: 'Status: Device has "batteryHvd" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 8e42cf21ec10409da840021bfd26f74c expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","batteryLowVoltageDisconnect")=2' name: 'Status: Device has "batteryLowVoltageDisconnect" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d1112d9828064a879d56626ac6339dbf expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","customSettingsEdit")=2' name: 'Status: Device has "customSettingsEdit" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 75a67f17a33e41eea34585fade6319ef expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","dipSwitchChanged")=2' name: 'Status: Device has "dipSwitchChanged" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 4502112383524f0499ea13e6f83ce789 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","localTempSensorDamaged")=2' name: 'Status: Device has "localTempSensorDamaged" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f1489dc1f8574895bd233b14ce080748 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","mosfetSShorted")=2' name: 'Status: Device has "mosfetSShorted" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 4ea903d3e8644ddaa5309eaa9715b894 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: e12a29ec16ea423cb69ca4ce460f201b expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","rtsNoLongerValid")=2' name: 'Status: Device has "rtsNoLongerValid" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 3ec4307bb2c444fc8eca27f9b7a136e2 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 915c00d98e144ee7a9a2d50d0bd474c0 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","slaveTimeout")=2' name: 'Status: Device has "slaveTimeout" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 9aac314eef594a8d86fd4b88308428e5 expression: 'count(/Morningstar ProStar MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","software")=2' name: 'Status: Device has "software" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: fb4d2147a8224b599ad908eca1b019e4 name: 'Status: Load Faults' @@ -743,8 +913,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 93750f768ba94f1bb9302fc17c76faeb @@ -752,48 +922,80 @@ zabbix_export: name: 'Status: Device has "customSettingsEdit" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 456e2c36369f4519b2c80bcfe1acb4b0 expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","dipSwitchChanged")=2' name: 'Status: Device has "dipSwitchChanged" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 359df17c40684187b7ae92c8aa0c9624 expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","externalShortCircuit")=2' name: 'Status: Device has "externalShortCircuit" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6dadf09064304f4381ad9ed0436e562a expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","highTempDisconnect")=2' name: 'Status: Device has "highTempDisconnect" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: bc41145ae8074290913a47cc3fd11e1e expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","loadHvd")=2' name: 'Status: Device has "loadHvd" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 8c8a7021928e4bf78b6309574e298876 expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","mosfetShorted")=2' name: 'Status: Device has "mosfetShorted" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b7d3f05837bd4d788d14f1aaf18b0482 expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 801728740c1948b1a751469e6443daab expression: 'count(/Morningstar ProStar MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","software")=2' name: 'Status: Device has "software" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 526ee94df484462a9264e57d92954e64 name: 'Status: Uptime' @@ -810,8 +1012,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: ca65a39c019046c29a522a6ca93ceb75 @@ -820,6 +1022,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: 59cbcaaee8304b38a1144b3abf40bd9d expression: 'nodata(/Morningstar ProStar MPPT SNMP/status.uptime,5m)=1' @@ -827,6 +1033,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: 20ce95acdff6486684461f10579a73b4 name: 'Battery: Target Voltage' @@ -851,8 +1061,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 9a87cdcf65184059be334e986bcf801d name: 'Temperature: Ambient' @@ -872,8 +1082,8 @@ zabbix_export: Modbus address:0x001C tags: - - tag: Application - value: Temperature + tag: component + value: temperature - uuid: 1a8e79f49e86429abc80dd29598299ee name: 'Temperature: Battery' @@ -893,8 +1103,8 @@ zabbix_export: Modbus address:0x001B tags: - - tag: Application - value: Temperature + tag: component + value: temperature triggers: - uuid: c74e1d3be1c24bde986bbce068db4bb8 @@ -902,12 +1112,20 @@ zabbix_export: name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 0c2180ae5deb41adb503e37bf91c34e2 expression: 'max(/Morningstar ProStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 1ab91d781c734f1eb2b9552f6dee9370 expression: 'min(/Morningstar ProStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.WARN}' @@ -918,6 +1136,10 @@ zabbix_export: - name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' expression: 'min(/Morningstar ProStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 6ec855dc6a5c42a79f1f40e14655418a expression: 'max(/Morningstar ProStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.WARN}' @@ -928,6 +1150,10 @@ zabbix_export: - name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' expression: 'max(/Morningstar ProStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 7d0cf28c0d334154971738df11775d1f name: 'Temperature: Heatsink' @@ -947,8 +1173,8 @@ zabbix_export: Modbus address:0x001A tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: 1a21c30663c74c23b60e6ad72e228681 @@ -977,8 +1203,8 @@ zabbix_export: Modbus address:0x0012 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: 402f73ca5b8d412689a7e715223e890d @@ -986,12 +1212,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 753a0d25832d434186f586f895124f31 expression: 'max(/Morningstar ProStar MPPT SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 66e1fdfbfa5740dfa8945626f7f8be78 expression: 'min(/Morningstar ProStar MPPT SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -1002,6 +1236,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar ProStar MPPT SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: c9f3d03ce06641eb9b184f511a3a0341 expression: 'max(/Morningstar ProStar MPPT SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -1012,6 +1250,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar ProStar MPPT SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: 480e4c11060a4e34851b48bf7b9c5bb1 @@ -1058,6 +1300,13 @@ zabbix_export: } return JSON.stringify(result); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' diff --git a/templates/net/morningstar/morningstar_prostar_pwm_snmp/README.md b/templates/net/morningstar/morningstar_prostar_pwm_snmp/README.md index a3f7f261c01..4011e956ed0 100644 --- a/templates/net/morningstar/morningstar_prostar_pwm_snmp/README.md +++ b/templates/net/morningstar/morningstar_prostar_pwm_snmp/README.md @@ -67,7 +67,7 @@ There are no template links in this template. |Temperature |Temperature: Ambient |<p>MIB: PROSTAR-PWM</p><p>Description:Ambient Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-128, 127]</p><p>Modbus address:0x001C</p> |SNMP |temp.ambient[ambientTemperature.0] | |Temperature |Temperature: Battery |<p>MIB: PROSTAR-PWM</p><p>Description:Battery Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-128, 127]</p><p>Modbus address:0x001B</p> |SNMP |temp.battery[batteryTemperature.0] | |Temperature |Temperature: Heatsink |<p>MIB: PROSTAR-PWM</p><p>Description:Heatsink Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-128, 127]</p><p>Modbus address:0x001A</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: PROSTAR-PWM</p> |SNMP |battery.voltage.discovery[batteryTerminalVoltage.0] | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: PROSTAR-PWM</p> |SNMP |battery.voltage.discovery[batteryTerminalVoltage.0] | ## Triggers diff --git a/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml b/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml index 7dee3a295c2..8866f789984 100644 --- a/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml +++ b/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:32:04Z' + date: '2022-01-26T09:52:22Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: PROSTAR-PWM - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -37,8 +37,8 @@ zabbix_export: Modbus address:0x0013 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: a80ad3ace9b14446bc5fd5d6aaa5af87 name: 'Battery: Battery Voltage discovery' @@ -52,8 +52,14 @@ zabbix_export: description: 'MIB: PROSTAR-PWM' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: 148008b117c94155ba81600e3050ab25 name: 'Battery: Charge Current' @@ -72,8 +78,8 @@ zabbix_export: Modbus address:0x0011 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: a7ae2d3b911e4bb5a7eeb770470245a5 name: 'Battery: Charge State' @@ -105,8 +111,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery triggers: - uuid: f12fc2c1a7a142a287304c18bafa1181 @@ -114,6 +120,10 @@ zabbix_export: name: 'Battery: Device charge in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: adf8cf02aa1e42fa84e1f11ddae4df01 expression: 'last(/Morningstar ProStar PWM SNMP/charge.state[chargeState.0])={$CHARGE.STATE.WARN}' @@ -124,6 +134,10 @@ zabbix_export: - name: 'Battery: Device charge in critical state' expression: 'last(/Morningstar ProStar PWM SNMP/charge.state[chargeState.0])={$CHARGE.STATE.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 8acd2e7944694a828cf9b739b75513d9 name: 'Counter: Charge Amp-hours' @@ -147,8 +161,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 0e7124df3f2b4298b1a13576d0b2d5e7 name: 'Counter: Charge KW-hours' @@ -167,8 +181,8 @@ zabbix_export: Modbus address:0x002A tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 104a7db1c27d40b3bbee506f7f922393 name: 'Counter: Load Amp-hours' @@ -192,8 +206,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: dcade8607cf142a2b88333f9880448fc name: 'Load: Current' @@ -212,8 +226,8 @@ zabbix_export: Modbus address:0x0016 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: 14b3ca3869374f54a467e5e9017f918a name: 'Load: State' @@ -245,8 +259,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Load + tag: component + value: load triggers: - uuid: 7a8bf4420b6b48ab8a5bc999eecae760 @@ -254,6 +268,10 @@ zabbix_export: name: 'Load: Device load in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 5152f9cd4ee34be485f3cb0a0f60afd5 expression: 'last(/Morningstar ProStar PWM SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"lvdWarning"} or last(/Morningstar ProStar PWM SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"override"}' @@ -264,6 +282,10 @@ zabbix_export: - name: 'Load: Device load in critical state' expression: 'last(/Morningstar ProStar PWM SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"lvd"} or last(/Morningstar ProStar PWM SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"fault"}' + tags: + - + tag: scope + value: notice - uuid: cccc0976a62b47b1a558d521704c125d name: 'Load: Voltage' @@ -282,8 +304,8 @@ zabbix_export: Modbus address:0x0014 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: 7c1c1e03425c4b4bb176cf45458b916a name: 'Status: Alarms' @@ -344,8 +366,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 67fd46f034c3486e9af3cabfc5dc8056 @@ -353,42 +375,70 @@ zabbix_export: name: 'Status: Device has "arrayCurrentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 31cc0b05b83045de80a7d07f26545010 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","batterySenseDisconnected")=2' name: 'Status: Device has "batterySenseDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 9e498d21bc7f4ca1937f1628f4b1ea55 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","batterySenseOutOfRange")=2' name: 'Status: Device has "batterySenseOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 8a09c7609f9a45cea5b217757a7d2e5e expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","batteryTempOutOfRange")=2' name: 'Status: Device has "batteryTempOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: b173b8ca12f8464aae6476009b4c89e8 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","controllerReset")=2' name: 'Status: Device has "controllerReset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cdbac88810ff49caa35771e661d8b312 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","currentLimit")=2' name: 'Status: Device has "currentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 7758388df28d4540ba393f4423fef00a expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","currentMeasurementError")=2' name: 'Status: Device has "currentMeasurementError" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: a56fef1f61c44ba884ec448b0d306c1d expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","eepromAccessFailure")=2' @@ -401,84 +451,140 @@ zabbix_export: name: 'Status: Device has "fp10SupplyOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: c252c82aff2a4ac680965115cb2fab64 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempLimit")=2' name: 'Status: Device has "heatsinkTempLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5b93a0a09a62481d8096ec743c2ceaff expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorOpen")=2' name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: f28e5143a238470ba93c1345c814f87d expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShorted")=2' name: 'Status: Device has "heatsinkTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 75c84ef378984fca854b34a8ef79668c expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","hightInputVoltageLimit")=2' name: 'Status: Device has "hightInputVoltageLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5c1551f7e2be40e0b8b50ed263f8e293 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","loadCurrentOffset")=2' name: 'Status: Device has "loadCurrentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 665117c5b9b64ea09a1d661e9c40fc43 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","loadLvd")=2' name: 'Status: Device has "loadLvd" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: b89c002c859c419ea748b43d575e9e27 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","logTimeout")=2' name: 'Status: Device has "logTimeout" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 17f51e7b248b4e63934e8b529b85b2ef expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","mosfetOpen")=2' name: 'Status: Device has "mosfetOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 75e23772250741d0b1fc1ddff2a72ef6 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","p12SupplyOutOfRange")=2' name: 'Status: Device has "p12SupplyOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: fc374c9ac9fa4f979fbff9f7c7d83565 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","p33SupplyOutOfRange")=2' name: 'Status: Device has "p33SupplyOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: fbec2a1fdbe54d8da352471acf67bad1 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 915da6e7b1cd410da9a6c68e3b4abd85 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: e8bf2213a5444e2c9923b6f093d43f75 expression: 'count(/Morningstar ProStar PWM SNMP/status.alarms[alarms.0],#3,"like","uncalibrated")=2' name: 'Status: Device has "uncalibrated" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 2517d96e51c14372a0336c9a6ed5d078 name: 'Status: Array Faults' @@ -529,8 +635,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: b2ff69793e124031a79a668b03678fac @@ -538,78 +644,130 @@ zabbix_export: name: 'Status: Device has "arrayHvd" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: a4ca36ccaa9d45ceb79303afef1c49f0 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","batteryHvd")=2' name: 'Status: Device has "batteryHvd" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f4d1120afb13456b9d45f8795dbc30b7 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","batteryLowVoltageDisconnect")=2' name: 'Status: Device has "batteryLowVoltageDisconnect" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 9e5f2c575945458ea8a39f33cb23b833 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","customSettingsEdit")=2' name: 'Status: Device has "customSettingsEdit" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: fd904f4469324784ac2c469e64069f94 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","dipSwitchChanged")=2' name: 'Status: Device has "dipSwitchChanged" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 62076ce0967049c8bde39f71afcb85d9 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","localTempSensorDamaged")=2' name: 'Status: Device has "localTempSensorDamaged" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: ea8487afe1c14bc08f3d9fd7f75d208f expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","mosfetSShorted")=2' name: 'Status: Device has "mosfetSShorted" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b0bb139541ae493bafc40dac9074d898 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 8af94d7ff1a84e18b10122b0e3743d45 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","p3Fault")=2' name: 'Status: Device has "p3Fault" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b41cb2e05acb40f59efa50a25f66cd62 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","rtsNoLongerValid")=2' name: 'Status: Device has "rtsNoLongerValid" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d99c3f126c7e480cb4fcc705349eb61d expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 711b28f19cb74c0faeef73263ca1fb8f expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","slaveTimeout")=2' name: 'Status: Device has "slaveTimeout" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: e4a261d750d546c7b5d5067dd9a0ec25 expression: 'count(/Morningstar ProStar PWM SNMP/status.array_faults[arrayFaults.0],#3,"like","software")=2' name: 'Status: Device has "software" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 1cd47d04af104cb9ab1cd7dc745a6aea name: 'Status: Load Faults' @@ -656,8 +814,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 99ab5f0d3014459a8cd7d137d3a1f688 @@ -665,54 +823,90 @@ zabbix_export: name: 'Status: Device has "customSettingsEdit" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 77752192092f4f1caceef19c3c164b72 expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","dipSwitchChanged")=2' name: 'Status: Device has "dipSwitchChanged" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d2e55501d89844aeb47f7887a11754a9 expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","externalShortCircuit")=2' name: 'Status: Device has "externalShortCircuit" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: a6548502cfc4406098ba3129af8efcb5 expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","highTempDisconnect")=2' name: 'Status: Device has "highTempDisconnect" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6e8f0127bc7b42dea9d867ab174f458c expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","loadHvd")=2' name: 'Status: Device has "loadHvd" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 2a303d4712e244a9b051fb1b0247fac5 expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","mosfetShorted")=2' name: 'Status: Device has "mosfetShorted" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 5720e2e15e5f42099fd7de361f62c99a expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 2f522d50a8124ed2a8af4d7b6417c31c expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","p3Fault")=2' name: 'Status: Device has "p3Fault" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: e75abe852b9c4e1d91a1f8f83622ef64 expression: 'count(/Morningstar ProStar PWM SNMP/status.load_faults[loadFaults.0],#3,"like","software")=2' name: 'Status: Device has "software" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 42f6a75d923d4262b37d85c4f7d1d322 name: 'Status: Uptime' @@ -729,8 +923,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: dea364bf454746bca6be38d7e0759d06 @@ -739,6 +933,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: 16c1444a745a47e59fd22bd1a64baef3 expression: 'nodata(/Morningstar ProStar PWM SNMP/status.uptime,5m)=1' @@ -746,6 +944,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: f4b7bfb000754a17b4719863d3755519 name: 'Battery: Target Voltage' @@ -769,8 +971,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 13d3479a7b5940b5a53d5f13bea9e2d1 name: 'Temperature: Ambient' @@ -789,8 +991,8 @@ zabbix_export: Modbus address:0x001C tags: - - tag: Application - value: Temperature + tag: component + value: temperature - uuid: 39763f7fccd94aefb720a34871c0962b name: 'Temperature: Battery' @@ -809,8 +1011,8 @@ zabbix_export: Modbus address:0x001B tags: - - tag: Application - value: Temperature + tag: component + value: temperature triggers: - uuid: 46eb3a0e80294a4db8324d56337ed712 @@ -818,12 +1020,20 @@ zabbix_export: name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: c3f3ba5b2cab4481bb62fa8527554e96 expression: 'max(/Morningstar ProStar PWM SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 80aaf1de029b4d6eadce9f2a946f6dde expression: 'min(/Morningstar ProStar PWM SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.WARN}' @@ -834,6 +1044,10 @@ zabbix_export: - name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' expression: 'min(/Morningstar ProStar PWM SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: cf1db336ea124f9a9fd6eb367f93f0e8 expression: 'max(/Morningstar ProStar PWM SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.WARN}' @@ -844,6 +1058,10 @@ zabbix_export: - name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' expression: 'max(/Morningstar ProStar PWM SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 1d13bd3ea24a4fcab3cd5b7586e6033a name: 'Temperature: Heatsink' @@ -862,8 +1080,8 @@ zabbix_export: Modbus address:0x001A tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: 17148797def9484ba26b0afdcc44bfd5 @@ -888,8 +1106,8 @@ zabbix_export: Modbus address:0x0021 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: e89cf2b8066840c2876642f0d8db1edd @@ -897,12 +1115,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 8356aba9afb242b09902873a5f0e1d47 expression: 'max(/Morningstar ProStar PWM SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 77f130af976c43edb8c823de5cbd57b2 expression: 'min(/Morningstar ProStar PWM SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -913,6 +1139,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar ProStar PWM SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: 6c288c8b28db4f8e95c8ad2aa8b838ef expression: 'max(/Morningstar ProStar PWM SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -923,6 +1153,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar ProStar PWM SNMP/battery.voltage[batteryTerminalVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: 8ecd4f88627a4dadb132fdbb6d911b6b @@ -969,6 +1203,13 @@ zabbix_export: } return JSON.stringify(result); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' diff --git a/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/README.md b/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/README.md index e8d76dc3c8b..6586797d03c 100644 --- a/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/README.md +++ b/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/README.md @@ -70,7 +70,7 @@ There are no template links in this template. |Temperature |Temperature: Ambient |<p>MIB: SUNSAVER-MPPT</p><p>Description:Ambient Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-128, 127]</p><p>Modbus address:0x000F</p> |SNMP |temp.ambient[ambientTemperature.0] | |Temperature |Temperature: Battery |<p>MIB: SUNSAVER-MPPT</p><p>Description:Heatsink Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-128, 127]</p><p>Modbus address:0x000D</p> |SNMP |temp.battery[batteryTemperature.0] | |Temperature |Temperature: Heatsink |<p>MIB: SUNSAVER-MPPT</p><p>Description:Battery Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-128, 127]</p><p>Modbus address:0x000E</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: SUNSAVER-MPPT</p> |SNMP |battery.voltage.discovery[batteryVoltage.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.003051757813`</p> | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: SUNSAVER-MPPT</p> |SNMP |battery.voltage.discovery[batteryVoltage.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.003051757813`</p> | ## Triggers diff --git a/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml b/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml index 02f648954a1..3b0235ea8a7 100644 --- a/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml +++ b/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:32:09Z' + date: '2022-01-26T09:44:16Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: SUNSAVER-MPPT - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -47,8 +47,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 0842746ca41c44128a575113307259e2 name: 'Array: Sweep Vmp' @@ -77,8 +77,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 0e3371208513416ab1b9afdf2c3b2c08 name: 'Array: Sweep Voc' @@ -107,8 +107,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: da1f347b28dd4fbeb123f228adefb0ed name: 'Array: Voltage' @@ -137,8 +137,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: f8803a1390b745f08673d4ea998548a9 name: 'Battery: Battery Voltage discovery' @@ -157,8 +157,14 @@ zabbix_export: - '0.003051757813' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: a36313ef0933403788a42de8a62b4838 name: 'Battery: Charge Current' @@ -187,8 +193,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 4da765c8e26540c190ea07be08b87abc name: 'Battery: Charge State' @@ -220,8 +226,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery triggers: - uuid: 0362139c66f4464db8c022b9ffce5502 @@ -229,6 +235,10 @@ zabbix_export: name: 'Battery: Device charge in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d5439cee53b148ecb4186286c4e93ada expression: 'last(/Morningstar SunSaver MPPT SNMP/charge.state[chargeState.0])={$CHARGE.STATE.WARN}' @@ -239,6 +249,10 @@ zabbix_export: - name: 'Battery: Device charge in critical state' expression: 'last(/Morningstar SunSaver MPPT SNMP/charge.state[chargeState.0])={$CHARGE.STATE.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 149545b9154044e3af27b4e9ad809c0e name: 'Counter: Charge Amp-hours' @@ -262,8 +276,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: f6d0f89c747b4418ad34c32b5ac9a5b9 name: 'Counter: Charge KW-hours' @@ -275,8 +289,8 @@ zabbix_export: description: 'MIB: SUNSAVER-MPPT' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 28e679eace174d289ca5ccf90f3b9150 name: 'Counter: Load Amp-hours' @@ -300,8 +314,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 6491ee507d9a4c099852d33e57df48a9 name: 'Load: Current' @@ -330,8 +344,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: c5dfef2deee445ec88e2d63dbfbbaf68 name: 'Load: State' @@ -363,8 +377,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Load + tag: component + value: load triggers: - uuid: bbd3a89b012a40daa646ec7113d43e43 @@ -372,6 +386,10 @@ zabbix_export: name: 'Load: Device load in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 8f6967c1b577431c995a3c13f8cdb1c1 expression: 'last(/Morningstar SunSaver MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"lvdWarning"} or last(/Morningstar SunSaver MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"override"}' @@ -382,6 +400,10 @@ zabbix_export: - name: 'Load: Device load in critical state' expression: 'last(/Morningstar SunSaver MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"lvd"} or last(/Morningstar SunSaver MPPT SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"fault"}' + tags: + - + tag: scope + value: notice - uuid: a9ca69fcedbb4524a8eb4b92b975008e name: 'Load: Voltage' @@ -410,8 +432,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: 91f2c1893b594e808032eb0140247d7a name: 'Status: Alarms' @@ -467,8 +489,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 86220f6cc9164490b6d80be4a249e749 @@ -476,78 +498,130 @@ zabbix_export: name: 'Status: Device has "currentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 69016ea6a1204435b3ddb8de6b8944dc expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","currentOffset")=2' name: 'Status: Device has "currentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 2c02465ea74e4c63ab783d235c8f1a30 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorOpen")=2' name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 1aa289c68f0b4b44a043281e6df9e462 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShorted")=2' name: 'Status: Device has "heatsinkTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 6d0ce7d6e2cc407ba0f4d989bdd9a141 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","highVaCurrentLimit")=2' name: 'Status: Device has "highVaCurrentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 718a3426363040e1ab82864635444056 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","mosfetSOpen")=2' name: 'Status: Device has "mosfetSOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 4eb4df0b4cf04a198190312cdb33538f expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","p12VoltageReferenceOff")=2' name: 'Status: Device has "p12VoltageReferenceOff" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: e2ac890bb16d4e0798b0410f33c8a860 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 3b02b27bd4674ae3b820730cee8e611a expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsMiswire")=2' name: 'Status: Device has "rtsMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: d253c037d5974ee38e888162687b96ef expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 1bea0c0e01314dbaa1cfdfa5a0625755 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","sspptHot")=2' name: 'Status: Device has "sspptHot" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: d28d0e51500a45859ccb6969d9b5493f expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","systemMiswire")=2' name: 'Status: Device has "systemMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 427f75a98d4440a38e40522bccec03bb expression: 'count(/Morningstar SunSaver MPPT SNMP/status.alarms[alarms.0],#3,"like","uncalibrated")=2' name: 'Status: Device has "uncalibrated" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: f44756455697466cb905aa6ae4d0220d name: 'Status: Array Faults' @@ -594,8 +668,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 2d8b0bdeb95c49d68771af384d985311 @@ -603,54 +677,90 @@ zabbix_export: name: 'Status: Device has "arrayHvd" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 2e07c5d51691462ca0961d77ea974bd5 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","batteryHvd")=2' name: 'Status: Device has "batteryHvd" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 65d2cd1ff93f45db9d7f572ee0a8f568 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","customSettingsEdit")=2' name: 'Status: Device has "customSettingsEdit" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: fe217d10399044d7b1008f0010691e1e expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","localTempSensorDamaged")=2' name: 'Status: Device has "localTempSensorDamaged" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: fa62f9e4f0f84e278938ba18785a1b5f expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","mosfetSShorted")=2' name: 'Status: Device has "mosfetSShorted" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6f450621a12e46369745b2a0fed018ac expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 7ea38daa41a94ab3a9c1efc34276b17b expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","rtsNoLongerValid")=2' name: 'Status: Device has "rtsNoLongerValid" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 91edc885c3f140cc85bb6085f06e6820 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: cae74543a0da478d80b9302a2431fe4b expression: 'count(/Morningstar SunSaver MPPT SNMP/status.array_faults[arrayFaults.0],#3,"like","softwareFault")=2' name: 'Status: Device has "softwareFault" array faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 24762b0c264745548150a4bd5913156f name: 'Status: Load Faults' @@ -696,8 +806,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: d086fbb093344723a4bb5fe928e984ff @@ -705,48 +815,80 @@ zabbix_export: name: 'Status: Device has "customSettingsEdit" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 5743ed062a954330928092fb8574002a expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","externalShortCircuit")=2' name: 'Status: Device has "externalShortCircuit" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 354a1512bca5468585a489dd14fc793d expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","highTempDisconnect")=2' name: 'Status: Device has "highTempDisconnect" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 3640e470580846ac9e1651cba186d0a3 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","loadHvd")=2' name: 'Status: Device has "loadHvd" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d3911d64792e4b88b31cb51a405a1a2e expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","mosfetShorted")=2' name: 'Status: Device has "mosfetShorted" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d1bfa4177c0844ec9fc2bc7270c09338 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: baaba919b58546f08cdcd1e2791feb27 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","software")=2' name: 'Status: Device has "software" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 41e47074c983421a83b1e500d4591188 expression: 'count(/Morningstar SunSaver MPPT SNMP/status.load_faults[loadFaults.0],#3,"like","unknownLoadFault")=2' name: 'Status: Device has "unknownLoadFault" load faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 63512390f2a04885bf8d0e19653a72b1 name: 'Status: Uptime' @@ -763,8 +905,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: fd5dcb256d4547da9c432c1b9c01b0ae @@ -773,6 +915,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: 72e6e08faed647a98a027bd25b6a7106 expression: 'nodata(/Morningstar SunSaver MPPT SNMP/status.uptime,5m)=1' @@ -780,6 +926,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: 52afa576b83b49e69ec8d379fbc42965 name: 'Battery: Target Voltage' @@ -808,8 +958,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 430cf6fcb9b74943a8ca7f1d9d06fa56 name: 'Temperature: Ambient' @@ -828,8 +978,8 @@ zabbix_export: Modbus address:0x000F tags: - - tag: Application - value: Temperature + tag: component + value: temperature - uuid: 157faa85ae244950b4a114b95bad6d50 name: 'Temperature: Battery' @@ -848,8 +998,8 @@ zabbix_export: Modbus address:0x000D tags: - - tag: Application - value: Temperature + tag: component + value: temperature triggers: - uuid: cc121c44be05440a82d3344c530456e5 @@ -857,12 +1007,20 @@ zabbix_export: name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 9e0d552b93ae402d98c327420c99d160 expression: 'max(/Morningstar SunSaver MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 95b600e280b94949b41422eb60def010 expression: 'min(/Morningstar SunSaver MPPT SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.WARN}' @@ -873,6 +1031,10 @@ zabbix_export: - name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' expression: 'min(/Morningstar SunSaver MPPT SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: e351922a0a8c4c53972d9477d47af528 expression: 'max(/Morningstar SunSaver MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.WARN}' @@ -883,6 +1045,10 @@ zabbix_export: - name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' expression: 'max(/Morningstar SunSaver MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 5f238fe557a7412cad5f3864e407284e name: 'Temperature: Heatsink' @@ -901,8 +1067,8 @@ zabbix_export: Modbus address:0x000E tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: 81b324d81e6549d59cbf14163181fb48 @@ -937,8 +1103,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: bf4ad2cee8cf41baafa3d81df5fbe4d3 @@ -946,12 +1112,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 2aedfef9b8764881a4768e6b32793820 expression: 'max(/Morningstar SunSaver MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: bec4c7a6a1ab44a4adc8e4286b9a41d9 expression: 'min(/Morningstar SunSaver MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -962,6 +1136,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar SunSaver MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: c06425d8a0a24b5f80fd0591be61b3f0 expression: 'max(/Morningstar SunSaver MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -972,6 +1150,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar SunSaver MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: b3520796c85a45df954633bc5f87d80b @@ -1018,6 +1200,13 @@ zabbix_export: } return JSON.stringify(result); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' diff --git a/templates/net/morningstar/morningstar_suresine_snmp/README.md b/templates/net/morningstar/morningstar_suresine_snmp/README.md index 1ba8862a15c..fcd161404be 100644 --- a/templates/net/morningstar/morningstar_suresine_snmp/README.md +++ b/templates/net/morningstar/morningstar_suresine_snmp/README.md @@ -56,7 +56,7 @@ There are no template links in this template. |Status |Status: Faults |<p>MIB: SURESINE</p><p>Description:Faults</p><p>Modbus address:0x0007</p> |SNMP |status.faults[faults.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Status |Status: Alarms |<p>MIB: SURESINE</p><p>Description:Faults</p><p>Modbus address:0x0007</p> |SNMP |status.alarms[alarms.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Temperature |Temperature: Heatsink |<p>MIB: SURESINE</p><p>Description:Heatsink Temperature</p><p>Scaling Factor:1</p><p>Units:C</p><p>Range:[-128, 127]</p><p>Modbus address:0x0006</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: SURESINE</p> |SNMP |battery.voltage.discovery[batteryVoltageSlow.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `2.581787109375E-4`</p><p>- REGEX: `^(\d+)(\.\d{1,2})? \1\2`</p> | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: SURESINE</p> |SNMP |battery.voltage.discovery[batteryVoltageSlow.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `2.581787109375E-4`</p><p>- REGEX: `^(\d+)(\.\d{1,2})? \1\2`</p> | ## Triggers diff --git a/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml b/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml index 371e0035290..18f64357e62 100644 --- a/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml +++ b/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:32:13Z' + date: '2022-01-26T10:44:52Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: SURESINE - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -42,8 +42,14 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: 0cbf90bdfbc44bc9939167625c20aaed name: 'Load: A/C Current' @@ -71,8 +77,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: 193eeecf87c24527b5ba4b0df2b66cfc name: 'Load: State' @@ -104,8 +110,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Load + tag: component + value: load triggers: - uuid: 83a1cad652b445a69541208f81b12c23 @@ -113,6 +119,10 @@ zabbix_export: name: 'Load: Device load in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: bed6bfb29f5d4a3e89b9028b45bfb8b8 expression: 'last(/Morningstar SureSine SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"lvdWarning"} or last(/Morningstar SureSine SNMP/load.state[loadState.0])={$LOAD.STATE.WARN:"override"}' @@ -123,6 +133,10 @@ zabbix_export: - name: 'Load: Device load in critical state' expression: 'last(/Morningstar SureSine SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"lvd"} or last(/Morningstar SureSine SNMP/load.state[loadState.0])={$LOAD.STATE.CRIT:"fault"}' + tags: + - + tag: scope + value: notice - uuid: d15815c3d6024a83ac03425e23d798cd name: 'Status: Alarms' @@ -164,8 +178,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 6181b0f6c4cf4febaa86039dae994f30 @@ -173,24 +187,40 @@ zabbix_export: name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: ebe250d8faf543429bd5732114f05fd4 expression: 'count(/Morningstar SureSine SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShort")=2' name: 'Status: Device has "heatsinkTempSensorShort" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: ff3ee8e7bd074037a99a56f02dfaff72 expression: 'count(/Morningstar SureSine SNMP/status.alarms[alarms.0],#3,"like","suresineHot")=2' name: 'Status: Device has "suresineHot" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 64c7437f53f74578a85b358f73529322 expression: 'count(/Morningstar SureSine SNMP/status.alarms[alarms.0],#3,"like","unknownAlarm")=2' name: 'Status: Device has "unknownAlarm" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: d92ff915ccda482db946118238ea2ef3 name: 'Status: Faults' @@ -236,8 +266,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 438d1fb319234de9aaa74fa565e6c661 @@ -245,48 +275,80 @@ zabbix_export: name: 'Status: Device has "customSettingsEdit" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 174685e8f89f4e21b7275db6be7623b2 expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","dipSwitchChanged")=2' name: 'Status: Device has "dipSwitchChanged" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 283d5eb818744b25b4275509b0492bfd expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","highVoltageDisconnect")=2' name: 'Status: Device has "highVoltageDisconnect" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: a271f6d0e1504e46966da689b91cf1f7 expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 88df087dcb434c5d9980d249f077a661 expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","reset")=2' name: 'Status: Device has "reset" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 9fa2ec74f9b34f0082d9173f57e1edf6 expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","software")=2' name: 'Status: Device has "software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 970e89c852c34a219ad0c1fce357e97a expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","suresineHot")=2' name: 'Status: Device has "suresineHot" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: fe023e11a544470cb09db1585d7f1e83 expression: 'count(/Morningstar SureSine SNMP/status.faults[faults.0],#3,"like","unknownFault")=2' name: 'Status: Device has "unknownFault" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: cb4a5c3033f84baa8260a8199265e5a9 name: 'Status: Uptime' @@ -303,8 +365,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: f9404001de4c4c1d8438e0b560977398 @@ -313,6 +375,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: db5506294fd945659eae945014332a62 expression: 'nodata(/Morningstar SureSine SNMP/status.uptime,5m)=1' @@ -320,6 +386,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: c6119c74beeb4ab69854d52f2eaa969d name: 'Temperature: Heatsink' @@ -338,8 +408,8 @@ zabbix_export: Modbus address:0x0006 tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: c43e02a5d94343e2b54cba50b3388826 @@ -377,8 +447,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: 4b27f6ecdc674803a883a8a60e3ddce2 @@ -386,12 +456,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: dfbcd455a92d423fbb841f2d6b6293a8 expression: 'max(/Morningstar SureSine SNMP/battery.voltage[batteryVoltageSlow.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: e0173479978841ec8607430cf2fb356e expression: 'min(/Morningstar SureSine SNMP/battery.voltage[batteryVoltageSlow.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -402,6 +480,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar SureSine SNMP/battery.voltage[batteryVoltageSlow.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: 75a433d7ec28440f947a4aaed3aed33d expression: 'max(/Morningstar SureSine SNMP/battery.voltage[batteryVoltageSlow.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -412,6 +494,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar SureSine SNMP/battery.voltage[batteryVoltageSlow.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: 6cdc54f509c045b0880af6f7f901b6ab @@ -451,6 +537,13 @@ zabbix_export: } return JSON.stringify(result); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' diff --git a/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/README.md b/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/README.md index 32e985aa597..89c2a106a40 100644 --- a/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/README.md +++ b/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/README.md @@ -66,7 +66,7 @@ There are no template links in this template. |Status |Status: Alarms |<p>MIB: TRISTAR-MPPT</p><p>Description:Alarms</p><p>Modbus addresses:H=0x002e L=0x002f</p> |SNMP |status.alarms[alarms.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Temperature |Temperature: Battery |<p>MIB: TRISTAR-MPPT</p><p>Description:Batt. Temp</p><p>Scaling Factor:1.0</p><p>Units:C</p><p>Range:[-40, 80]</p><p>Modbus address:0x0025</p> |SNMP |temp.battery[batteryTemperature.0] | |Temperature |Temperature: Heatsink |<p>MIB: TRISTAR-MPPT</p><p>Description:HS Temp</p><p>Scaling Factor:1.0</p><p>Units:C</p><p>Range:[-40, 80]</p><p>Modbus address:0x0023</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: TRISTAR-MPPT</p><p>Description:Battery voltage</p><p>Scaling Factor:1.0</p><p>Units:V</p><p>Range:[-10, 80]</p><p>Modbus address:0x0018</p> |SNMP |battery.voltage.discovery[batteryVoltage.0] | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: TRISTAR-MPPT</p><p>Description:Battery voltage</p><p>Scaling Factor:1.0</p><p>Units:V</p><p>Range:[-10, 80]</p><p>Modbus address:0x0018</p> |SNMP |battery.voltage.discovery[batteryVoltage.0] | ## Triggers diff --git a/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml b/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml index 3b0a39e8143..96320b587f5 100644 --- a/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml +++ b/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:32:19Z' + date: '2022-01-26T09:50:44Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: TRISTAR-MPPT - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -37,8 +37,8 @@ zabbix_export: Modbus address:0x001d tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 9750ce4073d9467fa18f0e35f990c081 name: 'Array: Sweep Pmax' @@ -57,8 +57,8 @@ zabbix_export: Modbus address:0x003c tags: - - tag: Application - value: Array + tag: component + value: array - uuid: de36a1087b2d4ade8369c620c794c881 name: 'Array: Sweep Vmp' @@ -77,8 +77,8 @@ zabbix_export: Modbus address:0x003d tags: - - tag: Application - value: Array + tag: component + value: array - uuid: a8f4819131fe4247aef9b1cd819b47d9 name: 'Array: Sweep Voc' @@ -97,8 +97,8 @@ zabbix_export: Modbus address:0x003e tags: - - tag: Application - value: Array + tag: component + value: array - uuid: e13c3135ce8649ea9c88d4f9eb56219e name: 'Array: Voltage' @@ -117,8 +117,8 @@ zabbix_export: Modbus address:0x001b tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 058dc403d9b541978aebcb2944ecf75f name: 'Battery: Battery Voltage discovery' @@ -138,8 +138,14 @@ zabbix_export: Modbus address:0x0018 tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: 5e42ba3c9a764b9690feb04d4bf7df45 name: 'Battery: Charge Current' @@ -158,8 +164,8 @@ zabbix_export: Modbus address:0x001c tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 6e168ff947324068aad1fc16d577369d name: 'Battery: Output Power' @@ -178,8 +184,8 @@ zabbix_export: Modbus address:0x003a tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: aa20a89288c444a492910cb1a7f19499 name: 'Battery: Charge State' @@ -213,8 +219,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery triggers: - uuid: ed2b56b78fce47f88b679774640706b5 @@ -222,6 +228,10 @@ zabbix_export: name: 'Battery: Device charge in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6f21bda91cc640809f0f4faf04ba86f4 expression: 'last(/Morningstar TriStar MPPT 600V SNMP/charge.state[chargeState.0])={$CHARGE.STATE.WARN}' @@ -232,6 +242,10 @@ zabbix_export: - name: 'Battery: Device charge in critical state' expression: 'last(/Morningstar TriStar MPPT 600V SNMP/charge.state[chargeState.0])={$CHARGE.STATE.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 3d67ceefb2c443d38051e2d22aca45ce name: 'Counter: Charge Amp-hours' @@ -250,8 +264,8 @@ zabbix_export: Modbus addresses:H=0x0034 L=0x0035 tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 1a7ff2c884784eb4817956e0ecd5b718 name: 'Counter: Charge KW-hours' @@ -270,8 +284,8 @@ zabbix_export: Modbus address:0x0038 tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: a2b5a78fe649480ea0cc580b5fa30bde name: 'Status: Alarms' @@ -341,8 +355,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 62d1ffe8417c4ef9b746d17185d8853b @@ -350,174 +364,290 @@ zabbix_export: name: 'Status: Device has "alarm21Internal" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 367d91fa49c241e795a2b497739c6f01 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","arrayCurrentOffset")=2' name: 'Status: Device has "arrayCurrentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 1c1baf4eea9e416a98bcf3e12d7ae01f expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","batterySense")=2' name: 'Status: Device has "batterySense" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: b627e79de7b446d69ee245b07f755405 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","batterySenseDisconnected")=2' name: 'Status: Device has "batterySenseDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 73aba1af987843d98542105f2b41c5bd expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","controllerWasReset")=2' name: 'Status: Device has "controllerWasReset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: aae5a3441b9e4394a39e7a8c5ce29e0c expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","currentLimit")=2' name: 'Status: Device has "currentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: f8e42483b1534ed586252db0c8880aa6 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","currentOffset")=2' name: 'Status: Device has "currentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: bd32be9b60334cc1b80d2de129f0f1a2 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","derateLimit")=2' name: 'Status: Device has "derateLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: e0886663f4df4ff0965fac33951d4ffc expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","ee-i2cRetryLimit")=2' name: 'Status: Device has "ee-i2cRetryLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: abfeb2c3c566401b9f30cd28765aacff expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","ethernetAlarm")=2' name: 'Status: Device has "ethernetAlarm" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: a0ffdbf5695d4945960df6ea7defa071 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","extflashFault")=2' name: 'Status: Device has "extflashFault" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: f92ce5a55f0a4a65beca0abb748b7c04 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","fp12VoltageOutOfRange")=2' name: 'Status: Device has "fp12VoltageOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5bdcd298878a4baf97aab8df338e1123 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorOpen")=2' name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 9fe220d99b524db8bbfe5b511ee91fa7 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShorted")=2' name: 'Status: Device has "heatsinkTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: dc8d3f71c60643b7a6a25a9d7452ce60 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","highArrayVCurrentLimit")=2' name: 'Status: Device has "highArrayVCurrentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: d279f44217b046c789c865b8b44c9342 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","highTemperatureCurrentLimit")=2' name: 'Status: Device has "highTemperatureCurrentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: b48d1c04e95c4b89a7240fc2a611a499 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","highVoltageDisconnect")=2' name: 'Status: Device has "highVoltageDisconnect" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 767be108224d43a99ac2568166c9cd33 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","lvd")=2' name: 'Status: Device has "lvd" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 107b8a4a63c146fa908f5b7ccc716258 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","maxAdcValueReached")=2' name: 'Status: Device has "maxAdcValueReached" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5792c3702ab94123891e02ee4c05339f expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","mosfetSOpen")=2' name: 'Status: Device has "mosfetSOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: a115f88a282e41179b569633234f04e2 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","p3VoltageOutOfRange")=2' name: 'Status: Device has "p3VoltageOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 8a3906ceae5547ca8f9c916ca46e7be8 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","p12VoltageOutOfRange")=2' name: 'Status: Device has "p12VoltageOutOfRange" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 49d3fb027a88462aa7f67442a507c051 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 650cf2d3c06f4c55ac90b1dd23ca25d1 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","rtsMiswire")=2' name: 'Status: Device has "rtsMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 48bb77b135c84d6a9e3792d8385f16da expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 7e363c7cc8ce4104a9c6269c9e94ac26 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","slaveControlFault")=2' name: 'Status: Device has "slaveControlFault" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: e1235a2201a542bb9ac67345c70641e3 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","software")=2' name: 'Status: Device has "software" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: cb5b84c99bcf45459bdc955c8604264b expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","systemMiswire")=2' name: 'Status: Device has "systemMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 72ce41657c1848d897255ad3de77d942 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.alarms[alarms.0],#3,"like","uncalibrated")=2' name: 'Status: Device has "uncalibrated" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 81efe20cce1b4b26a6eda83e86fbd49c name: 'Status: Faults' @@ -584,8 +714,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 747a56182a6f4336b720a95b0609013c @@ -593,168 +723,280 @@ zabbix_export: name: 'Status: Device has "arrayHvd" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: e9d7a51b64444e27b28b13ebf38a11c3 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","batteryHvd")=2' name: 'Status: Device has "batteryHvd" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b898ac485d094f1cb65020ad5459641b expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","batteryLvd")=2' name: 'Status: Device has "batteryLvd" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 806e83938072453ab66895044907c02d expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","blockbusBoot")=2' name: 'Status: Device has "blockbusBoot" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f20f87cd6ce3414182cd2088a947ef24 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","chargeSlaveControlTimeout")=2' name: 'Status: Device has "chargeSlaveControlTimeout" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f4478548ad17400c9cddbf8b27720952 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","controllerWasReset")=2' name: 'Status: Device has "controllerWasReset" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6c9a64ff6f61457daf826e831f51b048 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","currentSensorReferenceOutOfRange")=2' name: 'Status: Device has "currentSensorReferenceOutOfRange" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 74d39d01841f454e8f72457104a42cb7 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","customSettingsEdit")=2' name: 'Status: Device has "customSettingsEdit" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 12d55fb0398c4fbb87ca948f2e692a38 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","dipSwitchChange")=2' name: 'Status: Device has "dipSwitchChange" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 25e71e9c3ad945ed9f48945cac45bb56 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","eepromRetryLimit")=2' name: 'Status: Device has "eepromRetryLimit" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f6fafa09a41a428c87d5ef303071a7f7 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fault16Software")=2' name: 'Status: Device has "fault16Software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 8f079e7606d14dc2ab6313fdae80bafc expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fault17Software")=2' name: 'Status: Device has "fault17Software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: c388f647dd48445d8b8e3eee02ea38fc expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fault18Software")=2' name: 'Status: Device has "fault18Software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 1466954e09704b3092772f0996f692f4 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fault19Software")=2' name: 'Status: Device has "fault19Software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 86595bafc3054fd99343f24bbfdc44e3 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fault20Software")=2' name: 'Status: Device has "fault20Software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d269607e330243fe93e2f85c36d38114 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fault21Software")=2' name: 'Status: Device has "fault21Software" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 68d6b95b6b9e42ada5a212a913d1ae43 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fetShort")=2' name: 'Status: Device has "fetShort" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: dcb1c2bcc704405c8baae825124e3958 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","fpgaVersion")=2' name: 'Status: Device has "fpgaVersion" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 351af5c43f984930b4ebdb8690c52e7d expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","hscomm")=2' name: 'Status: Device has "hscomm" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b32067a9b80c4836af4120f9f8e21bbd expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","hscommMaster")=2' name: 'Status: Device has "hscommMaster" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: bb61ea6f03c94556bf4f333bc050206f expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","ia-refSlaveModeTimeout")=2' name: 'Status: Device has "ia-refSlaveModeTimeout" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 843654df3185400e854c8c1f0229c32c expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 642f03d6eda346aca835e75088b7067b expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","powerboardCommunicationFault")=2' name: 'Status: Device has "powerboardCommunicationFault" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 4d8f0244f8d047bc8730ffc2f02a976d expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","rs232SerialToMeterBridge")=2' name: 'Status: Device has "rs232SerialToMeterBridge" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6c125b8f681b47a99f7535292bd0507c expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: abad398631f34dac8094e4bcd14e3613 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 6824d221feb042da860248a4b418105c expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","slave")=2' name: 'Status: Device has "slave" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 56adf438e90f410497246b27b6da49f4 expression: 'count(/Morningstar TriStar MPPT 600V SNMP/status.faults[faults.0],#3,"like","softwareFault")=2' name: 'Status: Device has "softwareFault" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: e6a4dd0a61c8479985a1179842d22766 name: 'Status: Uptime' @@ -771,8 +1013,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 5393dee9b39d438a8c1553a0be0fb0f2 @@ -781,6 +1023,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: c4f0ea9e18884bc0b546933871017098 expression: 'nodata(/Morningstar TriStar MPPT 600V SNMP/status.uptime,5m)=1' @@ -788,6 +1034,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: 738f2e6d143a4e6db3ecf2736ca843cb name: 'Battery: Target Voltage' @@ -811,8 +1061,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 4f3fdc6382704fb584fbe11264a0e5c2 name: 'Temperature: Battery' @@ -831,8 +1081,8 @@ zabbix_export: Modbus address:0x0025 tags: - - tag: Application - value: Temperature + tag: component + value: temperature triggers: - uuid: bc117de353304889980c7836603abb0d @@ -840,12 +1090,20 @@ zabbix_export: name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 25a8f16d632940c3a2c994a9f2a76851 expression: 'max(/Morningstar TriStar MPPT 600V SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: db1152c815c84d208be0db3dac63acb4 expression: 'min(/Morningstar TriStar MPPT 600V SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.WARN}' @@ -856,6 +1114,10 @@ zabbix_export: - name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' expression: 'min(/Morningstar TriStar MPPT 600V SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 9c331fb9a30b4867a3e16acd7e9f8983 expression: 'max(/Morningstar TriStar MPPT 600V SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.WARN}' @@ -866,6 +1128,10 @@ zabbix_export: - name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' expression: 'max(/Morningstar TriStar MPPT 600V SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' + tags: + - + tag: scope + value: notice - uuid: d3abc18d718540039adcfcb4a74bea43 name: 'Temperature: Heatsink' @@ -884,8 +1150,8 @@ zabbix_export: Modbus address:0x0023 tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: 7ba9493b38174751b448419b0b03312e @@ -913,8 +1179,8 @@ zabbix_export: Modbus address:0x0018 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: f326b9eb93fe4267bf9f4a07bb578eca @@ -922,12 +1188,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 07fb5dd68c954da3982392dfcb2de0b8 expression: 'max(/Morningstar TriStar MPPT 600V SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: aca6ef49842d4b3ba543fcf470473a96 expression: 'min(/Morningstar TriStar MPPT 600V SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -938,6 +1212,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar TriStar MPPT 600V SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: b8673c0802a244d0850730e3fdf5a6dc expression: 'max(/Morningstar TriStar MPPT 600V SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -948,6 +1226,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar TriStar MPPT 600V SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: 592990e094e842f68463ab542878d5a9 @@ -987,6 +1269,13 @@ zabbix_export: } return JSON.stringify(result); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' diff --git a/templates/net/morningstar/morningstar_tristar_mppt_snmp/README.md b/templates/net/morningstar/morningstar_tristar_mppt_snmp/README.md index 7af00476ca2..1c9c8dd6f7c 100644 --- a/templates/net/morningstar/morningstar_tristar_mppt_snmp/README.md +++ b/templates/net/morningstar/morningstar_tristar_mppt_snmp/README.md @@ -66,7 +66,7 @@ There are no template links in this template. |Status |Status: Alarms |<p>MIB: TRISTAR-MPPT</p><p>Description:Faults</p><p>Modbus address:0x002c</p> |SNMP |status.alarms[alarms.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Temperature |Temperature: Battery |<p>MIB: TRISTAR-MPPT</p><p>Description:Batt. Temp</p><p>Scaling Factor:1.0</p><p>Units:C</p><p>Range:[-40, 80]</p><p>Modbus address:0x0025</p> |SNMP |temp.battery[batteryTemperature.0] | |Temperature |Temperature: Heatsink |<p>MIB: TRISTAR-MPPT</p><p>Description:HS Temp</p><p>Scaling Factor:1.0</p><p>Units:C</p><p>Range:[-40, 80]</p><p>Modbus address:0x0023</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: TRISTAR-MPPT</p> |SNMP |battery.voltage.discovery[batteryVoltage.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.005493164063`</p> | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: TRISTAR-MPPT</p> |SNMP |battery.voltage.discovery[batteryVoltage.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.005493164063`</p> | ## Triggers diff --git a/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml b/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml index c0b1b08de1c..0da2b1e28e2 100644 --- a/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml +++ b/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:32:24Z' + date: '2022-01-26T09:45:22Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: TRISTAR-MPPT - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -47,8 +47,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 53c1cccd0262422eb18bb6745adb2369 name: 'Array: Sweep Pmax' @@ -77,8 +77,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 2f0bbf8b6d53457283069aaf8e0386ae name: 'Array: Sweep Vmp' @@ -107,8 +107,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: ced0f7c4abb6409399a9e05797841497 name: 'Array: Sweep Voc' @@ -137,8 +137,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: 419b9faf88284121a8806c60c8a4550d name: 'Array: Voltage' @@ -167,8 +167,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: f40795d2c28b4f53ac50399ca6e6f8d6 name: 'Battery: Battery Voltage discovery' @@ -187,8 +187,14 @@ zabbix_export: - '0.005493164063' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: e1646c9847064d53913d9c57d1b59de7 name: 'Battery: Charge Current' @@ -217,8 +223,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: e70284aa07924a61add98dc516f0429e name: 'Battery: Output Power' @@ -247,8 +253,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 7ad0e0153d6342a5bdd1576b2ad815e3 name: 'Battery: Charge State' @@ -281,8 +287,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery triggers: - uuid: 6c6371d2476246789d23404e068e5179 @@ -290,6 +296,10 @@ zabbix_export: name: 'Battery: Device charge in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 65bdeac02fed4febae857f571319bf37 expression: 'last(/Morningstar TriStar MPPT SNMP/charge.state[chargeState.0])={$CHARGE.STATE.WARN}' @@ -300,6 +310,10 @@ zabbix_export: - name: 'Battery: Device charge in critical state' expression: 'last(/Morningstar TriStar MPPT SNMP/charge.state[chargeState.0])={$CHARGE.STATE.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 48db3379939b4698b8f30ff7118a9a95 name: 'Counter: Charge Amp-hours' @@ -323,8 +337,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: f14eb25c426141d1875d5828b5c62c30 name: 'Counter: Charge KW-hours' @@ -342,8 +356,8 @@ zabbix_export: Modbus address:0x0038 tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 5c96236f9623495289b94bd4d63e6faf name: 'Status: Alarms' @@ -401,8 +415,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: b073c972bb64463aaee85c6129fad319 @@ -410,108 +424,180 @@ zabbix_export: name: 'Status: Device has "batterySense" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 80a2d0a457024c22b39f0fcd45992e1e expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","batterySenseDisconnected")=2' name: 'Status: Device has "batterySenseDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: bac1cc54818245f9baa8dc07ddc0f850 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","controllerWasReset")=2' name: 'Status: Device has "controllerWasReset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 86c2dfb7b0984eaab02f47c58337f468 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","currentLimit")=2' name: 'Status: Device has "currentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: dd000390277a4e848a3236501817addf expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","currentOffset")=2' name: 'Status: Device has "currentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 650ecb9c06464937a3f797e73a3d756d expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorOpen")=2' name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5999a4b6c49a4dabb6350d826b01e646 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShorted")=2' name: 'Status: Device has "heatsinkTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 7331337c7ffb4933bca3982614657912 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","highArrayVCurrentLimit")=2' name: 'Status: Device has "highArrayVCurrentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 82a2e0adba7444c6945666fcb9430808 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","highTemperatureCurrentLimit")=2' name: 'Status: Device has "highTemperatureCurrentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: b1f6d22d205e449a811da905e679800f expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","highVoltageDisconnect")=2' name: 'Status: Device has "highVoltageDisconnect" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: e3ce50b9b696486f945ee5a4c1a7a753 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","maxAdcValueReached")=2' name: 'Status: Device has "maxAdcValueReached" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 1536cf07556b4cddb62186030a4321ca expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","mosfetSOpen")=2' name: 'Status: Device has "mosfetSOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 136621f032544ea8af5e86a14ec03cb6 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","p12VoltageReferenceOff")=2' name: 'Status: Device has "p12VoltageReferenceOff" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 62ecaaf59a984b2999d13540c5220470 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 12037d207b3f413198594877cc7a3862 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsMiswire")=2' name: 'Status: Device has "rtsMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 330f9dfe6ea34b17bcf4cac2c908d78c expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: fba13770ff67433489ec95d62b65d4b5 expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","systemMiswire")=2' name: 'Status: Device has "systemMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: de6208b4474f4743ad99444fd7eb135d expression: 'count(/Morningstar TriStar MPPT SNMP/status.alarms[alarms.0],#3,"like","uncalibrated")=2' name: 'Status: Device has "uncalibrated" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 64a01cde330e437499a719237f68fda2 name: 'Status: Faults' @@ -561,8 +647,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 2a1b5a65311144d69c03255336f9f15f @@ -570,66 +656,110 @@ zabbix_export: name: 'Status: Device has "arrayHvd" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f837f0839967493bb0e38b21000f5e9a expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","batteryHvd")=2' name: 'Status: Device has "batteryHvd" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 05b70b4be5554dd5ac2c65af04d79986 expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","customSettingsEdit")=2' name: 'Status: Device has "customSettingsEdit" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 24ecb8842ea84a82b4d05a4e85150c55 expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","dipSwitchChange")=2' name: 'Status: Device has "dipSwitchChange" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 008d82bc793b49afa6cd37d038c837fe expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","eepromRetryLimit")=2' name: 'Status: Device has "eepromRetryLimit" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 71dbbf441c234dcfbf014fc043bf5d3a expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","fetShort")=2' name: 'Status: Device has "fetShort" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: c100ec68ddaf40e6964ba2598141daa7 expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 435df7ebe3e047ffada64dcf7e69148a expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 88443c84eaa0415db976e7a5d6c1dec4 expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b19111ec08094dbca30a804011b02ed2 expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","slaveControlTimeout")=2' name: 'Status: Device has "slaveControlTimeout" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 0d90cab800ad4bbcbf880c157a7a9dae expression: 'count(/Morningstar TriStar MPPT SNMP/status.faults[faults.0],#3,"like","softwareFault")=2' name: 'Status: Device has "softwareFault" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 5f1e79c9987648c8abb325a507209a07 name: 'Status: Uptime' @@ -646,8 +776,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: aab5be196ac64dc69883c3109fcd094f @@ -656,6 +786,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: db9317cb9a6645d2bd8f4760f7579c17 expression: 'nodata(/Morningstar TriStar MPPT SNMP/status.uptime,5m)=1' @@ -663,6 +797,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: c46896a6169142b59fc7f534f1981993 name: 'Battery: Target Voltage' @@ -691,8 +829,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery - uuid: 9aee4500f32a4016be4f137c948b3d67 name: 'Temperature: Battery' @@ -711,8 +849,8 @@ zabbix_export: Modbus address:0x0025 tags: - - tag: Application - value: Temperature + tag: component + value: temperature triggers: - uuid: 5ec1c2e4786048fc889a37a12a2f4ad6 @@ -720,12 +858,20 @@ zabbix_export: name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 84c059ff133f4f4d8145615c0a98eb50 expression: 'max(/Morningstar TriStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 11d2b988cfec425c9ffb082e9c78490d expression: 'min(/Morningstar TriStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.WARN}' @@ -736,6 +882,10 @@ zabbix_export: - name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' expression: 'min(/Morningstar TriStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 46122992e8a04c7bb7a8c8037a2da74a expression: 'max(/Morningstar TriStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.WARN}' @@ -746,6 +896,10 @@ zabbix_export: - name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' expression: 'max(/Morningstar TriStar MPPT SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' + tags: + - + tag: scope + value: notice - uuid: ffed57b626254db6bcc0df6de51d39fa name: 'Temperature: Heatsink' @@ -764,8 +918,8 @@ zabbix_export: Modbus address:0x0023 tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: 5c8910a7991240a9b586d0d87ef00d5d @@ -803,8 +957,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: cf9bb1b6e84d4b03b38f13c1c1d4905c @@ -812,12 +966,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: d977ded736704d748ca49595f3658b89 expression: 'max(/Morningstar TriStar MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 00deb7608b3e4444bd4833f5b8ae5875 expression: 'min(/Morningstar TriStar MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -828,6 +990,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar TriStar MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: 2877138cdfb0448a9a83eb807b5da24a expression: 'max(/Morningstar TriStar MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -838,6 +1004,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar TriStar MPPT SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: f95cafe8c2a744908e3a290b0b2f6252 @@ -877,6 +1047,13 @@ zabbix_export: } return JSON.stringify(result); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' diff --git a/templates/net/morningstar/morningstar_tristar_pwm_snmp/README.md b/templates/net/morningstar/morningstar_tristar_pwm_snmp/README.md index 488e2163c24..593e44dce1f 100644 --- a/templates/net/morningstar/morningstar_tristar_pwm_snmp/README.md +++ b/templates/net/morningstar/morningstar_tristar_pwm_snmp/README.md @@ -44,11 +44,11 @@ There are no template links in this template. |Name|Description|Type|Key and additional info| |----|-----------|----|----| |Battery voltage discovery |<p>Discovery for battery voltage triggers</p> |DEPENDENT |battery.voltage.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | +|Charge + Diversion mode discovery |<p>Discovery for device in charge and diversion modes</p> |DEPENDENT |controlmode.charge_diversion.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Charge mode discovery |<p>Discovery for device in charge mode</p> |DEPENDENT |controlmode.charge.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `return JSON.stringify(parseInt(value) === 0 ? [{'{#SINGLETON}': ''}] : []);`</p> | -|Load mode discovery |<p>Discovery for device in load mode</p> |DEPENDENT |controlmode.load.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `return JSON.stringify(parseInt(value) === 1 ? [{'{#SINGLETON}': ''}] : []);`</p> | |Diversion mode discovery |<p>Discovery for device in diversion mode</p> |DEPENDENT |controlmode.diversion.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `return JSON.stringify(parseInt(value) === 2 ? [{'{#SINGLETON}': ''}] : []);`</p> | -|Charge + Diversion mode discovery |<p>Discovery for device in charge and diversion modes</p> |DEPENDENT |controlmode.charge_diversion.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Load + Diversion mode discovery |<p>Discovery for device in load and diversion modes</p> |DEPENDENT |controlmode.load_diversion.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | +|Load mode discovery |<p>Discovery for device in load mode</p> |DEPENDENT |controlmode.load.discovery<p>**Preprocessing**:</p><p>- JAVASCRIPT: `return JSON.stringify(parseInt(value) === 1 ? [{'{#SINGLETON}': ''}] : []);`</p> | ## Items collected @@ -71,7 +71,7 @@ There are no template links in this template. |Status |Status: Alarms |<p>MIB: TRISTAR</p><p>Description:Alarms</p><p>Modbus addresses:H=0x001D L=0x0017</p> |SNMP |status.alarms[alarms.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p><p>- JAVASCRIPT: `The text is too long. Please see the template.`</p> | |Temperature |Temperature: Battery |<p>MIB: TRISTAR</p><p>Description:Battery Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-40, 120]</p><p>Modbus address:0x000F</p> |SNMP |temp.battery[batteryTemperature.0] | |Temperature |Temperature: Heatsink |<p>MIB: TRISTAR</p><p>Description:Heatsink Temperature</p><p>Scaling Factor:1.0</p><p>Units:deg C</p><p>Range:[-40, 120]</p><p>Modbus address:0x000E</p> |SNMP |temp.heatsink[heatsinkTemperature.0] | -|Zabbix_raw_items |Battery: Battery Voltage discovery |<p>MIB: TRISTAR</p><p>Description:Battery voltage</p><p>Scaling Factor:0.002950042724609375</p><p>Units:V</p><p>Range:[0.0, 80.0]</p><p>Modbus address:0x0008</p> |SNMP |battery.voltage.discovery[batteryVoltage.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.002950042725`</p> | +|Zabbix raw items |Battery: Battery Voltage discovery |<p>MIB: TRISTAR</p><p>Description:Battery voltage</p><p>Scaling Factor:0.002950042724609375</p><p>Units:V</p><p>Range:[0.0, 80.0]</p><p>Modbus address:0x0008</p> |SNMP |battery.voltage.discovery[batteryVoltage.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.002950042725`</p> | ## Triggers diff --git a/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml b/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml index e0e0b56c4b7..b879ec5760a 100644 --- a/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml +++ b/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-17T06:32:28Z' + date: '2022-01-26T09:55:00Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -14,7 +14,7 @@ zabbix_export: MIBs used: TRISTAR - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -43,8 +43,14 @@ zabbix_export: - '0.002950042725' tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: battery + - + tag: component + value: discovery + - + tag: component + value: raw - uuid: 0c57da022cf8497e88f788cee1b3a0a6 name: 'Status: Control Mode' @@ -66,8 +72,8 @@ zabbix_export: name: 'TriStar PWM control mode' tags: - - tag: Application - value: Status + tag: component + value: status - uuid: 25a576060f6948e59a855462b04c7276 name: 'Counter: Amp-hours' @@ -91,8 +97,8 @@ zabbix_export: - '0.1' tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: d2351af0b6244044949eba67a7f7b39c name: 'Counter: KW-hours' @@ -121,8 +127,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Counter + tag: component + value: counter - uuid: 03c3397ac32b47499002b13e0735ec9b name: 'Status: Alarms' @@ -178,8 +184,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No alarms'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 121d47c6bbdd45bca261df2e01ea41c6 @@ -187,102 +193,170 @@ zabbix_export: name: 'Status: Device has "batterySense" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: fd2d9290144143d39bb5a3cf0a2d261f expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","batterySenseDisconnected")=2' name: 'Status: Device has "batterySenseDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 83d5b8d52acd4e21ac6d3a9cf05dcd04 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","currentLimit")=2' name: 'Status: Device has "currentLimit" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: d9529a4372d848038e6ee561d62e9f22 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","currentOffset")=2' name: 'Status: Device has "currentOffset" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 5f3983acc1cc417e860c1305b11c15ea expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","diversionLoadNearMax")=2' name: 'Status: Device has "diversionLoadNearMax" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 878e04df7e7b416bb0d2213b5dbb80e6 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorOpen")=2' name: 'Status: Device has "heatsinkTempSensorOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: c642ed9496ce4322809c7142d32929a5 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","heatsinkTempSensorShorted")=2' name: 'Status: Device has "heatsinkTempSensorShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 532421fe17bf4732a01a6990e34e649a expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","highVoltageDisconnect")=2' name: 'Status: Device has "highVoltageDisconnect" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: ae90e8034baf4b21906d56d18bfa4da8 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","loadDisconnectState")=2' name: 'Status: Device has "loadDisconnectState" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 8d8b721c6dee40499b29bee44b21589a expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","mosfetSOpen")=2' name: 'Status: Device has "mosfetSOpen" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 8cda8e5773de4583b9baa6a6e542e32c expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","p12VoltageReferenceOff")=2' name: 'Status: Device has "p12VoltageReferenceOff" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 1b6192b8ca364c229b35ba6de89ad56b expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 176de77a142d45a3ac39ea42989e209c expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","rtsMiswire")=2' name: 'Status: Device has "rtsMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: f63029eabc8e498ea7e6336d312ac169 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 480b69c1febf45a2971788c2f967c45d expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","systemMiswire")=2' name: 'Status: Device has "systemMiswire" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 4a287e4086c4458aaa3dc48bbb8ee219 expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","tristarHot")=2' name: 'Status: Device has "tristarHot" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: de665482d2574730a3a839948dd730ea expression: 'count(/Morningstar TriStar PWM SNMP/status.alarms[alarms.0],#3,"like","uncalibrated")=2' name: 'Status: Device has "uncalibrated" alarm flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: WARNING + tags: + - + tag: scope + value: notice - uuid: 9d0f4444f98c4ec082d35559e8fe9ac5 name: 'Status: Faults' @@ -335,8 +409,8 @@ zabbix_export: return result.length ? result.join('\n') : 'No faults'; tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: 514b041aebdd4ddb8ab2d1222c0ef295 @@ -344,72 +418,120 @@ zabbix_export: name: 'Status: Device has "customSettingsEdit" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 1a40ce8b87f04ab1b4f30387e9ce2d9d expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","dipSwitchChange")=2' name: 'Status: Device has "dipSwitchChange" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 49b120c3933c43b1b7f5c77f7b359997 expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","externalShort")=2' name: 'Status: Device has "externalShort" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: f063b9f717c44ab988db7ac95bfca68f expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","highVoltageDisconnect")=2' name: 'Status: Device has "highVoltageDisconnect" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 468716d748f1470cb764ce1af922164d expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","mosfetSShorted")=2' name: 'Status: Device has "mosfetSShorted" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: b6f65dfca421490eafff48991cdf1e3b expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","overcurrent")=2' name: 'Status: Device has "overcurrent" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 73561a5765694633b1dc0ef1b1f60fd4 expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","reset")=2' name: 'Status: Device has "reset" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d14c7d928f57448390c2b4c588a28c65 expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","rtsDisconnected")=2' name: 'Status: Device has "rtsDisconnected" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: d94067598c234968b4929404067eff86 expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","rtsShorted")=2' name: 'Status: Device has "rtsShorted" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 886b18bee7cd4f8eb454973e2d2ae59f expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","softwareFault")=2' name: 'Status: Device has "softwareFault" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 2e520cdafaaa4eefad5ebea71819c3a6 expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","systemMiswire")=2' name: 'Status: Device has "systemMiswire" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 041be44e639d4d1eadb15230a678e278 expression: 'count(/Morningstar TriStar PWM SNMP/status.faults[faults.0],#3,"like","tristarHot")=2' name: 'Status: Device has "tristarHot" faults flag' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 642eec19ba5d450186590e9f5bba36db name: 'Status: Uptime' @@ -426,8 +548,8 @@ zabbix_export: - '0.01' tags: - - tag: Application - value: Status + tag: component + value: status triggers: - uuid: f0549419f015448497cd7d15a2bf96fa @@ -436,6 +558,10 @@ zabbix_export: priority: INFO description: 'Uptime is less than 10 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: 64aa2a79fe854def8e179a4d27790417 expression: 'nodata(/Morningstar TriStar PWM SNMP/status.uptime,5m)=1' @@ -443,6 +569,10 @@ zabbix_export: priority: WARNING description: 'Zabbix has not received data for items for the last 5 minutes' manual_close: 'YES' + tags: + - + tag: scope + value: availability - uuid: bc729e23973b4d9d97d694d884431e0b name: 'Temperature: Battery' @@ -461,8 +591,8 @@ zabbix_export: Modbus address:0x000F tags: - - tag: Application - value: Temperature + tag: component + value: temperature triggers: - uuid: e759b90e2bf44bbb8e5efe5b9e458e40 @@ -470,12 +600,20 @@ zabbix_export: name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: e57f335f657d45768509f139d31dcdae expression: 'max(/Morningstar TriStar PWM SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 7d1444dba9334e91ad425a6f2ff9fef9 expression: 'min(/Morningstar TriStar PWM SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.WARN}' @@ -486,6 +624,10 @@ zabbix_export: - name: 'Temperature: Critically high battery temperature (over {$BATTERY.TEMP.MAX.CRIT}C for 5m)' expression: 'min(/Morningstar TriStar PWM SNMP/temp.battery[batteryTemperature.0],5m)>{$BATTERY.TEMP.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 14fe4a22b28c4d08a24da51a54e36e81 expression: 'max(/Morningstar TriStar PWM SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.WARN}' @@ -496,6 +638,10 @@ zabbix_export: - name: 'Temperature: Critically low battery temperature (below {$BATTERY.TEMP.MIN.WARN}C for 5m)' expression: 'max(/Morningstar TriStar PWM SNMP/temp.battery[batteryTemperature.0],5m)<{$BATTERY.TEMP.MIN.CRIT}' + tags: + - + tag: scope + value: notice - uuid: a9a009058e99419dbb6cbef5b7797388 name: 'Temperature: Heatsink' @@ -514,8 +660,8 @@ zabbix_export: Modbus address:0x000E tags: - - tag: Application - value: Temperature + tag: component + value: temperature discovery_rules: - uuid: 0e06c296579f4b6aa40d69ebb62742b4 @@ -553,8 +699,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: 156ec13d673b4a8aa02a87b1794cb722 @@ -562,12 +708,20 @@ zabbix_export: name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: 5e4400321f4f45b39397c68a4ba54d8e expression: 'max(/Morningstar TriStar PWM SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: capacity - uuid: fa6502a4a0214f7f933e982182d21d6b expression: 'min(/Morningstar TriStar PWM SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.WARN}' @@ -578,6 +732,10 @@ zabbix_export: - name: 'Battery: Critically high battery voltage (over {#VOLTAGE.MAX.CRIT}V for 5m)' expression: 'min(/Morningstar TriStar PWM SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)>{#VOLTAGE.MAX.CRIT}' + tags: + - + tag: scope + value: capacity - uuid: a5275748f4c742ea8ab9efd266901e95 expression: 'max(/Morningstar TriStar PWM SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.WARN}' @@ -588,6 +746,10 @@ zabbix_export: - name: 'Battery: Critically low battery voltage (below {#VOLTAGE.MIN.CRIT}V for 5m)' expression: 'max(/Morningstar TriStar PWM SNMP/battery.voltage[batteryVoltage.0{#SINGLETON}],5m)<{#VOLTAGE.MIN.CRIT}' + tags: + - + tag: scope + value: capacity graph_prototypes: - uuid: bbdea967f4f34a299dd8d9bee43f2841 @@ -664,8 +826,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Array + tag: component + value: array - uuid: b5d74de2e96440a5a00a4a4dffffbb26 name: 'Battery: Charge Current{#SINGLETON}' @@ -694,8 +856,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery graph_prototypes: - uuid: 9886a05be4a74a82a208e3a5950f022d @@ -754,8 +916,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Battery + tag: component + value: battery trigger_prototypes: - uuid: da21473ce79c42269cc24d3e470b7d07 @@ -763,6 +925,10 @@ zabbix_export: name: 'Battery: Device charge in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: 79a592050bc64c018cfa5c7b779fba02 expression: 'last(/Morningstar TriStar PWM SNMP/charge.state[controlState.0{#SINGLETON}])={$CHARGE.STATE.WARN}' @@ -773,6 +939,10 @@ zabbix_export: - name: 'Battery: Device charge in critical state' expression: 'last(/Morningstar TriStar PWM SNMP/charge.state[controlState.0{#SINGLETON}])={$CHARGE.STATE.CRIT}' + tags: + - + tag: scope + value: notice - uuid: edd7d01d2523481293f3ac9e8f3c0a00 name: 'Battery: Target Voltage{#SINGLETON}' @@ -801,8 +971,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Battery + tag: component + value: battery master_item: key: 'control.mode[controlMode.0]' preprocessing: @@ -848,8 +1018,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Load + tag: component + value: load master_item: key: 'control.mode[controlMode.0]' preprocessing: @@ -897,8 +1067,8 @@ zabbix_export: - 1h tags: - - tag: Application - value: Load + tag: component + value: load trigger_prototypes: - uuid: 9035e0a92d384a3c844b8a4d4ebd1eb9 @@ -906,6 +1076,10 @@ zabbix_export: name: 'Load: Device load in critical state' opdata: 'Current value: {ITEM.LASTVALUE1}' priority: HIGH + tags: + - + tag: scope + value: notice - uuid: a2d13f97c4bd46bfab8e74a2f2a7df2e expression: 'last(/Morningstar TriStar PWM SNMP/load.state[loadState.0{#SINGLETON}])={$LOAD.STATE.WARN:"lvdWarning"} or last(/Morningstar TriStar PWM SNMP/load.state[loadState.0{#SINGLETON}])={$LOAD.STATE.WARN:"override"}' @@ -916,6 +1090,10 @@ zabbix_export: - name: 'Load: Device load in critical state' expression: 'last(/Morningstar TriStar PWM SNMP/load.state[loadState.0{#SINGLETON}])={$LOAD.STATE.CRIT:"lvd"} or last(/Morningstar TriStar PWM SNMP/load.state[loadState.0{#SINGLETON}])={$LOAD.STATE.CRIT:"fault"}' + tags: + - + tag: scope + value: notice master_item: key: 'control.mode[controlMode.0]' preprocessing: @@ -960,8 +1138,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Load + tag: component + value: load - uuid: f87ddb7d31d748c8917030ede731f37a name: 'Load: Voltage{#SINGLETON}' @@ -990,8 +1168,8 @@ zabbix_export: - \1\2 tags: - - tag: Application - value: Load + tag: component + value: load graph_prototypes: - uuid: 91ee10b435144218ab3dfac8f6bf7bdd @@ -1022,6 +1200,13 @@ zabbix_export: - | var mode = parseInt(value); return JSON.stringify((mode === 1 || mode === 2) ? [{'{#SINGLETON}': ''}] : []); + tags: + - + tag: class + value: power + - + tag: target + value: morningstar macros: - macro: '{$BATTERY.TEMP.MAX.CRIT}' |