User Tools

Site Tools


nethserver-glances

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nethserver-glances [2015/05/03 18:04]
stephdl [Glances]
nethserver-glances [2019/06/05 19:48] (current)
Line 7: Line 7:
 see https://github.com/nicolargo/glances and https://github.com/nicolargo/glances/blob/master/docs/glances-doc.rst see https://github.com/nicolargo/glances and https://github.com/nicolargo/glances/blob/master/docs/glances-doc.rst
  
-Add my repository +Add my repository, [[nethserver|see how to do it]]
- +
-  yum install http://mirror.de-labrusse.fr/NethServer/6/noarch/nethserver-stephdl-1.0.0-1.ns6.noarch.rpm+
  
 then install the module then install the module
Line 18: Line 16:
  
   sensors-detect   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 'glances' in a terminal)
 +</WRAP>
  
 After the installation the service which control the web interface is launched, if you want to control it After the installation the service which control the web interface is launched, if you want to control it
Line 25: Line 28:
 can be also {restart,start,stop,status} can be also {restart,start,stop,status}
  
-or you can use the neth way (enabled/disabled)+or you can use the neth way (enabled/disabled) <---once disabled you can still to use glances in a terminal
  
   config setprop glances status disabled   config setprop glances status disabled
Line 32: Line 35:
 each time you launch that signal-event, you will update glances and its dependencies each time you launch that signal-event, you will update glances and its dependencies
  
-see config db+you can see the internal configuration database
  
   # config show glances    # config show glances 
Line 40: Line 43:
   status=enabled   status=enabled
  
-The purpose is to see in direct the server activities (you can see raid, disk IO, sensors, bandwithd, memory, docker, ....)+once you have modified a property you need to launch a signal-event :     signal-event nethserver-glances-update
  
-Well a lot of good stuffs. +  * Private/Public access 
- +by default glances is allowed only on the private side, eg : your local network. 
-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'+if you want to modify it (private|public
- +    config setprop glances access public 
-**in order to disable the glances web interface (and continue to use the CLI)**+    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     config setprop glances status disabled
     signal-event nethserver-glances-update     signal-event nethserver-glances-update
  
-**You can change the default TCP port** +  *You can change the default TCP port** 
 +if you want to modify it 
     config setprop glances TCPPort 55555     config setprop glances TCPPort 55555
     signal-event nethserver-glances-update     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->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')
 +
 +
  
-sources : http://mirror.de-labrusse.fr/nethserver/nethserver-glances/https://github.com/stephdl/nethserver-glances/tree/ns6+sources : https://github.com/stephdl/nethserver-glances/tree/ns6
 ==== Issues ==== ==== Issues ====
  
Line 65: Line 78:
   hddtemp   hddtemp
   python-pip   python-pip
 +  pwauth
 +  mod_authnz_external
 {{tag>module}} {{tag>module}}
nethserver-glances.1430676263.txt.gz · Last modified: 2019/06/05 19:48 (external edit)