Skip to content

Commit adb900d

Browse files
committed
Merge branch 'develop'
2 parents bcff182 + 278add2 commit adb900d

File tree

185 files changed

+49320
-4826
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+49320
-4826
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ python:
33
- "2.7"
44
- "3.3"
55
- "3.4"
6+
- "3.5"
67
- "pypy"
78
install:
89
- pip install -r requirements.txt
910
- pip install coveralls
10-
script:
11+
script:
1112
- python setup.py install
1213
- coverage run --source=glances unitest.py
1314
after_success:
14-
- coveralls
15+
- coveralls

AUTHORS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ https://twitter.com/nicolargo
88
https://github.com/nicolargo
99
1010
PGP Fingerprint: 835F C447 3BCD 60E9 9200 2778 ABA4 D1AB 9731 6A3C
11-
PGP Public key: gpg --keyserver pgp.mit.edu --recv-keys 0xaba4d1ab97316a3c
11+
PGP Public key: gpg --keyserver pgp.mit.edu --recv-keys 0xaba4d1ab97316a3c
1212

1313
Alessio Sergi (aka) Al3hex
1414
https://twitter.com/al3hex
@@ -37,8 +37,8 @@ https://github.com/notFloran
3737
Packagers
3838
=========
3939

40-
Rémi Verchère for the Debian package
41-
https://github.com/rverchere/debian-glances
40+
Daniel Echeverry and Sebastien Badia for the Debian package
41+
https://mentors.debian.net/package/glances
4242

4343
Philip Lacroix for the Slackware (SlackBuild) package
4444

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ included in the project:
122122
git checkout -b <topic-branch-name>
123123
```
124124

125-
4. Commit your changes in logical chunks. Please adhere to these [git commit
125+
4. It's coding time !
126+
Please respect the following coding convention: [Elements of Python Style](https://github.com/amontalenti/elements-of-python-style)
127+
Commit your changes in logical chunks. Please adhere to these [git commit
126128
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
127129
or your code is unlikely be merged into the main project. Use Git's
128130
[interactive rebase](https://help.github.com/articles/interactive-rebase)

Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# Glances Dockerfile
3+
#
4+
# https://github.com/nicolargo/glances
5+
#
6+
7+
# Pull base image.
8+
FROM ubuntu
9+
10+
# Install Glances (develop branch)
11+
RUN apt-get -y install curl && \
12+
curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install-develop.sh | /bin/bash
13+
14+
# Define working directory.
15+
WORKDIR /glances
16+
17+
# EXPOSE PORT (For XMLRPC)
18+
EXPOSE 61209
19+
20+
# EXPOSE PORT (For Web UI)
21+
EXPOSE 61208
22+
23+
# Define default command.
24+
CMD python -m glances $GLANCES_OPT

MANIFEST.in

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@ include COPYING
33
include NEWS
44
include README.rst
55
include conf/glances.conf
6-
include glances/outputs/static/html/*.html
7-
include glances/outputs/static/html/plugins/*.html
8-
include glances/outputs/static/*.ico
9-
include glances/outputs/static/css/*.css
10-
include glances/outputs/static/js/*.js
11-
include glances/outputs/static/js/*.js.map
12-
include glances/outputs/static/js/services/core/*.js
13-
include glances/outputs/static/js/services/plugins/*.js
14-
include glances/outputs/static/js/vendors/*.js
15-
include glances/outputs/static/js/vendors/*.js.map
16-
include glances/outputs/static/images/*.png
17-
include man/glances.1
18-
recursive-include docs images/*.png glances-doc.html
6+
recursive-include docs *
197
recursive-include glances *.py
8+
recursive-include glances/outputs/static *

NEWS

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,61 @@
22
Glances Version 2
33
==============================================================================
44

5+
Version 2.6
6+
===========
7+
8+
Deprecations:
9+
10+
* Add deprecation warning for Python 2.6.
11+
Python 2.6 support will be dropped in future releases.
12+
Please switch to at least Python 2.7 or 3.3+ as soon as possible.
13+
See http://www.snarky.ca/stop-using-python-2-6 for more information.
14+
15+
Enhancements and new features:
16+
17+
* Add a connector to ElasticSearch (welcome to Kibana dashboard) (issue #311)
18+
* New folders' monitoring plugins (issue #721)
19+
* Use wildcard (regexp) to the hide configuration option for network, diskio and fs sections (issue #799 )
20+
* Command line arguments are now take into account in the WebUI (#789 by @notFloran)
21+
* Change username for server and web server authentication (issue #693)
22+
* Add an option to disable top menu (issue #766)
23+
* Add IOps in the DiskIO plugin (issue #763)
24+
* Add hide configuration key for FS Plugin (issue #736)
25+
* Add process summary min/max stats (issue #703)
26+
* Add timestamp to the CSV export module (issue #708)
27+
* Add a shortcut 'E' to delete process filter (issue #699)
28+
* By default, hide disk I/O ram1-** (issue #714)
29+
* When Glances is starting the notifications should be delayed (issue #732)
30+
* Add option (--disable-bg) to disable ANSI background colours (issue #738 by okdana)
31+
* [WebUI] add "pointer" cursor for sortable columns (issue #704 by @notFloran)
32+
* [WebUI] Make web page title configurable (issue #724)
33+
* Do not show interface in down state (issue #765)
34+
* InfluxDB > 0.9.3 needs float and not int for numerical value (issue#749 and issue#750 by nicolargo)
35+
36+
Bugs corrected:
37+
* Can't read sensors on a Thinkpad (issue #711)
38+
* InfluxDB/OpenTSDB: tag parsing broken (issue #713)
39+
* Grafana Dashboard outdated for InfluxDB 0.9.x (issue #648)
40+
* '--tree' breaks process filter on Debian 8 (issue #768)
41+
* Fix highlighting of process when it contains whitespaces (issue #546 by Alessio Sergi)
42+
* Fix RAID support in Python 3 (issue #793 by Alessio Sergi)
43+
* Use dict view objects to avoid issue (issue #758 by Alessio Sergi)
44+
* System exit if Cpu not supported by the Cpuinfo lib (issue #754 by nicolargo)
45+
* KeyError: 'cpucore' when exporting data to InfluxDB (issue #729) by nicolargo)
46+
47+
Others:
48+
* A new Glances docker container to monitor your Docker infrastructure is available here (issue #728): https://hub.docker.com/r/nicolargo/glances/
49+
* Documentation is now generated automatically thanks to Sphinx and the Alessio Sergi patch (http://glances.readthedocs.org/en/latest/)
50+
51+
Contributors summary:
52+
* Nicolas Hennion: 112 commits
53+
* Alessio Sergi: 55 commits
54+
* Floran Brutel: 19 commits
55+
* Nicolas Hart: 8 commits
56+
* @desbma: 4 commits
57+
* @dana: 2 commits
58+
* Damien Martin, Raju Kadam, @georgewhewell: 1 commit
59+
560
Version 2.5.1
661
=============
762

README.rst

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@ Glances - An eye on your system
33
===============================
44

55

6+
.. image:: https://img.shields.io/pypi/v/glances.svg
7+
:target: https://pypi.python.org/pypi/Glances
68
.. image:: https://img.shields.io/pypi/dm/glances.svg
79
:target: https://pypi.python.org/pypi/glances#downloads
810
:alt: Downloads this month
911
.. image:: https://img.shields.io/github/stars/nicolargo/glances.svg
1012
:target: https://github.com/nicolargo/glances/
1113
:alt: Github stars
1214
.. image:: https://travis-ci.org/nicolargo/glances.svg?branch=master
13-
:target: https://travis-ci.org/nicolargo/glances
14-
.. image:: https://img.shields.io/pypi/v/glances.svg
15-
:target: https://pypi.python.org/pypi/Glances
15+
:target: https://travis-ci.org/nicolargo/glances
16+
.. image:: https://circleci.com/gh/nicolargo/glances/tree/develop.svg?style=svg
17+
:target: https://circleci.com/gh/nicolargo/glances/tree/develop
1618
.. image:: https://img.shields.io/scrutinizer/g/nicolargo/glances.svg
17-
:target: https://scrutinizer-ci.com/g/nicolargo/glances/
19+
:target: https://scrutinizer-ci.com/g/nicolargo/glances/
1820
.. image:: https://api.flattr.com/button/flattr-badge-large.png
19-
:target: https://flattr.com/thing/484466/nicolargoglances-on-GitHub
21+
:target: https://flattr.com/thing/484466/nicolargoglances-on-GitHub
2022

2123
Follow Glances on Twitter: `@nicolargo`_ or `@glances_system`_
2224

@@ -28,7 +30,7 @@ written in Python.
2830
Requirements
2931
============
3032

31-
- ``python >= 2.6`` or ``>= 3.3`` (tested with version 2.6, 2.7, 3.3, 3.4)
33+
- ``python >= 2.6`` or ``>= 3.3`` (tested with version 2.6, 2.7, 3.3, 3.4, 3.5)
3234
- ``psutil >= 2.0.0``
3335
- ``setuptools``
3436

@@ -49,12 +51,15 @@ Optional dependencies:
4951
- ``matplotlib`` (for graphical/chart support)
5052
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
5153
- ``py-cpuinfo`` (for the Quicklook CPU info module)
54+
- ``scandir`` (for the Folders plugin) [Only for Python < 3.5]
5255

5356
Installation
5457
============
5558

56-
Glances Auto Install script
57-
---------------------------
59+
Several method to test/install Glances on your system. Choose your weapon !
60+
61+
Glances Auto Install script: the total way
62+
------------------------------------------
5863

5964
To install both dependencies and latest Glances production ready version
6065
(aka *master* branch), just enter the following command line:
@@ -93,7 +98,7 @@ features (like the Web interface):
9398

9499
.. code-block:: console
95100
96-
pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb potsdb statsd pystache docker-py pysnmp pika py-cpuinfo
101+
pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb potsdb statsd pystache docker-py pysnmp pika py-cpuinfo scandir
97102
98103
Install or upgrade Glances from the Git ``develop`` repository:
99104

@@ -115,6 +120,24 @@ If you need to install Glances in a specific user location, use:
115120
export PYTHONUSERBASE=~/mylocalpath
116121
pip install --user glances
117122
123+
Docker: the funny way
124+
---------------------
125+
126+
A Glances container is available. It will include the latest development HEAD version. You can use it to monitor your server and all your others containers !
127+
128+
Get the Glances container:
129+
130+
.. code-block:: console
131+
132+
docker pull nicolargo/glances
133+
134+
Run the container in console mode:
135+
136+
.. code-block:: console
137+
138+
docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
139+
140+
118141
GNU/Linux
119142
---------
120143

@@ -190,6 +213,11 @@ To install Glances from source:
190213
*Note*: Python headers are required to install psutil. For example,
191214
on Debian/Ubuntu you need to install first the *python-dev* package.
192215

216+
Chef
217+
----
218+
219+
An awesome ``Chef`` cookbook is available to monitor your infrastructure: https://supermarket.chef.io/cookbooks/glances (thanks to Antoine Rouyer)
220+
193221
Puppet
194222
------
195223

@@ -238,7 +266,7 @@ and RTFM, always.
238266
Documentation
239267
=============
240268

241-
For complete documentation see `glances-doc`_.
269+
For complete documentation have a look at the readthedocs_ website.
242270

243271
If you have any question (after RTFM!), please post it on the official Q&A `forum`_.
244272

@@ -273,6 +301,6 @@ LGPL. See ``COPYING`` for more details.
273301
.. _@nicolargo: https://twitter.com/nicolargo
274302
.. _@glances_system: https://twitter.com/glances_system
275303
.. _Python: https://www.python.org/getit/
276-
.. _glances-doc: https://github.com/nicolargo/glances/blob/master/docs/glances-doc.rst
304+
.. _readthedocs: https://glances.readthedocs.org/
277305
.. _forum: https://groups.google.com/forum/?hl=en#!forum/glances-users
278306
.. _wiki: https://github.com/nicolargo/glances/wiki/How-to-contribute-to-Glances-%3F

0 commit comments

Comments
 (0)