You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
3.2 KiB
Plaintext
140 lines
3.2 KiB
Plaintext
[global_tags]
|
|
|
|
[agent]
|
|
interval = "10s"
|
|
round_interval = true
|
|
metric_batch_size = 1000
|
|
metric_buffer_limit = 10000
|
|
collection_jitter = "0s"
|
|
flush_interval = "10s"
|
|
flush_jitter = "0s"
|
|
precision = "0s"
|
|
|
|
[[outputs.influxdb_v2]]
|
|
urls = ["http://influx.astropotamus.com"]
|
|
token = "EJ4IJrjWsyCpmmq8xvX4M4gyDRURCwJ74tGl0KhxOCfQDU1h1m5yDIphK7dEoWVBsyZEmQS3xd3iRjQ37B5Hag=="
|
|
organization = "Astropotamus"
|
|
bucket = "AstropotaPOD"
|
|
|
|
[[inputs.cpu]]
|
|
percpu = true
|
|
totalcpu = true
|
|
collect_cpu_time = false
|
|
report_active = false
|
|
core_tags = false
|
|
|
|
[[inputs.mem]]
|
|
|
|
[[inputs.system]]
|
|
|
|
[[inputs.ping]]
|
|
urls = ["192.168.0.1","192.168.1.1"]
|
|
method="native"
|
|
|
|
[[inputs.http]]
|
|
urls = [
|
|
"http://localhost:32000/Driver/PPBAdvance/Report?DriverUniqueKey=832d0c8d-4774-4cee-a3c8-af876f6f281c"
|
|
]
|
|
name_override = "PPBA"
|
|
data_format = "json"
|
|
tagexclude = ["url", "host"]
|
|
json_query="data.message"
|
|
json_string_fields=["dewHubStatus_hub_?_current_isOverCurrent","powerHubStatus_state","powerVariablePortStatus_state"]
|
|
|
|
[[inputs.win_perf_counters]]
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "Processor"
|
|
Instances = ["*"]
|
|
Counters = [
|
|
"% Idle Time",
|
|
"% Interrupt Time",
|
|
"% Privileged Time",
|
|
"% User Time",
|
|
"% Processor Time",
|
|
"% DPC Time",
|
|
]
|
|
Measurement = "win_cpu"
|
|
IncludeTotal=true
|
|
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "LogicalDisk"
|
|
Instances = ["*"]
|
|
Counters = [
|
|
"% Idle Time",
|
|
"% Disk Time",
|
|
"% Disk Read Time",
|
|
"% Disk Write Time",
|
|
"Current Disk Queue Length",
|
|
"% Free Space",
|
|
"Free Megabytes",
|
|
]
|
|
Measurement = "win_disk"
|
|
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "PhysicalDisk"
|
|
Instances = ["*"]
|
|
Counters = [
|
|
"Disk Read Bytes/sec",
|
|
"Disk Write Bytes/sec",
|
|
"Current Disk Queue Length",
|
|
"Disk Reads/sec",
|
|
"Disk Writes/sec",
|
|
"% Disk Time",
|
|
"% Disk Read Time",
|
|
"% Disk Write Time",
|
|
]
|
|
Measurement = "win_diskio"
|
|
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "Network Interface"
|
|
Instances = ["*"]
|
|
Counters = [
|
|
"Bytes Received/sec",
|
|
"Bytes Sent/sec",
|
|
"Packets Received/sec",
|
|
"Packets Sent/sec",
|
|
"Packets Received Discarded",
|
|
"Packets Outbound Discarded",
|
|
"Packets Received Errors",
|
|
"Packets Outbound Errors",
|
|
]
|
|
Measurement = "win_net"
|
|
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "System"
|
|
Counters = [
|
|
"Context Switches/sec",
|
|
"System Calls/sec",
|
|
"Processor Queue Length",
|
|
"System Up Time",
|
|
]
|
|
Instances = ["------"]
|
|
Measurement = "win_system"
|
|
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "Memory"
|
|
Counters = [
|
|
"Available Bytes",
|
|
"Cache Faults/sec",
|
|
"Demand Zero Faults/sec",
|
|
"Page Faults/sec",
|
|
"Pages/sec",
|
|
"Transition Faults/sec",
|
|
"Pool Nonpaged Bytes",
|
|
"Pool Paged Bytes",
|
|
"Standby Cache Reserve Bytes",
|
|
"Standby Cache Normal Priority Bytes",
|
|
"Standby Cache Core Bytes",
|
|
|
|
]
|
|
Instances = ["------"]
|
|
Measurement = "win_mem"
|
|
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "Paging File"
|
|
Counters = [
|
|
"% Usage",
|
|
]
|
|
Instances = ["_Total"]
|
|
Measurement = "win_swap"
|