Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Zabbix Template: Songticker

class: software target: songticker vendor: RaBe version: 6.4

Check if the songticker is getting regular updates

Items

Item: Songticker: Last update

component: songticker

rabe.songticker.date

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

component: songticker

When the current show ends.

rabe.songticker.show_endtime

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

component: songticker

Name of the currently running show.

rabe.songticker.show_name

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

component: songticker

Currently running artist.

rabe.songticker.track_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

component: songticker

Currently running track.

rabe.songticker.track_title

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

component: raw

rabe.songticker.xml

Settings:

Item Setting Value
Type HTTP_AGENT
Value type TEXT

Triggers

Trigger: Songticker: Show ends in the past

scope: availability

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
last(/Songticker/rabe.songticker.show_endtime)-time()<0

Macros

The following Zabbix macros are configured via this template.

Macro: {$SONGTICKER.XML.ENDPOINT}

Location of the generated XML file for Songticker

Default:

https://songticker.rabe.ch/songticker/0.9.3/current.xml

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