| # # Read metrics from zpool_influxdb |
| [[inputs.execd]] |
| # ## default installation location for zpool_influxdb command |
| command = ["/usr/local/libexec/zfs/zpool_influxdb", "--execd"] |
| |
| ## Define how the process is signaled on each collection interval. |
| ## Valid values are: |
| ## "none" : Do not signal anything. (Recommended for service inputs) |
| ## The process must output metrics by itself. |
| ## "STDIN" : Send a newline on STDIN. (Recommended for gather inputs) |
| ## "SIGHUP" : Send a HUP signal. Not available on Windows. (not recommended) |
| ## "SIGUSR1" : Send a USR1 signal. Not available on Windows. |
| ## "SIGUSR2" : Send a USR2 signal. Not available on Windows. |
| signal = "STDIN" |
| |
| ## Delay before the process is restarted after an unexpected termination |
| restart_delay = "10s" |
| |
| ## Data format to consume. |
| ## Each data format has its own unique set of configuration options, read |
| ## more about them here: |
| ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md |
| data_format = "influx" |