User Tools

Site Tools


nethserver-glances

This is an old revision of the document!


Glances

Glances is 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 my repository

yum install http://mirror.de-labrusse.fr/NethServer/6/noarch/nethserver-stephdl-1.0.0-1.ns6.noarch.rpm

then install the module

yum install nethserver-glances --enablerepo=stephdl

after that you need to launch the sensor detection

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 also {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

RPM from epel

collectd
collectd-sensors
hddtemp
python-pip
nethserver-glances.1430671945.txt.gz · Last modified: 2019/06/05 19:48 (external edit)