![]() |
3 years ago | |
---|---|---|
.. | ||
Makefile.inc | 6 years ago | |
README.md | 3 years ago | |
httpcheck.chart.py | 5 years ago | |
httpcheck.conf | 3 years ago |
Monitors remote http server for availability and response time.
Following charts are drawn per job:
Response time ms
Status boolean
Edit the python.d/httpcheck.conf
configuration file using edit-config
from the Netdata config
directory, which is typically at /etc/netdata
.
cd /etc/netdata # Replace this path with your Netdata config directory, if different
sudo ./edit-config python.d/httpcheck.conf
Sample configuration and their default values.
server:
url: 'http://host:port/path' # required
status_accepted: # optional
- 200
timeout: 1 # optional, supports decimals (e.g. 0.2)
update_every: 3 # optional
regex: 'REGULAR_EXPRESSION' # optional, see https://docs.python.org/3/howto/regex.html
redirect: yes # optional