![]() |
3 лет назад | |
---|---|---|
.. | ||
Makefile.inc | 6 лет назад | |
README.md | 3 лет назад | |
httpcheck.chart.py | 5 лет назад | |
httpcheck.conf | 3 лет назад |
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