Skip to content

Instantly share code, notes, and snippets.

View kuhball's full-sized avatar

Simon kuhball

View GitHub Profile
@kuhball
kuhball / alertmanager.yml
Last active January 10, 2023 21:32
prometheus alertmanager telegram message template
receivers:
- name: 'telegram'
telegram_configs:
- bot_token: 'SOME_TOKEN'
api_url: https://api.telegram.org
chat_id: SOME_CHAT_ID
parse_mode: HTML
message: '{{ template "telegram.gaengeviertel.text" .}}'
templates:
@kuhball
kuhball / icecast-pi-systemd.md
Created June 15, 2020 13:46
Using a raspberry pi for automatic icecast streaming

Stream Pi

This project was created for the Gaengeviertel Radio to provide a simple access for streaming.

Following hardware was used:

  • Raspberry Pi 3b
  • Xone 96 / Steinberg UR22mkII / any usb sound device

sound settings

@kuhball
kuhball / isc-config.conf
Created March 24, 2020 09:35
ISC DHCP Option 43 for unify / siemens
option space unify code width 1 length width 1 hash size 3;
option unify.vendor code 1 = text;
option unify.vlan code 2 = text;
option unify.dls code 3 = text;
subnet 10.60.199.0 netmask 255.255.255.0 {
range 10.60.199.50 10.60.199.100;
option routers 10.60.199.202;
class "unify phone" {
match if option vendor-class-identifier = "OptiIpPhone";