add role adc_exporter_ping

add role switch_rule
This commit is contained in:
fumingwei
2020-12-15 14:54:35 +06:00
parent 424e66ecdb
commit 5b2a048fbb
9 changed files with 394 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Ping Exporter
After=network.target
[Service]
Type=simple
ExecStart=/opt/adc-exporter/ping_exporter {{ ping_test.target|join(" ")}} --ping.size=512 --ping.interval=0.5s
Restart=always
[Install]
WantedBy=multi-user.target