Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 12:51
    pokemaster974 edited #2210
  • Nov 26 12:50
    pokemaster974 opened #2210
  • Nov 24 15:00
    nicolargo milestoned #2209
  • Nov 24 15:00
    nicolargo labeled #2209
  • Nov 24 15:00
    nicolargo opened #2209
  • Nov 23 21:15
    bigntallmike opened #2208
  • Nov 21 15:58
    nicolargo milestoned #2185
  • Nov 21 15:27
    samcro1967 closed #2206
  • Nov 20 18:00
    nicolargo closed #2158
  • Nov 20 17:58

    nicolargo on develop

    API GET uptime returns formatte… (compare)

  • Nov 20 17:48
    samcro1967 opened #2206
  • Nov 19 16:46
    renovate[bot] edited #2163
  • Nov 19 15:12

    nicolargo on glancesv4

    Create SECURITY.md Since the last update, using Gl… Since the last update, using Gl… and 41 more (compare)

  • Nov 19 14:57

    nicolargo on develop

    Update Makefile with comments Correct unitary test with Pytho… (compare)

  • Nov 19 14:55
    nicolargo closed #2193
  • Nov 19 14:54
    renovate[bot] edited #2163
  • Nov 19 14:54

    renovate[bot] on pypi-ujson-vulnerability

    (compare)

  • Nov 19 14:54

    renovate[bot] on ujson-5.x

    (compare)

  • Nov 19 14:54
    renovate[bot] edited #2163
  • Nov 19 14:54
    nicolargo closed #2204
Paulo Flabiano Smorigo
@pfsmorigo_gitlab
I setup the log and the only problem are related to docker and gpu.
2020-06-29 16:50:21,113 -- ERROR -- docker plugin - Cannot get Docker version (('Connection aborted.', FileNotFoundError(2, 'No such file or directory')))
2020-06-29 16:50:21,436 -- ERROR -- Cannot export hank.docker stats to InfluxDB (400: {"error":"unable to parse 'hank.docker ': invalid field format"}
)
2020-06-29 16:50:21,445 -- ERROR -- Cannot export hank.gpu stats to InfluxDB (400: {"error":"unable to parse 'hank.gpu ': invalid field format"}
Paulo Flabiano Smorigo
@pfsmorigo_gitlab
Ok, so it seems that the json file for grafana has the localhost "hardcoded" for all attributes. I've just made a merge request to fix that: nicolargo/glances#1684
aadewojo
@aadewojo
Hi All, please I need some help with using glances to monitor many virtual machines. Where do I specify the virtual machine's details? DO I have to run glances on each of the virtual machine? Thanks
gandhy241
@gandhy241

hi every one!
I'm young student in computer sciences from Libreville(Gabon Africa). I have some class exercice where i have obligation to code(implement) a simple(mini) application monitoring using C or python but still now i can't found some tutorial to do my class exercice. Please some one can help me.

Thanks a lot.

JeromeDevome
@JeromeDevome
Hello, thanks for the work. Can we keep glances web open?
stroehmi
@danielstroehmann
Hi Every1, I got glances to do a restful post to my nodered http-in node but glances still runs the cli ui and keeps posting to the service in short cycles. I tried to find a solution in the documentation but no information about how to run glances, do the POST once and then shuts down. Any ideas, what did I miss?
yairmiz
@yairmiz
Hi Everyone, I'm running the latest glances 3.1.5, having a wierd issue with exporting container data to influxdb, I can see in the client the containers cpu and memory consumption but for some reason I dont get these values exported to influxdb, only the container names
saitoh183
@saitoh183
hi
saitoh183
@saitoh183
what is the proper syntax for connecting glances to influxdb over SSL on a remote server?
jh
@realjax
Hello, quick question.. can I also build/install this without the cassandra driver ?? Would save me an hour of waiting :(
jh
@realjax
nm, found it :)
Moritz
@MrzJkl
Hi @all,
we´re developing a mobile app interacting with the glances-API.
Have a look at: https://glutter.de or https://github.com/glutter-dev-team/glutter
rltheis27
@rltheis27
Hello everyone,
I've created new display for the terminal window display. I'm trying to get this display to appear as a web page. I'm cannot figure out how to do this. I get the default view all the time. What do I need to do to get this new view into a web page?
steschuser
@steschuser
@MrzJkl noice
Matt Hiscock
@matyhaty
Hi Glancers
We have a nice little solution which uses the restful export
Does anyone know how we could also test whether mysql (or any other DB) ius running and run a query on it, and include that within the reuslts
steschuser
@steschuser
running queries requires a user/password
to test for mysql you could check port 3306
or query systemctl status mysql
Matt Hiscock
@matyhaty
@steschuser steschuser - how can you do that within glances, do you know
shantkarm
@shantkarm
Hi how can i get the status of a specific process through the API
?
steschuser
@steschuser
@matyhaty
Have you checked the documentation at https://glances.readthedocs.io/en/latest/aoa/amps.html
Looks like you can define commands there, that will be run by glanes
shantkarm
@shantkarm

thank you :) btw i have a raspberry pi with ds18b20 sensors. when i ran glances directly on the pi it was able to get the sensor's information.. however, now its running on docker and they are not visible. how can i get ds18b20 1-wire sensors ve visible in glances through a docker enviornent?

thank you :)

Pedro Lopez Slevin
@plshazer
Hi
does anyone know how to secure with user and password glance installed in console mode with: $ docker run -d --name=Glances --restart="always" --network=host -e GLANCES_OPT="-w" -v glances_config:/glances/conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host docker.io/nicolargo/glances
skaface
@skaface
Hi, I am using glances on a 32 core dual cpu system, and the sensors plugin has multiple sensors with the same name, and when one sensor reaches a temperature limit and highlites, all of the other sensors with the same name highlite as well, even though they are below the defined temperature
i am using glances v3.1.5 with psutil v5.7.2 on arch linux
rthawkcom
@rthawkcom
curl -L https://bit.ly/glances | /bin/bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 167 100 167 0 0 82 0 0:00:02 0:00:02 --:--:-- 82
100 5321 100 5321 0 0 1395 0 0:00:03 0:00:03 --:--:-- 5191
Detected system: Ubuntu
sudo apt-get install -y python-pip python-dev python-docker gcc lm-sensors wireless-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
E: Unable to locate package python-pip
E: Unable to locate package python-docker
Fabrício José Vieira Ceolin
@fabceolin
How to sort by process swap usage?
cult-hero13
@cult-hero13
Has anyone experienced a certain behavior, when running in browser mode, that when selecting a server, the cursor just scrolls to the bottom of the page, jumps back to the top, scrolls to the bottom, etc. No server data is actually shown. All servers have glances 3.1.5 installed, and are running on a mix of Debian 9 and 10. Glances on all were install via pip.
cyr0nk0r
@cyr0nk0r
How can I leverage the CPU process filter to filter multiple processes instead of just one?
.python. works fine .. but what if I want any process with python OR mysqld ?
.python|mysqld. is a valid regex, but doesn't work. Is this supported?
patrcoil
@patrcoil
I recently installed Glances which does a great job! Unfortunately, I cannot select processes with UP and DOWN arrows as mentioned in all documentations. Thus impossible to use key k to kill processes, do somebody known how to fix the issue? I am using Ubuntu 20.04
cyr0nk0r
@cyr0nk0r
so is this chat even monitored at all? It's been 12 days with no response. How are you supposed to get support on this?
patrcoil
@patrcoil
THX, you made some kind of answer ;)
patrcoil
@patrcoil
BTW, did you succeed in selecting and killing processes with k?
mkanet
@mkanet_twitter
Does anyone have any tips to increase general Glances API performance on Windows 10? performance isn't very good when making too many concurrent REST calls to Glances. Some requests take several seconds for the server to provide a response (if there's already a pending request). Other times, it's instant. I'm using the command: "python.exe glances-script.py -w -0 -q -t 8 --cached-time 8". Is there a way to increase the number of process threads used by the glances API; or, something similar? Would it help to use the pre-compiled glances.exe that comes with the module instead of using glances-script.py?
Glances is only using 16% of my quadcore 2.4Ghz CPU approximately every 8 seconds
tomshort-si
@tomshort-si
Hi all, I'm unable to find a way to convert the response to something similar to when I curl. The endpoint in question is "/api/3/cpu/total" and the content is "b'x\x9c\xabV*\xc9/I\xccQ\xb2R0\xd43\xa8\x05\x00#\x1d\x04J'". Converting from bytes to string still isn't the expected output. I think this is something to do with the "deflate" encoding but I can't find a way to inflate (if that's the correct phrase)
tomshort-si
@tomshort-si
@mkanet_twitter If you're making lots of requests from the same client then you could always just call /api/3/all and sort through the response
RobertoMilani
@RobertoMilani
Hi all, I successfull installed glances under Windows Server and web consolle works great! But... calling api if I must use f.i. /api/3/mem to obtain correct JSON values, instead if I use f.i. /api/3/mem/free I obtain a binary stream like response... (something like "x��VJ+JMU�R06200017546��?�h") How I can solve it?
RobertoMilani
@RobertoMilani

Hi all, I successfull installed glances under Windows Server and web consolle works great! But... calling api if I must use f.i. /api/3/mem to obtain correct JSON values, instead if I use f.i. /api/3/mem/free I obtain a binary stream like response... (something like "x��VJ+JMU�R06200017546��?�h") How I can solve it?

I've discovered that using Postman and deselecting Accept-Encoding gzip, deflate, br as request header, now I can obtain correct JSON response!!!
{
"free": 31972978688
}

tomshort-si
@tomshort-si
@RobertoMilani That's exactly the same issue I'm having! If you print response.content it's more readable but definitely not the expected output
RobertoMilani
@RobertoMilani
@tomshort-si I've solved on "laboratory side" using a Postman call and using Accept-Encoding (as request header option) set to "gzip" only without "deflate". Now, I'm trying to "put all togheter" and make glances integration usable through openVpn and reverse proxy inside Home Assistant. I partially solved doing REST call integration, but the "glances" integration is better.
tomshort-si
@tomshort-si
@RobertoMilani thank you so much! that's solved it for me. Good luck mate
RobertoMilani
@RobertoMilani
@tomshort-si I've just discovered that inside nginx reverse proxy all works fine putting inside config:
proxy_set_header Accept-Encoding "gzip";
mkanet
@mkanet_twitter
@tomshort-si thanks for the tip. That was the first thing I tried. However, the software I'm using "Home Assistant" doesn't allow me to parse all the data in one shot "yet". I'm guessing from your answer, there aren't glances settings/configurations that would help optimize the multitasking performance of Glances.
Moonship
@Moonship8_twitter
hi