cacti icon indicating copy to clipboard operation
cacti copied to clipboard

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

Open TheWitness opened this issue 1 month ago • 0 comments

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.

TheWitness avatar Nov 19 '25 16:11 TheWitness