Commit graph

178 commits

Author SHA1 Message Date
github-actions[bot]
c0087584dd
patch: 🎉 automated upstream release update (#214)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-09-30 16:25:13 +02:00
github-actions[bot]
032edc35e2
patch: 🎉 automated upstream release update (#215)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-09-30 16:24:44 +02:00
github-actions[bot]
5663c82bf0
patch: 🎉 automated upstream release update (#219)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-09-30 16:24:05 +02:00
Ben Kochie
37d7956dc3
feat(prometheus): Add shutdown timeout variable (#220)
In order to allow Prometheus more time to shutdown, especially if
`memory-snapshot-on-shutdown` is used, override the default 90s systemd
shutdown timeout. Otherwise systemd will SIGKILL Prometheus.
* Use 10min shutdown timeout by default.

Signed-off-by: SuperQ <superq@gmail.com>
2023-09-27 16:30:36 +02:00
Håvard Pettersson
5405ae535a Add logging configuration to systemd_exporter
Allow configuring the log verbosity of systemd_exporter via
systemd_exporter_log_level, corresponding to the --log-level flag.

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-29 15:14:13 +00:00
gardar
04519e178c
Merge pull request #211 from prometheus-community/autoupdate/snmp_exporter/0.24.0
patch: New prometheus/snmp_exporter upstream release!
2023-08-29 15:00:37 +00:00
prombot
7f25afb550 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-29 14:27:40 +00:00
gardar
617447897c
fix: missing newline at end of file
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-29 14:25:39 +00:00
gardar
4786ce4ac5
Merge branch 'main' into haavard/systemd-exporter-tls
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-29 14:01:16 +00:00
gardar
e3b15634b9
Merge pull request #208 from haavard/haavard/collector-flags
fix(systemd_exporter): Fix collector flags for older versions
2023-08-29 13:58:59 +00:00
Håvard Pettersson
b4ed214645 Remove tests failing on centos-7
The following options require systemd >= 235 and fail on CentOS 7 tests:

 - systemd_exporter_enable_restart_count
 - systemd_exporter_enable_ip_accounting

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 11:32:31 +00:00
SuperQ
8b04f52bd3
skip_changelog: Fixup install task names
Update names to be consistent, reflect task block.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-26 10:38:57 +02:00
Håvard Pettersson
c6294f348c Use correct --collector flags for older versions
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 08:36:06 +00:00
Håvard Pettersson
0485844c3e Add collector variables to test
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 08:36:06 +00:00
Håvard Pettersson
9c415697aa Add a version check for TLS config
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 08:29:56 +00:00
Thomas Venieris
8c52c4df29
fix: blackbox_exporter ansible-lint risky-octal (#174)
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2023-08-26 06:19:15 +02:00
Ben Kochie
0907b14def
fix: Make binary installs consistent (#204)
Update the blackbox_exporter and snmp_exporter installs to be consistent
with other exporter package installs.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-25 16:35:24 +02:00
Håvard Pettersson
e22e04f6d4 Bump systemd_exporter version in tests.
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-25 05:35:50 +00:00
Håvard Pettersson
cd913f0083 Fix wrong variable in template
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-25 05:35:25 +00:00
gardar
ec829555fa
Merge pull request #198 from rooty0/feat/agent-mode-support
feature: Agent mode support
2023-08-24 21:57:43 +00:00
Stan Rudenko
f637d5f7c9
removing prometheus_rules_enable, minor fixes
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-24 10:24:56 -07:00
prombot
03b4e675fd patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-24 14:28:49 +00:00
Stan Rudenko
8f6880ceba
test rebase and fixes
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:35:26 -07:00
Stan Rudenko
f657060bef
PEP8 fix
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:40 -07:00
Stan Rudenko
2fde4c9d57
template fix
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Stan Rudenko
83eee4cd08
molecule support
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Stan Rudenko
50a4c1da4c
flags are different for agent mode
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Stan Rudenko
119bc9ad3d
agent mode support
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Håvard Pettersson
3f6da9781b Add TLS configuration to systemd_exporter role
This adds the systemd_exporter_tls_server_config variable, equivalent to
the one in node_exporter and others, enabling the use of TLS for the
systemd exporter.

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-22 18:27:12 +00:00
gardar
07d39f8a13
Merge branch 'main' into fedora-38
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 13:42:43 +00:00
Ben Kochie
d7ad271617
fix(node_exporter): Fix ProtectHome for textfiles (#184)
Set the node_exporter `ProtectHome=read-only` when the textfile dir is
in `/home`.

Fixes: https://github.com/prometheus-community/ansible/issues/183

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-22 14:59:57 +02:00
gardar
7c77244527
Merge pull request #200 from gardar/eol-fedora-36
removed: Drop fedora 36 support as it is EOL
2023-08-22 09:07:58 +00:00
gardar
d6f370be8d
minor: support fedora 38
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 02:17:03 +00:00
gardar
422ef282fa
removed: Drop fedora 36 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 02:06:01 +00:00
gardar
49860ae607
removed: Drop ubuntu 18.04 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 02:02:26 +00:00
gardar
3d817bd567
fix: use snmp_exporter >v0.23.0 config format
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-21 16:32:06 +00:00
gardar
26cba01251
fix: use full path for template location
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-21 15:51:00 +00:00
gardar
82d0c730ed
fix: correctly set no_log bool instead of string
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-21 15:17:27 +00:00
gardar
4c9d044a7d
fix: molecule specific escaping
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:27:51 +00:00
gardar
65d08f8765
fix: lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:11:46 +00:00
gardar
d9e0c77bfb
skip_changelog: merge all role molecule converge into one
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:03:40 +00:00
gardar
083ff4ef36
skip_changelog: make testinfra tests capture logs on service failure
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 15:47:32 +00:00
gardar
8152340da8
Merge pull request #154 from francisco-core/patch-1
docs: Fix node_exporter 404 TLS auth links
2023-08-17 14:35:18 +00:00
prombot
2d80c63910 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-17 14:28:12 +00:00
Berny Linville
27f8000245
fix: add routes berfore match_re (#194)
When i configuring alertmanager vars, the absence of 'routes' in front of '- match_re' has caused confusion and errors.

Signed-off-by: Berny Linville <bernylinville@devopsthink.org>
2023-08-17 12:15:02 +02:00
SuperQ
a9d4f3aadb
Fix(smokeping_prober): Update arguments specs
Add missing arguments spec entries.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-16 18:20:55 +02:00
Ben Kochie
100b6e2070
fix: Add test for argument_specs matching (#177)
* fix: Add test for argument_specs matching

Compare contents of `meta/arguments_spec.yml` against `defaults/main.yml` on
each role to make sure keys match.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup arguments_spec linting issues.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-16 17:49:02 +02:00
gardar
ebeb5097ce
Merge pull request #128 from prometheus-community/superq/smokeping_prober
feat: Add role smokeping_prober
2023-08-16 15:05:35 +00:00
gardar
e3e99f7373
Merge pull request #127 from prometheus-community/superq/pushgateway
feat: Add pushgateway role
2023-08-16 14:59:48 +00:00
prombot
e36c398beb patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-16 14:28:20 +00:00