itamae/cookbooks/prometheus/files/etc/consul.d/service-snmp_exporter.json

13 lines
203 B
JSON

{
"service": {
"name": "snmp_exporter",
"port": 9116,
"check":{
"tcp": "127.0.0.1:9116",
"interval": "60s",
"timeout": "1s",
"success_before_passing": 3
}
}
}