Skip to content

Do not produce the lmsensors warning if the host that is being monitored is virtual #6465

@TheWitness

Description

@TheWitness

Feature Request

Is your feature request related to a problem? Please describe

Right now, when you run automation and add the lmsensors Graph Templates to the device, a warning is issued stating that the lmsensors is not installed on virtual machines. Well, lmsensors does not make sense on Virtual Machines, so in those cases, don't issue the warning.

Describe the solution you'd like

The binary hostnamectl provides output that tells the user if the host is virtualized. So, as part of the test, if the hostnamectl is available and the host is virtualized, then don't publish a warning.

Describe alternatives you've considered

Just disabling the warning.

Additional context

This warning confuses new users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral tag for an enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions