From a8220ab2d293bb7f4b014b79d16b2fb05090fa93 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Feb 2021 12:45:55 +0100 Subject: Adding upstream version 1.29.0. Signed-off-by: Daniel Baumann --- collectors/python.d.plugin/apache/README.md | 24 ++++++++++++++++++----- collectors/python.d.plugin/apache/apache.chart.py | 3 +-- 2 files changed, 20 insertions(+), 7 deletions(-) (limited to 'collectors/python.d.plugin/apache') diff --git a/collectors/python.d.plugin/apache/README.md b/collectors/python.d.plugin/apache/README.md index 8f0ec0c1c..d27525095 100644 --- a/collectors/python.d.plugin/apache/README.md +++ b/collectors/python.d.plugin/apache/README.md @@ -1,8 +1,14 @@ -# apache + -This module will monitor one or more Apache servers depending on configuration. +# Apache monitoring with Netdata -**Requirements:** +Monitors one or more Apache servers depending on configuration. + +## Requirements - apache with enabled `mod_status` @@ -43,11 +49,19 @@ It produces the following charts: - size_req -## configuration +## Configuration + +Edit the `python.d/apache.conf` configuration file using `edit-config` from the Netdata [config +directory](/docs/configure/nodes.md), which is typically at `/etc/netdata`. + +```bash +cd /etc/netdata # Replace this path with your Netdata config directory, if different +sudo ./edit-config python.d/apache.conf +``` Needs only `url` to server's `server-status?auto` -Here is an example for 2 servers: +Example for two servers: ```yaml update_every : 10 diff --git a/collectors/python.d.plugin/apache/apache.chart.py b/collectors/python.d.plugin/apache/apache.chart.py index 655616d07..ceac9ecd5 100644 --- a/collectors/python.d.plugin/apache/apache.chart.py +++ b/collectors/python.d.plugin/apache/apache.chart.py @@ -5,7 +5,6 @@ from bases.FrameworkServices.UrlService import UrlService - ORDER = [ 'requests', 'connections', @@ -38,7 +37,7 @@ CHARTS = { ]}, 'bytespersec': { 'options': [None, 'Lifetime Avg. Bandwidth/s', 'kilobits/s', 'statistics', - 'apache.bytesperreq', 'area'], + 'apache.bytespersec', 'area'], 'lines': [ ['size_sec', None, 'absolute', 8, 1000 * 100000] ]}, -- cgit v1.2.3