Skip to content

Monitoring mutiple hosts in a universal way? #321

@septarchy

Description

@septarchy

Dear sir/madam,

How can i specify multiple hosts for raspberry-pi-system.yml on a universal way? The hostnames may change constantly...

Now i specified it like this:

from(bucket: v.bucket)
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["host"] == "bridge01.server" or r["host"] == "bridge02.server")
|> filter(fn: (r) => r._measurement == "disk")
|> filter(fn: (r) => r._field == "used_percent")
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
|> yield(name: "mean")

Isn't it possible to
|> filter(fn: (r) => r["host"] == v.linux_host1 or r["host"] == v.linux_host2 or r["host"] == v.linux_host3)?

To show al details in one chart? I want to monitor multiple systems in one layout, without users switching layouts.
But i also want to change all cpu temperatures from all hosts for example.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions