<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package GLPI::Agent::Task::Inventory::Generic::Storages::HP;

use strict;
use warnings;

use parent 'GLPI::Agent::Task::Inventory::Module';

use GLPI::Agent::Tools;
use GLPI::Agent::Tools::Storages::HP;

our $runMeIfTheseChecksFailed = ['GLPI::Agent::Task::Inventory::Generic::Storages::HpWithSmartctl'];

sub isEnabled {
    # MSWin32 has its Win32::Storages::HP dedicated module
    return canRun('hpacucli') &amp;&amp; OSNAME ne 'MsWin32';
}

sub doInventory {
    HpInventory(
        path =&gt; 'hpacucli',
        @_
    );
}

1;
</pre></body></html>