added pingto-influxdb, retention and telegraf
This commit is contained in:
parent
36a7c41af2
commit
11e65ba52d
1 changed files with 2 additions and 0 deletions
2
posh.txt
2
posh.txt
|
|
@ -3735,6 +3735,7 @@ cd "C:\Program Files\InfluxData\telegraf\telegraf-1.27.1"
|
||||||
.\telegraf.exe -sample-config --input-filter cpu:mem:dns_query --output-filter influxdb > telegraf.conf # создать конфигурацию с выбарнными плагинами для сбора метрик
|
.\telegraf.exe -sample-config --input-filter cpu:mem:dns_query --output-filter influxdb > telegraf.conf # создать конфигурацию с выбарнными плагинами для сбора метрик
|
||||||
.\telegraf.exe --test # тест конфигурации
|
.\telegraf.exe --test # тест конфигурации
|
||||||
ii "C:\Program Files\InfluxData\telegraf\telegraf-1.27.1\telegraf.conf"
|
ii "C:\Program Files\InfluxData\telegraf\telegraf-1.27.1\telegraf.conf"
|
||||||
|
|
||||||
[[outputs.influxdb]]
|
[[outputs.influxdb]]
|
||||||
urls = ["http://192.168.3.104:8086"]
|
urls = ["http://192.168.3.104:8086"]
|
||||||
username = "username"
|
username = "username"
|
||||||
|
|
@ -3750,6 +3751,7 @@ ii "C:\Program Files\InfluxData\telegraf\telegraf-1.27.1\telegraf.conf"
|
||||||
record_type = "A"
|
record_type = "A"
|
||||||
port = 53
|
port = 53
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
|
|
||||||
Get-Service telegraf | Start-Service
|
Get-Service telegraf | Start-Service
|
||||||
|
|
||||||
USE telegraf
|
USE telegraf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue