Linux Agent does not report disk devices and the log at the output file in debug mode, says:
runWithTimeout(): unexpected error: Can't call method "can_run" on an undefined value at /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Storages.pm line 280.
The problem is solved when adding de $params variable to the argument list, with calling functions:
foreach my $device (getFromSmartctl($params, $devices)) {
foreach my $device (getFromuDev2($params, $devices)) {
foreach my $device (getFromLshw($params)) {
foreach my $device (getFromLsblk($params)) {
foreach my $device (getFromLsscsi($params)) {
The OS Agent is Ubuntu 16.04, using UnixAgent-2.3
Is this a bug or a Ubuntu 16.04 issue related?
Regards