Julian Rother
|
b99318f2b4
|
Fix spurious DiscFilling alerts after reboots due to changing device names
|
2024-12-08 21:45:45 +01:00 |
|
Julian Rother
|
1daf64a848
|
promtail: Support metrics scraping
|
2024-12-08 06:57:00 +01:00 |
|
Julian Rother
|
5045dc7fde
|
promtail: Add more systemd-journal fields as structured metadata
|
2024-11-24 05:12:55 +01:00 |
|
Julian Rother
|
59a76a526b
|
promtail: Remove default scrape jobs varlogs, nginx and postfix-bounces
|
2024-11-23 02:09:14 +01:00 |
|
Julian Rother
|
ba32c8ee83
|
promtail: Move scrape_configs into prometheus_agent.agents.promtail.scrape_jobs dict
|
2024-11-23 01:42:18 +01:00 |
|
Julian Rother
|
7d0415ecf6
|
promtail: Move hard-coded config to prometheus_agent.agents.promtail.config inventory key
|
2024-11-23 01:09:47 +01:00 |
|
Julian Rother
|
71c00d0cce
|
promtail: Add level metadata field for systemd-journal
|
2024-11-19 04:06:33 +01:00 |
|
Julian Rother
|
c236bb61a4
|
Use Grafana's upstream Debian packages for promtail
Migration playbook:
- name: Cleanup old promtail install
hosts: all
tasks:
- name: Stop and disable old service
when: prometheus_agent.agents.promtail.enable
service:
name: grafana-promtail
state: stopped
enabled: false
- name: Migrate state dir
when: prometheus_agent.agents.promtail.enable
copy:
src: /var/lib/grafana-promtail/
dest: /var/lib/promtail/
remote_src: yes
- name: Uninstall old package
when: prometheus_agent.agents.promtail.enable
apt:
name: grafana-promtail
state: absent
purge: true # Removes user, group and /var/lib/grafana-promtail
- name: create promtail group
when: prometheus_agent.agents.promtail.enable
group:
name: promtail
system: true
- name: create promtail user
when: prometheus_agent.agents.promtail.enable
user:
name: promtail
system: true
group: promtail
home: /var/lib/promtail
- name: Fix state dir owner and group
when: prometheus_agent.agents.promtail.enable
file:
name: /var/lib/promtail/
state: directory
recurse: true
owner: promtail
group: promtail
|
2024-11-02 01:58:16 +01:00 |
|
nd
|
dfa8092538
|
Merge branch 'master' of https://git.cccv.de/infra/ansible/roles/prometheus-agent
|
2024-05-20 13:35:10 +02:00 |
|
Julian Rother
|
a137da884a
|
Fix instance label of AptUpgradesPending alert
|
2024-04-25 14:34:42 +02:00 |
|
Julian Rother
|
4ffb1d7f2e
|
Add AptUpgradesPending alert
|
2024-04-18 01:43:19 +02:00 |
|
nd
|
17f40221b6
|
add basic auth support
|
2024-02-26 22:25:30 +01:00 |
|
psy
|
17c1bb0ffb
|
add postfix bounces.log
|
2022-12-29 12:31:23 +01:00 |
|
nd
|
d8c993024f
|
Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/prometheus-agent
|
2022-12-17 22:16:26 +01:00 |
|
nd
|
b0a17dc9ff
|
do not monitor diskspace for chroot bind mounts
|
2022-12-17 22:11:25 +01:00 |
|
nd
|
51346d08b7
|
add snmp exporter from fabbs
|
2022-06-29 21:09:34 +02:00 |
|
nd
|
3391c2b8a2
|
updated stunnel package name
|
2022-06-19 12:52:59 +02:00 |
|
psy
|
c9031f4573
|
fix typo
|
2022-03-26 16:23:16 +01:00 |
|
Julian Rother
|
0577ca8a39
|
Lowered uptime alert time to 30 days
|
2021-12-04 20:06:58 +01:00 |
|
nd
|
dd0b49cd23
|
fix uptime alert
|
2021-12-04 15:29:36 +01:00 |
|
nd
|
57e6238d72
|
add uptime alert
|
2021-12-04 15:08:20 +01:00 |
|
nd
|
3e3f45958c
|
Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/prometheus-agent
|
2021-12-04 03:36:30 +01:00 |
|
nd
|
d9ad8c7ee7
|
lower stunnel log level
|
2021-12-02 22:53:23 +01:00 |
|
nd
|
248ed5fd02
|
add promtail support
|
2021-11-29 21:23:44 +01:00 |
|
nd
|
56aacd8620
|
only run our own cert
|
2021-11-07 14:29:46 +01:00 |
|
nd
|
1b9547ecd8
|
Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/prometheus-agent
|
2021-09-26 01:21:48 +02:00 |
|
nd
|
c769595755
|
add support for params and different metrics paths for proxied exporter
|
2021-09-25 23:54:33 +02:00 |
|
nd
|
5b50d7e913
|
added cap net admin handling
|
2021-08-17 15:34:16 +01:00 |
|
nd
|
eceb918fd1
|
fix debian stretch support
|
2021-08-14 16:21:47 +01:00 |
|
nd
|
dcb85ef10a
|
no longer run as root, support debian stretch
|
2021-08-01 21:33:33 +02:00 |
|
nd
|
a9d49ae648
|
fix linter
|
2021-07-17 01:49:25 +02:00 |
|
nd
|
7282e86483
|
saner cpu load alerts
|
2021-07-05 21:06:08 +02:00 |
|
nd
|
ca4717ef08
|
Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/prometheus-agent
|
2021-05-21 13:29:04 +02:00 |
|
nd
|
dad14f3637
|
fix cpu usage alert labels
|
2021-05-21 13:25:29 +02:00 |
|
Julian Rother
|
22329ccb47
|
introduced node-exporter-textfile group
|
2021-05-01 16:33:24 +02:00 |
|
nd
|
8442746ec1
|
bind on ipv6 as well
|
2021-03-12 22:21:13 +01:00 |
|
nd
|
a8a82ea08b
|
add support for custom scraper times for procxied exporters
|
2020-12-24 15:56:46 +01:00 |
|
nd
|
72997385cd
|
add support to add labels to proxied metrics
|
2020-12-24 00:58:03 +01:00 |
|
nd
|
876e9cd419
|
changed alert rules
|
2020-12-22 21:00:32 +01:00 |
|
nd
|
cf89224111
|
fixed some alerts
|
2020-11-20 22:56:28 +01:00 |
|
nd
|
3514624106
|
ensure stunnel is running and enabled
|
2020-10-19 21:32:03 +02:00 |
|
nd
|
fae35db007
|
add ansible_fqdn as certificate san
|
2020-10-19 17:51:29 +02:00 |
|
nd
|
90139100f4
|
fix new ansible default file mode
|
2020-08-22 19:42:08 +02:00 |
|
nd
|
2fe4e2435d
|
add alert for systemd services
|
2020-08-06 09:21:09 +02:00 |
|
nd
|
f3a7dc4667
|
increased avg span for disc filling alarms
|
2020-06-13 17:32:18 +02:00 |
|
nd
|
9e38ba7d64
|
fixed jobs without labels
|
2020-06-07 01:14:58 +02:00 |
|
nd
|
d352baab14
|
fixed nodes without blackbox exporter
|
2020-06-07 00:36:35 +02:00 |
|
nd
|
3e2b2dd451
|
fixed labels and made ipv4 the default
|
2020-06-07 00:08:42 +02:00 |
|
nd
|
f772558e31
|
added support for the blackbox exporter
|
2020-06-06 23:41:06 +02:00 |
|
nd
|
7997ebfb59
|
added default alerts for nodes
|
2020-06-02 17:34:03 +02:00 |
|