Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Linux Agent does not report disks devices (storage) [closed]

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
closed with the note: Problem solved by OCS DevTeam - Agent code updated
in OCS Inventory NG agent for Unix by (120 points)
closed by

1 Answer

0 votes
Hi,

This is a bug. Please open an issue here => https://github.com/OCSInventory-NG/UnixAgent/issues/new

Regards

Frank
by (70.6k points)
 
Powered by Question2Answer
...