]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #590 from ktsaou/master
authorCosta Tsaousis <costa@tsaousis.gr>
Tue, 21 Jun 2016 09:28:33 +0000 (12:28 +0300)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2016 09:28:33 +0000 (12:28 +0300)
python plugin fixes for better tracing debugging

conf.d/apps_groups.conf
plugins.d/python.d.plugin
python.d/example.chart.py
python.d/mysql.chart.py
python.d/pip_install.sh
python.d/python_modules/base.py
web/demosites.html

index 00fbd60b709b0c5c050cc1265558fc12c3885c98..06b6fbe37cc87ba9fe8c17c8c48e2f0dfef10093 100644 (file)
@@ -99,3 +99,4 @@ php: php*
 zimbra: zmstat* zmmailboxdmgr
 java: java
 bacula: bacula*
+amavis: amavis*
index b8f52c3f501ed45d9279d8d66a9837e61f3fbc7c..db5afccb62eb41358f8a912318ee61141938f1be 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/env python
+# -*- coding: utf-8 -*-
 
 # Description: netdata python modules supervisor
 # Author: Pawel Krupa (paulfantom)
index 7a0e2c3a0e387a1b621e71a5295216740e0c2b7c..b36aa7b3fc58f9d8572dc1d988af5790e8028049 100644 (file)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 # Description: example netdata python.d plugin
 # Author: Pawel Krupa (paulfantom)
 
index c68cf4c16a6c781eb1de49fe7031c48c4b516053..22aa8f5eacc8e13a833809fe03fbcb4bc0452590 100644 (file)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 # Description: MySQL netdata python.d plugin
 # Author: Pawel Krupa (paulfantom)
 
index 2607861f16211d221c862ec1951bfbb6c3e1f64f..84ebb1d5c002efe823ac275642475e2eb4fffcb6 100644 (file)
@@ -2,6 +2,6 @@
 
 PIP=`which pip`
 
-$PIP install --target="python_modules" yaml
+${PIP} install --target="python_modules" yaml
 
-$PIP install --target="python_modules" MySQL-python || echo "You need to install libmysqlclient-dev and python-dev"
+${PIP} install --target="python_modules" MySQL-python || echo "You need to install libmysqlclient-dev and python-dev"
index a154d53381e54226b9cad75067a3db9fc639a1b0..573700061e0a863acdb8ac1cd306927dabcacef8 100644 (file)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 # Description: base for netdata python.d plugins
 # Author: Pawel Krupa (paulfantom)
 
index a475941ee087bc12be1076f0b8feddaf5ad746e0..2be0ec3722f39ae0218eb3dffa3ba1df9941591c 100644 (file)
@@ -272,7 +272,7 @@ body {
        </div>
 
        <div class="mytitle">
-               our <code>ngnix</code> performance
+               our <code>nginx</code> performance
        </div>
        <div class="mycontent">
                (we proxy netdata through nginx, on the demo sites)