zabbix_export: version: '5.4' date: '2021-11-21T21:48:49Z' groups: - uuid: a4cf2d3262b84b57925ef1af7062f2ba name: 'DD Bridge' templates: - uuid: 11fe8f129d4545a9915b8e20c61de7e6 template: 'Octopus NET DD Bridge satelite mon' name: 'Octopus NET DD Bridge satelite mon' description: | ## Overview Template for monitoring all 4 tuners on ddbridge Octopus Net. Monitoring status: SNR, lock Graph: SNR Alarms: SNR < 10 db lock fail If you have web authentification, you need to modify data item "tuners mon" and add HTTP authentification. ## Author Aleksey Grabilenko groups: - name: 'DD Bridge' items: - uuid: bf0e5247278a4189928350adeedfef06 name: 'Tuner 1 LOCK' type: DEPENDENT key: tuner1_lock delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][0][''Lock'']' - type: BOOL_TO_DECIMAL parameters: - '' master_item: key: tuners_info tags: - tag: Application value: 'Tuner lock' triggers: - uuid: a03a62d0b53f48e7b36cd072300e8cde expression: 'last(/Octopus NET DD Bridge satelite mon/tuner1_lock,#1)=0' name: 'Tuner 1 has lost LOCK!!!' priority: DISASTER manual_close: 'YES' - uuid: eeb010fa51fb4aaeabcc32ddf62ed213 name: 'tuner 1 SNR' type: DEPENDENT key: tuner1_snr delay: '0' value_type: FLOAT units: db preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][0][''SNR'']' - type: MULTIPLIER parameters: - '0.001' master_item: key: tuners_info tags: - tag: Application value: SNR triggers: - uuid: 9626b207d93d473b9d95107289256e97 expression: 'last(/Octopus NET DD Bridge satelite mon/tuner1_snr,#1)<10' name: 'tuner 1 SNR too low' priority: HIGH - uuid: e6d894466a7340a3b3b57636a5adcf05 name: 'Tuner 2 LOCK' type: DEPENDENT key: tuner2_lock delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][1][''Lock'']' - type: BOOL_TO_DECIMAL parameters: - '' master_item: key: tuners_info tags: - tag: Application value: 'Tuner lock' triggers: - uuid: 280fc62f38e440d88391edfdbb3e3933 expression: 'last(/Octopus NET DD Bridge satelite mon/tuner2_lock,#1)=0' name: 'Tuner 2 has lost LOCK!!!' priority: DISASTER manual_close: 'YES' - uuid: 0a3a87cad0104d52a452b984f28f333a name: 'tuner 2 SNR' type: DEPENDENT key: tuner2_snr delay: '0' value_type: FLOAT units: db preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][1][''SNR'']' - type: MULTIPLIER parameters: - '0.001' master_item: key: tuners_info tags: - tag: Application value: SNR triggers: - uuid: f25901ff7ba7464f98c5810a141ee129 expression: 'last(/Octopus NET DD Bridge satelite mon/tuner2_snr,#1)<10' name: 'tuner 2 SNR too low' priority: HIGH - uuid: 405e66bfc8be4264a91b62f148750c95 name: 'Tuner 3 LOCK' type: DEPENDENT key: tuner3_lock delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][2][''Lock'']' - type: BOOL_TO_DECIMAL parameters: - '' master_item: key: tuners_info tags: - tag: Application value: 'Tuner lock' triggers: - uuid: 8925cd6f0dac41339a8610a68a0d3590 expression: 'last(/Octopus NET DD Bridge satelite mon/tuner3_lock,#1)=0' name: 'Tuner 3 has lost LOCK!!!' priority: DISASTER manual_close: 'YES' - uuid: 0bd76db29e1a4b88bd3a61a98c3fed97 name: 'tuner 3 SNR' type: DEPENDENT key: tuner3_snr delay: '0' value_type: FLOAT units: db preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][2][''SNR'']' - type: MULTIPLIER parameters: - '0.001' master_item: key: tuners_info tags: - tag: Application value: SNR triggers: - uuid: 222f7140148c4c31b4c6c63a16f8a089 expression: 'last(/Octopus NET DD Bridge satelite mon/tuner3_snr,#1)<10' name: 'tuner 3 SNR too low' priority: HIGH - uuid: 76e106ceec684534aa088316eb13ac60 name: 'Tuner 4 LOCK' type: DEPENDENT key: tuner4_lock delay: '0' trends: '0' value_type: TEXT preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][3][''Lock'']' - type: BOOL_TO_DECIMAL parameters: - '' master_item: key: tuners_info tags: - tag: Application value: 'Tuner lock' triggers: - uuid: b163ec903937451cbf317ee638316678 expression: 'last(/Octopus NET DD Bridge satelite mon/tuner4_lock,#1)=0' name: 'Tuner 4 has lost LOCK!!!' priority: DISASTER manual_close: 'YES' - uuid: 52d23d1939694e69bac85eb34c121207 name: 'tuner 4 SNR' type: DEPENDENT key: tuner4_snr delay: '0' value_type: FLOAT units: db preprocessing: - type: JSONPATH parameters: - '$[''TunerList''][3][''SNR'']' - type: MULTIPLIER parameters: - '0.001' master_item: key: tuners_info tags: - tag: Application value: SNR triggers: - uuid: b47d321d48854d32a74d1d48d48445db expression: 'last(/Octopus NET DD Bridge satelite mon/tuner4_snr,#1)<10' name: 'tuner 4 SNR too low' priority: HIGH - uuid: 1e3359193d3947c08ad9fb3faa307c8d name: 'tuners mon' type: HTTP_AGENT key: tuners_info delay: 30s trends: '0' value_type: CHAR description: 'Collect all statistics from json on device' preprocessing: - type: REGEX parameters: - '\{(\n|.)*\}' - \0 url: 'http://{HOST.IP}/octoserve/tunerstatus.json' tags: - tag: Application value: 'Tuners info' graphs: - uuid: 555a1284dd6944a7ae11f432d469465c name: 'tuner 1 SNR' graph_items: - drawtype: FILLED_REGION color: 1A7C11 item: host: 'Octopus NET DD Bridge satelite mon' key: tuner1_snr - uuid: d06a59bd524f424a99fb729b1b913d3e name: 'tuner 2 SNR' graph_items: - drawtype: FILLED_REGION color: 1A7C11 item: host: 'Octopus NET DD Bridge satelite mon' key: tuner2_snr - uuid: 9d3ff38dde4e488c9375581fa2cff61f name: 'tuner 3 SNR' graph_items: - drawtype: FILLED_REGION color: 1A7C11 item: host: 'Octopus NET DD Bridge satelite mon' key: tuner3_snr - uuid: 3b8fd5e3cd664d3c890bdb1b55d95ab1 name: 'tuner 4 SNR' graph_items: - drawtype: FILLED_REGION color: 1A7C11 item: host: 'Octopus NET DD Bridge satelite mon' key: tuner4_snr