This shows you the differences between two versions of the page.
nethserver-glances [2015/05/11 18:10] stephdl [RPM from epel] |
nethserver-glances [2019/06/05 19:48] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Glances ===== | ||
- | |||
- | |||
- | Glances is a cross-platform curses-based system monitoring tool written in Python. | ||
- | |||
- | see https:// | ||
- | |||
- | Add my repository | ||
- | |||
- | yum install http:// | ||
- | |||
- | then install the module | ||
- | |||
- | yum install nethserver-glances --enablerepo=stephdl | ||
- | |||
- | after that you need to launch the sensor detection | ||
- | |||
- | sensors-detect | ||
- | |||
- | ==== Usage ==== | ||
- | <WRAP center round important 60%> | ||
- | For now there is no way to protect the Glances browser by a password, when this option will be available then I will implement it. Therefore Glances is accessible by the browser **only** from the local network. If it is an issue, then you can disable the service glances as written below, only the glances CLI will stay workable (launch it by ' | ||
- | </ | ||
- | |||
- | 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, | ||
- | |||
- | or you can use the neth way (enabled/ | ||
- | |||
- | config setprop glances status disabled | ||
- | signal-event nethserver-glances-update | ||
- | |||
- | each time you launch that signal-event, | ||
- | |||
- | you can see the internal configuration database | ||
- | |||
- | # config show glances | ||
- | glances=service | ||
- | TCPPort=61208 | ||
- | access=private | ||
- | status=enabled | ||
- | |||
- | once you have modified a property you need to launch a signal-event : | ||
- | |||
- | * Private/ | ||
- | by default glances is allowed only on the private side, eg : your local network. | ||
- | if you want to modify it (private|public) | ||
- | config setprop glances access public | ||
- | signal-event nethserver-glances-update | ||
- | |||
- | *in order to disable the glances web interface (and continue to use the CLI) | ||
- | if you want to modify it (enabled|disabled) | ||
- | config setprop glances status disabled | ||
- | signal-event nethserver-glances-update | ||
- | |||
- | *You can change the default TCP port** | ||
- | if you want to modify it | ||
- | config setprop glances TCPPort 55555 | ||
- | signal-event nethserver-glances-update | ||
- | | ||
- | 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-> | ||
- | |||
- | |||
- | |||
- | sources : https:// | ||
- | ==== Issues ==== | ||
- | |||
- | Please raise Issues on [[https:// | ||
- | ==== RPM from epel ==== | ||
- | collectd | ||
- | collectd-sensors | ||
- | hddtemp | ||
- | python-pip | ||
- | pwauth | ||
- | mod_authnz_external | ||
- | {{tag> |