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:
2
roles/collectd/files/collectd-typesdb.conf
Normal file
2
roles/collectd/files/collectd-typesdb.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
TypesDB "/usr/share/collectd/types.db"
|
||||
TypesDB "/etc/collectd/types.db.local"
|
||||
1
roles/collectd/files/types.db.local
Normal file
1
roles/collectd/files/types.db.local
Normal file
@@ -0,0 +1 @@
|
||||
version value:GAUGE:0:1
|
||||
Reference in New Issue
Block a user