r/collectd: Add custom types database

All values sent to *collectd* must have an associated type.  The type
defines the acceptable range of values.  Types are defined in a simple
text file database.  *collectd* loads all of the databases specified by
`TypesDB` directives in its configuration file.  When configuring a
custom types database, the default database needs to be specified
explicitly; it will not be loaded automatically if there are any
`TypesDB` directives in the configuration.
This commit is contained in:
2021-10-30 16:47:29 -05:00
parent 32d1e0ff6f
commit 12c3fb950b
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
TypesDB "/usr/share/collectd/types.db"
TypesDB "/etc/collectd/types.db.local"

View File

@@ -0,0 +1 @@
version value:GAUGE:0:1