Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4599

Linux Agent does not report disks devices (storage)

$
0
0
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

Viewing all articles
Browse latest Browse all 4599

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>