Correct issue on Windows SNMP client

This commit is contained in:
Nicolas Hennion 2014-12-23 11:12:06 +01:00
parent 8b03f1a8d6
commit 3a896dbe9d
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@ -6,6 +6,10 @@ Version 2.X
=========== ===========
* Add the RAID plugins (issue #447) * Add the RAID plugins (issue #447)
Version 2.2.1
=============
* Fix incorrect kernel thread detection with --hide-kernel-threads (issue #457) * Fix incorrect kernel thread detection with --hide-kernel-threads (issue #457)
* Handle IOError exception if no /etc/os-release to use Glances on Synology DSM (issue #458) * Handle IOError exception if no /etc/os-release to use Glances on Synology DSM (issue #458)
* Check issue error in client/server mode (issue #459) * Check issue error in client/server mode (issue #459)

View File

@ -145,7 +145,7 @@ class Plugin(GlancesPlugin):
# Total CPU usage # Total CPU usage
msg = '{0:>5}%'.format(self.stats['total']) msg = '{0:>5}%'.format(self.stats['total'])
if idle_tag: if idle_tag:
ret.append(self.curse_add_line(msg, self.get_alert_log(self.stats['total']), header="system")) ret.append(self.curse_add_line(msg, self.get_alert_log(self.stats['total'], header="system")))
else: else:
ret.append(self.curse_add_line(msg)) ret.append(self.curse_add_line(msg))
# Nice CPU # Nice CPU