Changes

Jump to navigation Jump to search
696 bytes added ,  00:14, 5 October 2015
Line 1: Line 1:  
==Glances==
 
==Glances==
 
===description===
 
===description===
 +
The purpose of this howto is to install Glances on SME Server
 +
 
Glances - An eye on your system. Glances is a cross-platform curses-based system monitoring tool written in Python.
 
Glances - An eye on your system. Glances is a cross-platform curses-based system monitoring tool written in Python.
   Line 11: Line 13:  
====sme9====
 
====sme9====
 
You have to enable [[epel]] repository first
 
You have to enable [[epel]] repository first
  yum install python-pip python-devel gcc --enablerepo=epel
+
 
 +
  yum install python-pip collectd-sensors gcc python-pip python-devel hddtemp --enablerepo=epel
 +
 
 +
enable sensors (answer y to all questions and reboot)
 +
sensors-detect
 
then when you want to install or update, you can issue :
 
then when you want to install or update, you can issue :
   −
  pip install --upgrade glances pysnmp bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz
+
  pip install --upgrade bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb statsd pystache docker-py Glances logutils
 +
 
 +
{{Tip box|You can autoupdate [[Glances#update_glances|Glances]] by a cron}}
    
====sme8====
 
====sme8====
Line 25: Line 33:  
* see through a browser
 
* see through a browser
 
  glances -w
 
  glances -w
connect you with your browser to :
+
connect with your browser to :
 
  http://yourhost:61208
 
  http://yourhost:61208
   −
and RTFM, always.
+
===update glances===
 +
 
 +
do a cron file
 +
# vim /etc/cron.monthly/glances
 +
and paste
 +
pip install --upgrade bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz zeroconf netifaces pymdstat influxdb statsd pystache docker-py Glances logutils
 +
 
 +
each month glances will be updated
 +
 
 +
===Documentation===
 +
[https://github.com/nicolargo/glances/blob/master/docs/glances-doc.rst and RTFM, always.]
    
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu