diff options
Diffstat (limited to 'templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml')
-rw-r--r-- | templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml | 261 |
1 files changed, 223 insertions, 38 deletions
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}' |