[global_tags][agent] interval = "10s" round_interval = false metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_jitter = "0s" precision = "" debug = false quiet = true logfile = "/var/log/telegraf.log" hostname = "opnsense" omit_hostname = false[[outputs.influxdb]] urls = ["http://192.168.1.205:8086"] database = "telegraf" retention_policy = "" write_consistency = "any" timeout = "5s" username = "influx" password = "XXXXXXXXXX"[[inputs.cpu]] percpu = true totalcpu = true collect_cpu_time = false[[inputs.disk]] mount_points = ["/"][[inputs.diskio]][[inputs.mem]][[inputs.processes]][[inputs.system]][[inputs.net]]
2018-09-28T19:20:23Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:20:33Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:20:43Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:20:53Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:21:03Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:21:13Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:21:23Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:21:33Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:21:43Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:21:53Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directory2018-09-28T19:22:03Z E! Error in plugin [inputs.system]: open /var/run/utmp: no such file or directoryE! Unable to append to /var/log/telegraf.log (open /var/log/telegraf.log: permission denied), using stderr
E! Unable to append to /var/log/telegraf.log (open /var/log/telegraf.log: permission denied), using stderrE! Unable to append to /var/log/telegraf.log (open /var/log/telegraf.log: permission denied), using stderr
(...)name="telegraf"rcvar=telegraf_enableload_rc_config $name: ${telegraf_enable:="NO"}: ${telegraf_user:="telegraf"}: ${telegraf_group:="telegraf"}: ${telegraf_flags:="-quiet"}: ${telegraf_conf:="/usr/local/etc/${name}.conf"}: ${telegraf_options:="${telegraf_flags} -config=${telegraf_conf}"}logfile="/var/log/telegraf/${name}.log"pidfile="/var/run/${name}.pid"command=/usr/sbin/daemonstart_precmd="telegraf_prestart"start_cmd="telegraf_start"stop_cmd="telegraf_stop"(...)
(...)[agent] interval = "10s" round_interval = false metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_jitter = "0s" precision = "" debug = false quiet = true logfile = "" <--- leave empty hostname = "opnsense" omit_hostname = false(...)