[global_tags] # dc = "us-east-1" # will tag all metrics with dc=us-east-1 # rack = "1a" ## Environment variables can be used as tags, and throughout the config file # user = "$USER" # Configuration for telegraf agent [agent] interval = "30s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "10s" flush_jitter = "0s" precision = "" debug = false quiet = false hostname = "zero-rtr-a" omit_hostname = false ### OUTPUT # Configuration for influxdb server to send metrics to [[outputs.influxdb]] urls = ["http://hive.hrig.tech:8086"] database = "thueyts_metrics" ## Retention policy to write to. Empty string writes to the default rp. retention_policy = "" ## Write consistency (clusters only), can be: "any", "one", "quorum", "all" write_consistency = "any" ## Write timeout (for the InfluxDB client), formatted as a string. ## If not provided, will default to 5s. 0s means no timeout (not recommended). timeout = "5s" ## Set the user agent for HTTP POSTs (can be useful for log differentiation) # user_agent = "telegraf" ## Set UDP payload size, defaults to InfluxDB UDP Client default (512 bytes) # udp_payload = 512 username = "thueyts_exporter" password = "kLmSomIIs828IJ9#%9" [[inputs.cpu]] ## Whether to report per-cpu stats or not percpu = true ## Whether to report total system cpu stats or not totalcpu = true ## If true, collect raw CPU time metrics. collect_cpu_time = false report_active = false fielddrop = ["time_guest","time_guest_nice","time_irq","time_nice","time_softirq","time_steal","usage_guest","usage_guest_nice","usage_irq","usage_nice","usage_softirq","usage_steal"] [[inputs.disk]] [[inputs.diskio]] [[inputs.io]] [[inputs.kernel]] [[inputs.mem]] [[inputs.processes]] [[inputs.swap]] [[inputs.system]] [[inputs.filestat]] [[inputs.http]] [[inputs.internal]] [[inputs.interrupts]] [[inputs.ipvs]] [[inputs.kernel_vmstat]] [[inputs.linux_sysctl_fs]] [[inputs.multifile]] [[inputs.net]] [[inputs.net_response]] [[inputs.netstat]] [[inputs.nstat]] [[inputs.synproxy]] [[inputs.procstat]] pattern = "httpd|java|python|telegraf|tomcat8|htop|apache2|www-data" user = "daemon|root|telegraf|www-data|tomcat8" [[inputs.sysstat]] sadc_path = "/usr/lib64/sa/sadc" # required [inputs.sysstat.options] -C = "cpu" -B = "paging" -b = "io" -d = "disk" # requires DISK activity -H = "hugepages" "-I ALL" = "interrupts" # requires INT activity "-n ALL" = "network" "-P ALL" = "per_cpu" -q = "queue" #-R = "mem" "-r ALL" = "mem_util" -S = "swap_util" -u = "cpu_util" -v = "inode" -W = "swap" -w = "task" [[inputs.systemd_units]] [[inputs.zfs]]