Commit Graph

1520 Commits

Author SHA1 Message Date
nicolargo
ea76c33dd4 Add prefix option to the InfluxDB export module 2015-03-22 21:21:58 +01:00
nicolargo
aa784fed9a Correct Unicode Error with sensors in client/servermod e 2015-03-22 18:41:16 +01:00
Alessio Sergi
d5c185aec1 Replace assignment with augmented assignment
Convert former getcapacitypercent method to property.
2015-03-22 14:44:44 +01:00
Alessio Sergi
476c9e1646 Remove redundant parentheses 2015-03-22 12:17:55 +01:00
Alessio Sergi
54108258b1 Fix 'statement has no effect' warning 2015-03-22 12:00:00 +01:00
Nicolargo
40f3bb3db5 Update Grafana Dashboard 2015-03-20 13:03:01 +01:00
Nicolargo
4d92bdfb7c Update Grafana 2015-03-16 15:25:07 +01:00
Nicolargo
632faeb102 Add catch if Docker lib is not in the good version 2015-03-16 13:22:53 +01:00
nicolargo
13a8bf5fa3 Update Grafana dashboard 2015-03-15 20:38:48 +01:00
nicolargo
e336382363 Add Grafana dashboad 2015-03-15 19:16:58 +01:00
Alessio Sergi
466478a700 StatsD module: Python 3 compat 2015-03-13 01:00:11 +01:00
Alessio Sergi
ed6d3bd94d InfluxDB module: Python 3 support 2015-03-12 10:15:12 +01:00
nicolargo
fa765ed415 Correct another issue on CPU alert (total should not be logged) 2015-03-11 23:24:22 +01:00
nicolargo
e16157996b Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2015-03-11 20:07:09 +01:00
nicolargo
44263e3760 Correct an issue on CPU alert (always system...) 2015-03-11 20:06:58 +01:00
Alessio Sergi
be3c43bf48 Add check for supported Python versions
Glances requires at least Python 2.6 or 3.3 to run.
2015-03-11 16:03:32 +01:00
nicolargo
58f03687b8 Hide Rx/Tx net interface for the Docker plugin. Not work has expected 2015-03-10 23:23:54 +01:00
nicolargo
ddc2e88eb1 Ready for influxdb-0.3. No more FutureWarning error message 2015-03-10 21:48:03 +01:00
nicolargo
38c7ee9876 Set the peak_time to 6 seconds 2015-03-10 21:37:25 +01:00
Alessio Sergi
308a8b6b50 Replace getters/setters with properties - Round 5 2015-03-10 17:00:00 +01:00
nicolargo
0a0fed767e Correct an issue in the RESTFUL unitest. Add delay to the server start 2015-03-08 11:21:02 +01:00
nicolargo
2275a72b94 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2015-03-08 11:10:10 +01:00
nicolargo
f153c75efd Docker plugin now use the stats method as default grabber. The network stats do not work as expected... 2015-03-08 11:09:43 +01:00
Alessio Sergi
abec1a72de Replace getters/setters with properties - Round 4 2015-03-05 23:53:15 +01:00
nicolargo
56c6961796 First try for the issue #520 but refresh problem... 2015-03-05 23:37:37 +01:00
Alessio Sergi
3074e50bfc Replace getters/setters with properties - Round 3 2015-02-28 11:22:11 +01:00
Alessio Sergi
c5a2c25b35 Replace getters/setters with properties - Round 2
Introduce the new sort_key method. Replace the old multitude ones,
thanks to properties too.
2015-02-27 15:01:41 +01:00
Alessio Sergi
929b832b74 Replace getters/setters with properties
...because it's the Pythonic way to do it.
2015-02-26 18:31:25 +01:00
Alessio Sergi
0f083d215a Do not return values from setters
A setter method always takes a parameter and does not return a value.

Rename 'set_stats_snmp' method to 'get_stats_snmp'.
2015-02-26 12:57:55 +01:00
Nicolargo
d98d6c3b55 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2015-02-26 10:53:12 +01:00
Nicolargo
3c9fba3dcf Avoid crashing if LC_ALL is not defined by user (issue #517) 2015-02-26 10:52:50 +01:00
Alessio Sergi
76cdd091eb Fix crash in browser mode with Python 3
The crash occurs while trying to unlock a password protected Glances
server (TypeError: Unicode-objects must be encoded before hashing).
2015-02-24 00:45:07 +01:00
Alessio Sergi
ccb1751be0 Do not use Python's built-in function names as variable names
Don't redefine built-ins. Unless it's wanted.
2015-02-23 19:39:19 +01:00
Alessio Sergi
2f7c672054 Simplify checks for non-empty sets 2015-02-22 23:55:38 +01:00
Alessio Sergi
1b3bff2587 Use 'not' to test for empty sets
Empty sets evaluate to False.
2015-02-22 21:12:12 +01:00
Alessio Sergi
ec44cfe1cf Misc fixes
- Remove unused import
- Fix double import
- Remove unnecessary pass statement
- Fix bad indentation
- Fix pointless statement
2015-02-22 17:17:04 +01:00
Alessio Sergi
62f34e4a11 glances_ip: fix IP with Python 3 2015-02-22 16:36:16 +01:00
Alessio Sergi
e2912943c5 Do not use mutable objects as default argument values
Use None as a default value.
See https://stackoverflow.com/questions/101268/hidden-features-of-python#113198
for more information.
2015-02-22 15:43:07 +01:00
Alessio Sergi
c7580a47ed requirements.txt: psutil 2.2.1 2015-02-22 12:51:15 +01:00
Alessio Sergi
2a7828a1f5 glances_logging: more Python 2.6 compatibility
Minor cosmetic tweaks.
2015-02-22 12:40:00 +01:00
Alessio Sergi
6b3c47b826 Fix logging support for Python 2.6
Use logutils when running on Python 2.6.

Close #512.
2015-02-22 12:12:12 +01:00
nicolargo
7a95094068 Add percent in the quicklook 2015-02-22 10:48:50 +01:00
nicolargo
02e8203a05 Improve IP plugin display 2015-02-22 10:04:26 +01:00
nicolargo
fc869b7a21 Correct an issue on the latest commit, cause unitary tests failed 2015-02-20 22:59:00 +01:00
nicolargo
0a99b139b6 Add a disable HDD temperature option on the command line (issue #515) 2015-02-20 22:45:20 +01:00
Nicolargo
183cbce7aa Enhance Quicklook display 2015-02-16 18:12:16 +01:00
nicolargo
a5b6eb9dab Add a new IP information plugin (issue #509) 2015-02-15 22:17:55 +01:00
nicolargo
d34cde590e Improve PEP8 (S1066) 2015-02-13 22:49:30 +01:00
nicolargo
f069d81071 Improve PEP8 (S1721) 2015-02-13 22:44:55 +01:00
nicolargo
6b13120503 Remove dev log 2015-02-08 18:07:47 +01:00