zabbix_export: version: '7.0' template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' templates: - uuid: c1c0ae153d934891a585d8518edfaf44 template: TinyGS name: TinyGS description: 'Monitor TinyGS station availability.' groups: - name: 'Templates/Network devices' items: - uuid: efb702c823e241a999e7a4cb5812bcf1 name: 'TinyGS: HTTP service' key: 'net.tcp.service[http,{$TINYGS_IP}]' units: status valuemap: name: 'Service status' tags: - tag: component value: tinygs triggers: - uuid: 306d59b2643c4578994f6c0bd6daec20 expression: 'max(/TinyGS/net.tcp.service[http,{$TINYGS_IP}],300)=0' name: 'TinyGS: HTTP service down on {$TINYGS_IP}' priority: HIGH tags: - tag: scope value: availability - uuid: 96377072d94d44c2a03bc4deb3585f7a name: 'TinyGS: MQTT Server status' key: 'web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"MQTT Server.*>([A-Z]+)<.*WiFi",,\1]' delay: 5m value_type: CHAR trends: '0' tags: - tag: component value: tinygs triggers: - uuid: 26cc54f6d9cc4e71b74b54c01418a162 expression: 'find(/TinyGS/web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"MQTT Server.*>([A-Z]+)<.*WiFi",,\1],1200,"like","CONNECTED")<>1' name: 'TinyGS: MQTT Server not connected on {$TINYGS_IP}' url_name: 'http://@{$TINYGS_IP}/dashboard' priority: AVERAGE tags: - tag: scope value: availability - uuid: e733810d1b4d40fa8d40e9e41b3a326e name: 'TinyGS: Radio status' key: 'web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"Radio.*>([A-Z]+)<.*Test Mode",,\1]' delay: 5m value_type: CHAR trends: '0' tags: - tag: component value: tinygs triggers: - uuid: 034ea34e945c43d49172adc5e9603dc9 expression: 'find(/TinyGS/web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"Radio.*>([A-Z]+)<.*Test Mode",,\1],1200,"like","READY")<>1' name: 'TinyGS: Radio not ready on {$TINYGS_IP}' url_name: 'http://@{$TINYGS_IP}/dashboard' priority: AVERAGE tags: - tag: scope value: availability - uuid: ca17cce565644aa19a3385b2bb189438 name: 'TinyGS: Last packed received at' key: 'web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"Received at.*>([0-9]+:[0-9]+:[0-9]+)<.*Signal RSSI",,\1]' delay: 5m value_type: CHAR trends: '0' tags: - tag: component value: tinygs - uuid: 38e56522b53840e5bf56e09581087c40 name: 'TinyGS: WiFi status' key: 'web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"WiFi.*>([A-Z]+)<.*Radio",,\1]' delay: 5m value_type: CHAR trends: '0' tags: - tag: component value: tinygs triggers: - uuid: 070bbcca53a949c7b118f0905763c571 expression: 'find(/TinyGS/web.page.regexp[http://admin:{$TINYGS_PASSWORD}@{$TINYGS_IP}/dashboard,,,"WiFi.*>([A-Z]+)<.*Radio",,\1],1200,"like","CONNECTED")<>1' name: 'TinyGS: WiFi not connected on {$TINYGS_IP}' url_name: 'http://@{$TINYGS_IP}/dashboard' priority: AVERAGE tags: - tag: scope value: availability macros: - macro: '{$TINYGS_IP}' description: 'IP of TinyGS device' - macro: '{$TINYGS_PASSWORD}' description: 'Password to on-device dashboard' valuemaps: - uuid: 9c68f0a6852e4e48bc06f5679967f446 name: 'Service status' mappings: - value: '0' newvalue: Down - value: '1' newvalue: Up