Zabbix Template: Songticker
Check if the songticker is getting regular updates
Items
Item: Songticker: Last update
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | rabe.songticker.xml |
Preprocessing steps:
Type | Parameters |
---|---|
XMLPATH | ["/*[name()='ticker']/*[name()='date']/text()"] |
JAVASCRIPT | ["return Date.parse(value)/1000"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: Songticker: Show end
When the current show ends.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
History | 7d |
Source item | rabe.songticker.xml |
Preprocessing steps:
Type | Parameters |
---|---|
XMLPATH | ["/*[name()='ticker']/*[name()='show']/*[name()='endTime']/text()"] |
JAVASCRIPT | ["return Date.parse(value)/1000"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: Songticker: Show name
Name of the currently running show.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
Value type | TEXT |
History | 7d |
Source item | rabe.songticker.xml |
Preprocessing steps:
Type | Parameters |
---|---|
XMLPATH | ["/*[name()='ticker']/*[name()='show']/*[name()='name']/text()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: Songticker: Current Artist
Currently running artist.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
Value type | TEXT |
History | 7d |
Source item | rabe.songticker.xml |
Preprocessing steps:
Type | Parameters |
---|---|
XMLPATH | ["/*[name()='ticker']/*[name()='track']/*[name()='artist']/text()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: Songticker: Current Title
Currently running track.
Settings:
Item Setting | Value |
---|---|
Type | DEPENDENT |
Value type | TEXT |
History | 7d |
Source item | rabe.songticker.xml |
Preprocessing steps:
Type | Parameters |
---|---|
XMLPATH | ["/*[name()='ticker']/*[name()='track']/*[name()='title']/text()"] |
DISCARD_UNCHANGED_HEARTBEAT | ["30m"] |
Item: Songticker XML reponse
Settings:
Item Setting | Value |
---|---|
Type | HTTP_AGENT |
Value type | TEXT |
Triggers
Trigger: Songticker: Show ends in the past
No next show was started in songticker. This could mean that songticker itself is down somehow, or there could be an issue in our metadata that needs investigating. Settings:
Trigger Setting | Values |
---|---|
Priority | WARNING |
Macros
The following Zabbix macros are configured via this template.
Macro: {$SONGTICKER.XML.ENDPOINT}
Location of the generated XML file for Songticker
Default:
Dashboards
The following Zabbix dashboards are included in this template.
- Songticker: Overview
License
This template is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
Copyright
Copyright (c) 2017 - 2024 Radio Bern RaBe