Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliases not supported in web UI? #882

Closed
vena opened this issue Jul 5, 2016 · 4 comments
Closed

Aliases not supported in web UI? #882

vena opened this issue Jul 5, 2016 · 4 comments
Labels
Milestone

Comments

@vena
Copy link

vena commented Jul 5, 2016

Using a fresh docker pull, attempting to use aliases in diskio and sensors, the aliases only apply in console mode. The web UI always shows the real device names.

Glances v2.7_BETA with psutil v4.1.0

used a minimal conf to test:

[diskio]
sdb1_alias=Disk B

[sensors]
fan1_alias=CPU Fan
@nicolargo
Copy link
Owner

@nclsHart / @nclsHart : Can you have a look ?

@nicolargo nicolargo added this to the 2.7 milestone Jul 5, 2016
@nclsHart
Copy link
Contributor

@nicolargo Aliases are not availables through the API.

@nicolargo
Copy link
Owner

nicolargo commented Jul 20, 2016

@nclsHart : Done.

Disk with alias:

    {
        "read_count": 0,
        "alias": "IntDisk",
        "write_bytes": 0,
        "write_count": 0,
        "time_since_update": 1,
        "read_bytes": 0,
        "key": "disk_name",
        "disk_name": "sda1"
    }

and without:

    {
        "read_count": 0,
        "write_bytes": 0,
        "write_count": 0,
        "time_since_update": 1,
        "read_bytes": 0,
        "key": "disk_name",
        "disk_name": "sda1"
    }

More difficult to do for Sensors...

Can you implement the diskIO part ?

@hkapanen
Copy link

hkapanen commented Feb 13, 2019

Sensor aliases still not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants