Commit Graph

1533 Commits (3a7856831c0d797f82a3bb47d581e1c54dd5120d)

Author SHA1 Message Date
nicolargo 3a7856831c Avoid crach on olds kernels (issue #554) 2015-04-01 22:00:13 +02:00
nicolargo 71ffcef3d0 Add system and uptime to the export module 2015-03-31 22:38:27 +02:00
nicolargo 13df3493d0 Correct an issue on quiet mode, refresh time is not take into account 2015-03-31 22:25:55 +02:00
nicolargo 2f2b84b6bd Add percpu to export module 2015-03-31 22:07:05 +02:00
nicolargo 781d12235b Change log level for InfluxDB 0.8 fallback 2015-03-28 13:55:09 +01:00
nicolargo 0833c44140 Remove not necessary log message 2015-03-28 13:42:54 +01:00
nicolargo f02a6e0734 Infludb dep: Influxdb need 1.0.0 or higher 2015-03-27 22:32:22 +01:00
nicolargo 3484a373a1 Influxdb plugin: add compatibility with both 0.8 and 0.9 API 2015-03-27 22:30:21 +01:00
nicolargo 9d8219c265 Add the quiet mode (-q) 2015-03-27 22:03:12 +01:00
nicolargo 2ce28dfa18 Update documentation and add Grafana screenshot 2015-03-24 21:10:25 +01:00
Alessio Sergi 6a8de48502 Replace list creation with list literal 2015-03-23 00:35:53 +01:00
Alessio Sergi 576883822e Replace dictionary creation with dictionary literal 2015-03-22 23:39:05 +01:00
nicolargo 85508e773d Change Glances version in the Sonar configuration file 2015-03-22 21:28:14 +01:00
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