mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Stop libvirt ssh attempts (#15438)
If enable_libvirt is not enabled, do not attempt to ssh to the target device.
This commit is contained in:
@@ -39,6 +39,8 @@ trait VminfoLibvirt
|
||||
|
||||
if (! Config::get('enable_libvirt')) {
|
||||
echo 'not configured';
|
||||
|
||||
return new Collection;
|
||||
}
|
||||
|
||||
$vms = new Collection;
|
||||
|
Reference in New Issue
Block a user