Plop all
I have done a tiny module about glances, a a cross-platform curses-based system monitoring tool written in Python.
see https://github.com/nicolargo/glances and https://github.com/nicolargo/glances/blob/master/docs/glances-doc.rst
Add EPEL repo:
yum localinstall http://ftp.heanet.ie/pub/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
Disable it:
eorepo centos-base centos-updates nethserver-base nethserver-updates
then install and test the module
yum install http://mirror.de-labrusse.fr/nethserver/nethserver-glances/nethserver-glances-1.0.0-4.ns6.noarch.rpm --enablerepo=epel
then
sensors-detect
After the installation the service which control the web interface is launched, if you want to control it
service glances stop
#can be {restart,start,stop,status}
or you can use the neth way (enabled/disabled)
config setprop glances status disabled
signal-event nethserver-glances-update
each time you launch that signal-event, you will update glances and its dependencies
see config db
# config show glances
glances=service
TCPPort=61208
access=private
status=enabled
The purpose is to see in direct the server activities (you can see raid, disk IO, sensors, bandwithd, memory, docker, …)
Well a lot of good stuffs.
In order to use it go to Dashboard->Applications->Glances. It is a web service restricted on the private network. But if you don’t like to use the web interface, then you can disable it and use only the CLI in your terminal (do simply ‘glances’)
in order to disable the glances web interface (and continue to use the CLI)
config setprop glances status disabled
signal-event nethserver-glances-update
You can change the default TCP port
config setprop glances TCPPort 55555
signal-event nethserver-glances-update
sources : http://mirror.de-labrusse.fr/nethserver/nethserver-glances/ & https://github.com/stephdl/nethserver-glances/tree/ns6