service script health checks not working
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
I'm into day 5 of messing with Consul and it's buggy as hell. I can't get so-called service script health checks working.
This is what I'm doing:
```
# cat /tmp/test.json
{"service":
{"name": "web",
"port": 80,
"check": {
"args": ["curl", "localhost"],
"interval": "10s"
}
}
}
# consul services register /tmp/test.json
Registered service: web
# http://127.0.0.1:8500/v1/health/service/web?pretty
.... returning only "CheckID": "serfHealth", type check, but NO service health check.
# curl http://127.0.0.1:8500/v1/agent/checks?pretty
{}
# grep enable_scri /consul/config/client.hcl
enable_script_checks = true
```
Why on earth it would just silently skip health check? What kind of torturing software is this? Setting log level to trace doesn't show anything extraordinary.
Contributor guide
Assessment
This issue has not been assessed yet.