diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2020-01-24 12:08:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 12:08:56 +0300 |
commit | f1d133190bda44504a7f55834ec626ab4e3d32ee (patch) | |
tree | 0c2014011545a61b37066c8dafd1ad43d4e7cc32 /collectors/python.d.plugin/megacli | |
parent | 6a3ad766bd48b7ee89fb14772a56b41d518cbd63 (diff) |
collectors/python.d: format modules code (#7832)
* collectors/python.d/adaptec_raid: format code
* collectors/python.d/am2320: format code
* collectors/python.d/apache: format code
* collectors/python.d/beanstalk: format code
* collectors/python.d/bind_rndc: format code
* collectors/python.d/boinc: format code
* collectors/python.d/ceph: format code
* collectors/python.d/couchdb: format code
* collectors/python.d/dns_query_time: format code
* collectors/python.d/dnsdist: format code
* collectors/python.d/dockerd: format code
* collectors/python.d/dovecot: format code
* collectors/python.d/energid: format code
* collectors/python.d/example: format code
* collectors/python.d/exim: format code
* collectors/python.d/fail2ban: format code
* collectors/python.d/freeradius: format code
* collectors/python.d/gearman: format code
* collectors/python.d/go_expvar: format code
* collectors/python.d/haproxy: format code
* collectors/python.d/hddtemp: format code
* collectors/python.d/hpssa: format code
* collectors/python.d/httpcheck: format code
* collectors/python.d/icecast: format code
* collectors/python.d/ipfs: format code
* collectors/python.d/isc_dhcpd: format code
* collectors/python.d/litespeed: format code
* collectors/python.d/megacli: format code
* collectors/python.d/memcached: format code
* collectors/python.d/mongodb: format code
* collectors/python.d/mysql: format code
* collectors/python.d/nginx: format code
* collectors/python.d/nginx_plus: format code
* collectors/python.d/nsd: format code
* collectors/python.d/ntpd: format code
* collectors/python.d/openldap: format code
* collectors/python.d/oracledb: format code
* collectors/python.d/ovpn_status_log: format code
* collectors/python.d/phpfpm: format code
* collectors/python.d/portcheck: format code
* collectors/python.d/powerdns: format code
* collectors/python.d/proxysql: format code
* collectors/python.d/puppet: format code
* collectors/python.d/redis: format code
* collectors/python.d/rethinkdbs: format code
* collectors/python.d/retroshare: format code
* collectors/python.d/riakkv: format code
* collectors/python.d/samba: format code
* collectors/python.d/sensors: format code
* collectors/python.d/smartd_log: format code
* collectors/python.d/spigotmc: format code
* collectors/python.d/springboot: format code
* collectors/python.d/squid: format code
* collectors/python.d/tomcat: format code
* collectors/python.d/tor: format code
* collectors/python.d/traefik: format code
* collectors/python.d/unbound: format code
* collectors/python.d/uwsgi: format code
* collectors/python.d/varnish: format code
* collectors/python.d/w1sensor: format code
* collectors/python.d/weblog: format code
Diffstat (limited to 'collectors/python.d.plugin/megacli')
-rw-r--r-- | collectors/python.d.plugin/megacli/megacli.chart.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/collectors/python.d.plugin/megacli/megacli.chart.py b/collectors/python.d.plugin/megacli/megacli.chart.py index 4872eab808..ef35ff63f4 100644 --- a/collectors/python.d.plugin/megacli/megacli.chart.py +++ b/collectors/python.d.plugin/megacli/megacli.chart.py @@ -9,7 +9,6 @@ import re from bases.FrameworkServices.ExecutableService import ExecutableService from bases.collection import find_binary - disabled_by_default = True update_every = 5 @@ -27,7 +26,7 @@ def adapter_charts(ads): 'adapter_degraded': { 'options': [None, 'Adapter State', 'is degraded', 'adapter', 'megacli.adapter_degraded', 'line'], 'lines': dims(ads) - }, + }, } return order, charts @@ -111,7 +110,7 @@ def find_adapters(d): def find_pds(d): - keys = ('Slot Number', 'Media Error Count', 'Predictive Failure Count') + keys = ('Slot Number', 'Media Error Count', 'Predictive Failure Count') d = ' '.join(v.strip() for v in d if v.startswith(keys)) return [PD(*v) for v in RE_VD.findall(d)] |