X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=python.d%2Fapache.chart.py;h=2e4d16dd379425d5d9ea32f0197a4b70565817cb;hb=719ba47914bad933bf4503d3340b9543d5e631a6;hp=f6262a540b633379bbf8d7bd7f2366bcc3601306;hpb=4cb3c1e1e3fc6d7ead97b396a668d57165aa5f0c;p=netdata.git diff --git a/python.d/apache.chart.py b/python.d/apache.chart.py index f6262a54..2e4d16dd 100644 --- a/python.d/apache.chart.py +++ b/python.d/apache.chart.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Description: apache netdata python.d plugin +# Description: apache netdata python.d module # Author: Pawel Krupa (paulfantom) from base import UrlService @@ -7,7 +7,7 @@ from base import UrlService # default module values (can be overridden per job in `config`) # update_every = 2 priority = 60000 -retries = 5 +retries = 60 # default job configuration (overridden by python.d.plugin) # config = {'local': { @@ -86,13 +86,13 @@ class Service(UrlService): "ConnsAsyncClosing": 'closing', "ConnsAsyncWriting": 'writing'} - def _formatted_data(self): + def _get_data(self): """ Format data received from http request :return: dict """ try: - raw = self._get_data().split("\n") + raw = self._get_raw_data().split("\n") except AttributeError: return None data = {}