Compare commits
9 Commits
upstream/0
...
c66070ccda
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c66070ccda | ||
|
|
6dcc253879 | ||
|
|
871c43d949 | ||
|
|
0c709866fa | ||
|
|
5cdf5bbf90 | ||
|
|
fdb286a895 | ||
|
|
b8423cf719 | ||
|
|
28729d1b25 | ||
|
|
13f11f3e01 |
5
NOTICE
5
NOTICE
@@ -11,8 +11,3 @@ Bootstrap
|
|||||||
http://getbootstrap.com
|
http://getbootstrap.com
|
||||||
Copyright 2011-2014 Twitter, Inc.
|
Copyright 2011-2014 Twitter, Inc.
|
||||||
Licensed under the MIT License
|
Licensed under the MIT License
|
||||||
|
|
||||||
bootstrap-datetimepicker.js
|
|
||||||
http://www.eyecon.ro/bootstrap-datepicker
|
|
||||||
Copyright 2012 Stefan Petre
|
|
||||||
Licensed under the Apache License, Version 2.0
|
|
||||||
|
|||||||
BIN
alertmanager
BIN
alertmanager
Binary file not shown.
@@ -1,16 +1,13 @@
|
|||||||
global:
|
|
||||||
resolve_timeout: 5m
|
|
||||||
|
|
||||||
route:
|
route:
|
||||||
group_by: ['alertname']
|
group_by: ['alertname']
|
||||||
group_wait: 10s
|
group_wait: 30s
|
||||||
group_interval: 10s
|
group_interval: 5m
|
||||||
repeat_interval: 1h
|
repeat_interval: 1h
|
||||||
receiver: 'web.hook'
|
receiver: 'web.hook'
|
||||||
receivers:
|
receivers:
|
||||||
- name: 'web.hook'
|
- name: 'web.hook'
|
||||||
webhook_configs:
|
webhook_configs:
|
||||||
- url: 'http://127.0.0.1:5001/'
|
- url: 'http://127.0.0.1:5001/'
|
||||||
inhibit_rules:
|
inhibit_rules:
|
||||||
- source_match:
|
- source_match:
|
||||||
severity: 'critical'
|
severity: 'critical'
|
||||||
|
|||||||
16
debian/changelog
vendored
Normal file
16
debian/changelog
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
prometheus-alertmanager (0.28.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Mario Fetka ]
|
||||||
|
* Bump
|
||||||
|
* Bump
|
||||||
|
|
||||||
|
[ root ]
|
||||||
|
* bump
|
||||||
|
|
||||||
|
-- root <mario.fetka@disconnected-by-peer.at> Sat, 09 Aug 2025 14:49:18 +0200
|
||||||
|
|
||||||
|
prometheus-alertmanager (0.18.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Version bump to 0.18.0.
|
||||||
|
|
||||||
|
-- Jiri Tyr <jiri.tyr@gmail.com> Mon, 12 Aug 2019 14:44:25 +0200
|
||||||
10
debian/control
vendored
Normal file
10
debian/control
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Source: prometheus-alertmanager
|
||||||
|
Section: net
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Jiri Tyr <jiri.tyr@gmail.com>
|
||||||
|
Standards-Version: 4.1.1
|
||||||
|
Homepage: https://prometheus.io/
|
||||||
|
|
||||||
|
Package: prometheus-alertmanager
|
||||||
|
Architecture: any
|
||||||
|
Description: Alerts manager for the Prometheus server
|
||||||
1
debian/default
vendored
Normal file
1
debian/default
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ALERTMANAGER_OPTS=""
|
||||||
24
debian/postinst
vendored
Executable file
24
debian/postinst
vendored
Executable file
@@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
configure)
|
||||||
|
# Add prometheus user
|
||||||
|
if ! getent passwd prometheus > /dev/null; then
|
||||||
|
adduser --quiet --system --home /var/lib/prometheus \
|
||||||
|
--group --gecos "Prometheus services" prometheus || true
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
abort-upgrade|abort-remove|abort-deconfigure)
|
||||||
|
:
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "postinst called with unknown argument \`$1'" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
||||||
48
debian/rules
vendored
Executable file
48
debian/rules
vendored
Executable file
@@ -0,0 +1,48 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
define checkdir
|
||||||
|
@test -f debian/rules || \
|
||||||
|
(echo Not in correct source directory; exit 1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define checkroot
|
||||||
|
@test $$(id -u) = 0 || (echo need root priviledges; exit 1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
PRODUCT = alertmanager
|
||||||
|
TOP_DIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
||||||
|
SRC_DIR = $(TOP_DIR)
|
||||||
|
DEB_DIR = $(TOP_DIR)/debian
|
||||||
|
DEST_DIR = $(DEB_DIR)/$(PRODUCT)
|
||||||
|
|
||||||
|
BIN_DIR = $(DEST_DIR)/usr/bin
|
||||||
|
CONF_DIR = $(DEST_DIR)/etc/prometheus
|
||||||
|
DEFAULT_DIR = $(DEST_DIR)/etc/default
|
||||||
|
DOCS_DIR = $(DEST_DIR)/usr/share/doc/$(PRODUCT)
|
||||||
|
SYSD_DIR = $(DEST_DIR)/usr/lib/systemd/system
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
binary:
|
||||||
|
$(checkdir)
|
||||||
|
# $(checkroot)
|
||||||
|
mkdir -p $(DEST_DIR)/DEBIAN $(BIN_DIR) $(CONF_DIR) $(DEFAULT_DIR) $(DOCS_DIR) $(SYSD_DIR)
|
||||||
|
install -Dm755 $(SRC_DIR)/$(PRODUCT) -t $(BIN_DIR)
|
||||||
|
install -Dm755 $(SRC_DIR)/amtool -t $(BIN_DIR)
|
||||||
|
install -Dm644 $(SRC_DIR)/LICENSE -t $(DOCS_DIR)
|
||||||
|
install -Dm644 $(SRC_DIR)/NOTICE -t $(DOCS_DIR)
|
||||||
|
install -Dm755 $(DEB_DIR)/postinst -t $(DEST_DIR)/DEBIAN
|
||||||
|
install -Dm644 $(SRC_DIR)/$(PRODUCT).yml $(CONF_DIR)/$(PRODUCT).yml
|
||||||
|
install -Dm644 $(DEB_DIR)/default $(DEFAULT_DIR)/$(PRODUCT)
|
||||||
|
install -Dm644 $(DEB_DIR)/service $(SYSD_DIR)/$(PRODUCT).service
|
||||||
|
dpkg-gencontrol -P$(DEST_DIR)
|
||||||
|
cd $(DEST_DIR) && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums
|
||||||
|
dpkg-deb -b $(DEST_DIR) ../
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(checkdir)
|
||||||
|
-rm -rf debian/$(PRODUCT)
|
||||||
|
-rm -f debian/files
|
||||||
|
-rm -f debian/substvars
|
||||||
|
|
||||||
|
.PHONY: binary clean
|
||||||
19
debian/service
vendored
Normal file
19
debian/service
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# -*- mode: conf -*-
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Prometheus Alertmanager.
|
||||||
|
Documentation=https://github.com/prometheus/alertmanager
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
EnvironmentFile=-/etc/default/alertmanager
|
||||||
|
User=prometheus
|
||||||
|
ExecStart=/usr/bin/alertmanager \
|
||||||
|
--config.file=/etc/prometheus/alertmanager.yml \
|
||||||
|
--storage.path=/var/lib/prometheus/alertmanager \
|
||||||
|
$ALERTMANAGER_OPTS
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user