r/collectd-version: Add OS version plugin

The `collectd-version` script uses the *collectd* UNIX socket to send
custom values to *collectd* to track the OS version.  Since these values
obviously cannot change while the system is running, the values are
specified with a very long interval.  This avoids having to continuously
insert the values, either with a long-running process or by repeatedly
running a script.  The values only need to be inserted once when
*collectd* starts.
This commit is contained in:
2021-10-30 16:50:37 -05:00
parent 12c3fb950b
commit a178dc4af9
5 changed files with 101 additions and 0 deletions

View File

@@ -3,6 +3,9 @@
- role: collectd
tags:
- collectd
- role: collectd-version
tags:
- collectd-version
- hosts: collectd-prometheus
roles: