-
Notifications
You must be signed in to change notification settings - Fork 384
collectors UserScriptsCollector
Rob Smith edited this page Dec 2, 2012
·
18 revisions
Runs third party scripts and collects their output.
Scripts need to be +x and should output metrics in the form of
metric.path.a 1
metric.path.b 2
metric.path.c 3
They are not passed any arguments and if they return an error code, no metrics are collected.
Options - Generic Options
Setting | Default | Description | Type |
---|---|---|---|
byte_unit | byte | Default numeric output(s) | str |
enabled | False | Enable collecting these metrics | bool |
measure_collector_time | False | Collect the collector run time in ms | bool |
scripts_path | /etc/diamond/user_scripts/ | Path to find the scripts to run | str |
servers.hostname.example.1 42
servers.hostname.example.2 24
servers.hostname.example.3 12.1212