enhance indent

This commit is contained in:
garnier-quentin 2019-10-15 17:35:33 +02:00
parent 3b117fb49f
commit f2ad00e133
68 changed files with 299 additions and 290 deletions

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'update-status' => 'apps::antivirus::clamav::local::mode::updatestatus',
);
'update-status' => 'apps::antivirus::clamav::local::mode::updatestatus',
);
return $self;
}

View File

@ -32,13 +32,13 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'deployment' => 'apps::antivirus::kaspersky::snmp::mode::deployment',
'events' => 'apps::antivirus::kaspersky::snmp::mode::events',
'full-scan' => 'apps::antivirus::kaspersky::snmp::mode::fullscan',
'logical-network' => 'apps::antivirus::kaspersky::snmp::mode::logicalnetwork',
'protection' => 'apps::antivirus::kaspersky::snmp::mode::protection',
'updates' => 'apps::antivirus::kaspersky::snmp::mode::updates',
);
'deployment' => 'apps::antivirus::kaspersky::snmp::mode::deployment',
'events' => 'apps::antivirus::kaspersky::snmp::mode::events',
'full-scan' => 'apps::antivirus::kaspersky::snmp::mode::fullscan',
'logical-network' => 'apps::antivirus::kaspersky::snmp::mode::logicalnetwork',
'protection' => 'apps::antivirus::kaspersky::snmp::mode::protection',
'updates' => 'apps::antivirus::kaspersky::snmp::mode::updates',
);
return $self;
}

View File

@ -32,14 +32,14 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'clients' => 'apps::antivirus::mcafee::webgateway::snmp::mode::clients',
'connections' => 'apps::antivirus::mcafee::webgateway::snmp::mode::connections',
'detections' => 'apps::antivirus::mcafee::webgateway::snmp::mode::detections',
'ftp-statistics' => 'apps::antivirus::mcafee::webgateway::snmp::mode::ftpstatistics',
'http-statistics' => 'apps::antivirus::mcafee::webgateway::snmp::mode::httpstatistics',
'https-statistics' => 'apps::antivirus::mcafee::webgateway::snmp::mode::httpsstatistics',
'versions' => 'apps::antivirus::mcafee::webgateway::snmp::mode::versions',
);
'clients' => 'apps::antivirus::mcafee::webgateway::snmp::mode::clients',
'connections' => 'apps::antivirus::mcafee::webgateway::snmp::mode::connections',
'detections' => 'apps::antivirus::mcafee::webgateway::snmp::mode::detections',
'ftp-statistics' => 'apps::antivirus::mcafee::webgateway::snmp::mode::ftpstatistics',
'http-statistics' => 'apps::antivirus::mcafee::webgateway::snmp::mode::httpstatistics',
'https-statistics' => 'apps::antivirus::mcafee::webgateway::snmp::mode::httpsstatistics',
'versions' => 'apps::antivirus::mcafee::webgateway::snmp::mode::versions',
);
return $self;
}

View File

@ -32,8 +32,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'status' => 'apps::checkmyws::mode::status',
);
'status' => 'apps::checkmyws::mode::status',
);
return $self;
}

View File

@ -31,12 +31,13 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'status' => 'apps::github::mode::status',
'issues' => 'apps::github::mode::issues',
'commits' => 'apps::github::mode::commits',
'pullrequests' => 'apps::github::mode::pullrequests',
'stats' => 'apps::github::mode::stats',
);
'issues' => 'apps::github::mode::issues',
'commits' => 'apps::github::mode::commits',
'pullrequests' => 'apps::github::mode::pullrequests',
'stats' => 'apps::github::mode::stats',
'status' => 'apps::github::mode::status',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'backend-usage' => 'apps::haproxy::snmp::mode::backendusage',
'frontend-usage' => 'apps::haproxy::snmp::mode::frontendusage',
);
'backend-usage' => 'apps::haproxy::snmp::mode::backendusage',
'frontend-usage' => 'apps::haproxy::snmp::mode::frontendusage',
);
return $self;
}

View File

@ -31,15 +31,15 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'list-node-vms' => 'apps::hyperv::2012::local::mode::listnodevms',
'node-integration-service' => 'apps::hyperv::2012::local::mode::nodeintegrationservice',
'node-replication' => 'apps::hyperv::2012::local::mode::nodereplication',
'node-snapshot' => 'apps::hyperv::2012::local::mode::nodesnapshot',
'node-vm-status' => 'apps::hyperv::2012::local::mode::nodevmstatus',
'scvmm-integration-service' => 'apps::hyperv::2012::local::mode::scvmmintegrationservice',
'scvmm-snapshot' => 'apps::hyperv::2012::local::mode::scvmmsnapshot',
'scvmm-vm-status' => 'apps::hyperv::2012::local::mode::scvmmvmstatus',
);
'list-node-vms' => 'apps::hyperv::2012::local::mode::listnodevms',
'node-integration-service' => 'apps::hyperv::2012::local::mode::nodeintegrationservice',
'node-replication' => 'apps::hyperv::2012::local::mode::nodereplication',
'node-snapshot' => 'apps::hyperv::2012::local::mode::nodesnapshot',
'node-vm-status' => 'apps::hyperv::2012::local::mode::nodevmstatus',
'scvmm-integration-service' => 'apps::hyperv::2012::local::mode::scvmmintegrationservice',
'scvmm-snapshot' => 'apps::hyperv::2012::local::mode::scvmmsnapshot',
'scvmm-vm-status' => 'apps::hyperv::2012::local::mode::scvmmvmstatus',
);
return $self;
}

View File

@ -32,8 +32,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'job-state' => 'apps::jenkins::mode::jobstate',
);
'job-state' => 'apps::jenkins::mode::jobstate',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'server-usage' => 'apps::openvpn::omi::mode::serverusage',
);
'server-usage' => 'apps::openvpn::omi::mode::serverusage',
);
$self->{custom_modes}{api} = 'apps::openvpn::omi::custom::api';
return $self;

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'list-pfinterfaces' => 'apps::pfsense::snmp::mode::listpfinterfaces',
'packet-stats' => 'apps::pfsense::snmp::mode::packetstats',
'pfinterfaces' => 'apps::pfsense::snmp::mode::pfinterfaces',
'runtime' => 'apps::pfsense::snmp::mode::runtime',
);
'list-pfinterfaces' => 'apps::pfsense::snmp::mode::listpfinterfaces',
'packet-stats' => 'apps::pfsense::snmp::mode::packetstats',
'pfinterfaces' => 'apps::pfsense::snmp::mode::pfinterfaces',
'runtime' => 'apps::pfsense::snmp::mode::runtime',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'bgppeerstate' => 'apps::protocols::bgp::4::mode::bgppeerstate',
);
'bgppeerstate' => 'apps::protocols::bgp::4::mode::bgppeerstate',
);
return $self;
}

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'connection' => 'apps::protocols::dhcp::mode::connection',
);
'connection' => 'apps::protocols::dhcp::mode::connection',
);
return $self;
}

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'request' => 'apps::protocols::dns::mode::request',
);
'request' => 'apps::protocols::dns::mode::request',
);
return $self;
}

View File

@ -31,11 +31,12 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'login' => 'apps::protocols::ftp::mode::login',
'commands' => 'apps::protocols::ftp::mode::commands',
'date' => 'apps::protocols::ftp::mode::date',
'filescount' => 'apps::protocols::ftp::mode::filescount',
);
'commands' => 'apps::protocols::ftp::mode::commands',
'date' => 'apps::protocols::ftp::mode::date',
'filescount' => 'apps::protocols::ftp::mode::filescount',
'login' => 'apps::protocols::ftp::mode::login',
);
return $self;
}

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'expected-content' => 'apps::protocols::http::mode::expectedcontent',
'json-content' => 'apps::protocols::http::mode::jsoncontent',
'response' => 'apps::protocols::http::mode::response',
'soap-content' => 'apps::protocols::http::mode::soapcontent',
);
'expected-content' => 'apps::protocols::http::mode::expectedcontent',
'json-content' => 'apps::protocols::http::mode::jsoncontent',
'response' => 'apps::protocols::http::mode::response',
'soap-content' => 'apps::protocols::http::mode::soapcontent',
);
return $self;
}

View File

@ -31,9 +31,10 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'login' => 'apps::protocols::imap::mode::login',
'search-message' => 'apps::protocols::imap::mode::searchmessage',
);
'login' => 'apps::protocols::imap::mode::login',
'search-message' => 'apps::protocols::imap::mode::searchmessage',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'list-attributes' => 'apps::protocols::jmx::mode::listattributes',
'numeric-value' => 'apps::protocols::jmx::mode::numericvalue',
);
'list-attributes' => 'apps::protocols::jmx::mode::listattributes',
'numeric-value' => 'apps::protocols::jmx::mode::numericvalue',
);
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
return $self;

View File

@ -31,9 +31,10 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'login' => 'apps::protocols::ldap::mode::login',
'search' => 'apps::protocols::ldap::mode::search',
);
'login' => 'apps::protocols::ldap::mode::login',
'search' => 'apps::protocols::ldap::mode::search',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'numeric-value' => 'apps::protocols::modbus::mode::numericvalue',
);
'numeric-value' => 'apps::protocols::modbus::mode::numericvalue',
);
$self->{custom_modes}{api} = 'centreon::common::protocols::modbus::custom::api';
return $self;

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'response-time' => 'apps::protocols::ntp::mode::responsetime',
'offset' => 'apps::protocols::ntp::mode::offset',
);
'offset' => 'apps::protocols::ntp::mode::offset',
'response-time' => 'apps::protocols::ntp::mode::responsetime',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'neighbor' => 'apps::protocols::ospf::snmp::mode::neighbor',
);
'neighbor' => 'apps::protocols::ospf::snmp::mode::neighbor',
);
return $self;
}

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'login' => 'apps::protocols::radius::mode::login',
);
'login' => 'apps::protocols::radius::mode::login',
);
return $self;
}

View File

@ -31,9 +31,10 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'login' => 'apps::protocols::smtp::mode::login',
'message' => 'apps::protocols::smtp::mode::message',
);
'login' => 'apps::protocols::smtp::mode::login',
'message' => 'apps::protocols::smtp::mode::message',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'login' => 'apps::protocols::ssh::mode::login',
);
'login' => 'apps::protocols::ssh::mode::login',
);
$self->{custom_modes}{api} = 'centreon::common::protocols::ssh::custom::api';
return $self;

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'response-time' => 'apps::protocols::tcp::mode::responsetime',
);
'response-time' => 'apps::protocols::tcp::mode::responsetime',
);
return $self;
}

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'scenario' => 'apps::protocols::telnet::mode::scenario',
);
'scenario' => 'apps::protocols::telnet::mode::scenario',
);
return $self;
}

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'connection' => 'apps::protocols::udp::mode::connection',
);
'connection' => 'apps::protocols::udp::mode::connection',
);
return $self;
}

View File

@ -31,9 +31,10 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'certificate' => 'apps::protocols::x509::mode::certificate',
'validity' => 'apps::protocols::x509::mode::validity', #legacy mode
);
'certificate' => 'apps::protocols::x509::mode::certificate',
'validity' => 'apps::protocols::x509::mode::validity', #legacy mode
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'job-status' => 'apps::vtom::restapi::mode::jobstatus',
);
'job-status' => 'apps::vtom::restapi::mode::jobstatus',
);
$self->{custom_modes}{api} = 'apps::vtom::restapi::custom::api';
return $self;

View File

@ -25,10 +25,6 @@ use base qw(centreon::plugins::templates::hardware);
use strict;
use warnings;
my $thresholds = {
};
sub set_system {
my ($self, %options) = @_;
@ -96,9 +92,8 @@ sub new {
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
bless $self, $class;
$options{options}->add_options(arguments =>
{
});
$options{options}->add_options(arguments => {
});
return $self;
}

View File

@ -31,18 +31,18 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'cluster-usage' => 'cloud::nutanix::snmp::mode::clusterusage',
'container-usage' => 'cloud::nutanix::snmp::mode::containerusage',
'disk-usage' => 'cloud::nutanix::snmp::mode::diskusage',
'hypervisor-usage' => 'cloud::nutanix::snmp::mode::hypervisorusage',
'list-containers' => 'cloud::nutanix::snmp::mode::listcontainers',
'list-disks' => 'cloud::nutanix::snmp::mode::listdisks',
'list-hypervisors' => 'cloud::nutanix::snmp::mode::listhypervisors',
'list-storage-pools' => 'cloud::nutanix::snmp::mode::liststoragepools',
'list-vms' => 'cloud::nutanix::snmp::mode::listvms',
'storage-pool-usage' => 'cloud::nutanix::snmp::mode::storagepoolusage',
'vm-usage' => 'cloud::nutanix::snmp::mode::vmusage',
);
'cluster-usage' => 'cloud::nutanix::snmp::mode::clusterusage',
'container-usage' => 'cloud::nutanix::snmp::mode::containerusage',
'disk-usage' => 'cloud::nutanix::snmp::mode::diskusage',
'hypervisor-usage' => 'cloud::nutanix::snmp::mode::hypervisorusage',
'list-containers' => 'cloud::nutanix::snmp::mode::listcontainers',
'list-disks' => 'cloud::nutanix::snmp::mode::listdisks',
'list-hypervisors' => 'cloud::nutanix::snmp::mode::listhypervisors',
'list-storage-pools' => 'cloud::nutanix::snmp::mode::liststoragepools',
'list-vms' => 'cloud::nutanix::snmp::mode::listvms',
'storage-pool-usage' => 'cloud::nutanix::snmp::mode::storagepoolusage',
'vm-usage' => 'cloud::nutanix::snmp::mode::vmusage',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'quota-usage' => 'cloud::ovh::restapi::mode::quotausage',
'sms' => 'cloud::ovh::restapi::mode::sms',
);
'quota-usage' => 'cloud::ovh::restapi::mode::quotausage',
'sms' => 'cloud::ovh::restapi::mode::sms',
);
$self->{custom_modes}{api} = 'cloud::ovh::restapi::custom::api';
return $self;

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'alert' => 'notification::highsms::mode::alert',
);
'alert' => 'notification::highsms::mode::alert',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'alert' => 'notification::slack::mode::alert',
);
'alert' => 'notification::slack::mode::alert',
);
return $self;
}

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'list-storages' => 'os::hpux::local::mode::liststorages',
'storage' => 'os::hpux::local::mode::storage',
'inodes' => 'os::hpux::local::mode::inodes',
);
'inodes' => 'os::hpux::local::mode::inodes',
'list-storages' => 'os::hpux::local::mode::liststorages',
'storage' => 'os::hpux::local::mode::storage',
);
return $self;
}

View File

@ -31,14 +31,14 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'cpu' => 'os::hpux::snmp::mode::cpu',
'load' => 'os::hpux::snmp::mode::load',
'memory' => 'os::hpux::snmp::mode::memory',
'process' => 'os::hpux::snmp::mode::process',
'storage' => 'os::hpux::snmp::mode::storage',
'tcpcon' => 'snmp_standard::mode::tcpcon',
'uptime' => 'snmp_standard::mode::uptime',
);
'cpu' => 'os::hpux::snmp::mode::cpu',
'load' => 'os::hpux::snmp::mode::load',
'memory' => 'os::hpux::snmp::mode::memory',
'process' => 'os::hpux::snmp::mode::process',
'storage' => 'os::hpux::snmp::mode::storage',
'tcpcon' => 'snmp_standard::mode::tcpcon',
'uptime' => 'snmp_standard::mode::uptime',
);
return $self;
}

View File

@ -32,11 +32,11 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'hardware' => 'centreon::common::broadcom::megaraid::snmp::mode::hardware',
'performance' => 'storage::avid::isis::snmp::mode::performance',
'status' => 'storage::avid::isis::snmp::mode::status',
'usage' => 'storage::avid::isis::snmp::mode::usage',
);
'hardware' => 'centreon::common::broadcom::megaraid::snmp::mode::hardware',
'performance' => 'storage::avid::isis::snmp::mode::performance',
'status' => 'storage::avid::isis::snmp::mode::status',
'usage' => 'storage::avid::isis::snmp::mode::usage',
);
return $self;
}

View File

@ -32,8 +32,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'health-status' => 'centreon::common::smcli::mode::healthstatus',
);
'health-status' => 'centreon::common::smcli::mode::healthstatus',
);
$self->{custom_modes}{smcli} = 'centreon::common::smcli::custom::custom';
$self->{default} = {
'health-status' => {

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'global-status' => 'storage::dell::TL2000::mode::globalstatus',
);
'global-status' => 'storage::dell::TL2000::mode::globalstatus',
);
return $self;
}

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::dell::compellent::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
);
'hardware' => 'storage::dell::compellent::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'components' => 'storage::dell::fluidfs::snmp::mode::hardware',
'volume-usage' => 'storage::dell::fluidfs::snmp::mode::volumeusage',
);
'components' => 'storage::dell::fluidfs::snmp::mode::hardware',
'volume-usage' => 'storage::dell::fluidfs::snmp::mode::volumeusage',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'centreon::common::adic::tape::snmp::mode::hardware',
);
'hardware' => 'centreon::common::adic::tape::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::emc::DataDomain::mode::hardware',
'filesystem-usage' => 'storage::emc::DataDomain::mode::filesystem',
'replication' => 'storage::emc::DataDomain::mode::replication',
);
'hardware' => 'storage::emc::DataDomain::mode::hardware',
'filesystem-usage' => 'storage::emc::DataDomain::mode::filesystem',
'replication' => 'storage::emc::DataDomain::mode::replication',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'system-status' => 'storage::emc::recoverypoint::ssh::mode::systemstatus',
'monitored-parameters' => 'storage::emc::recoverypoint::ssh::mode::monitoredparameters',
);
'monitored-parameters' => 'storage::emc::recoverypoint::ssh::mode::monitoredparameters',
'system-status' => 'storage::emc::recoverypoint::ssh::mode::systemstatus',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'hardware' => 'storage::emc::symmetrix::dmx34::local::mode::hardware',
);
'hardware' => 'storage::emc::symmetrix::dmx34::local::mode::hardware',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'hardware' => 'storage::emc::symmetrix::vmax::local::mode::hardware',
);
'hardware' => 'storage::emc::symmetrix::vmax::local::mode::hardware',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'server-usage' => 'storage::exagrid::snmp::mode::serverusage',
);
'server-usage' => 'storage::exagrid::snmp::mode::serverusage',
);
return $self;
}

View File

@ -31,12 +31,12 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'cluster-status' => 'centreon::common::bluearc::snmp::mode::clusterstatus',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'hardware' => 'centreon::common::bluearc::snmp::mode::hardware',
'volume-usage' => 'centreon::common::bluearc::snmp::mode::volumeusage',
);
'cluster-status' => 'centreon::common::bluearc::snmp::mode::clusterstatus',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'hardware' => 'centreon::common::bluearc::snmp::mode::hardware',
'volume-usage' => 'centreon::common::bluearc::snmp::mode::volumeusage',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::hitachi::standard::snmp::mode::hardware',
);
'hardware' => 'storage::hitachi::standard::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'cluster-usage' => 'storage::hp::storeonce::restapi::mode::clusterusage',
'fcs-usage' => 'storage::hp::storeonce::restapi::mode::fcsusage',
'nas-usage' => 'storage::hp::storeonce::restapi::mode::nasusage',
'serviceset-usage' => 'storage::hp::storeonce::restapi::mode::servicesetusage',
);
'cluster-usage' => 'storage::hp::storeonce::restapi::mode::clusterusage',
'fcs-usage' => 'storage::hp::storeonce::restapi::mode::fcsusage',
'nas-usage' => 'storage::hp::storeonce::restapi::mode::nasusage',
'serviceset-usage' => 'storage::hp::storeonce::restapi::mode::servicesetusage',
);
$self->{custom_modes}{api} = 'storage::hp::storeonce::restapi::custom::api';
return $self;

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'components' => 'storage::hp::storeonce::ssh::mode::hardware',
);
'components' => 'storage::hp::storeonce::ssh::mode::hardware',
);
$self->{custom_modes}{ssh} = 'storage::hp::storeonce::ssh::custom::custom';
return $self;

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'fc-usage' => 'storage::ibm::fs900::snmp::mode::fcusage',
'arrays-status' => 'storage::ibm::fs900::snmp::mode::arraysstatus',
'arrays-usage' => 'storage::ibm::fs900::snmp::mode::arraysusage',
'hardware' => 'storage::ibm::fs900::snmp::mode::hardware',
);
'arrays-status' => 'storage::ibm::fs900::snmp::mode::arraysstatus',
'arrays-usage' => 'storage::ibm::fs900::snmp::mode::arraysusage',
'fc-usage' => 'storage::ibm::fs900::snmp::mode::fcusage',
'hardware' => 'storage::ibm::fs900::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'components' => 'storage::ibm::storwize::ssh::mode::hardware',
'pool-usage' => 'storage::ibm::storwize::ssh::mode::poolusage',
'eventlog' => 'storage::ibm::storwize::ssh::mode::eventlog',
);
'components' => 'storage::ibm::storwize::ssh::mode::hardware',
'eventlog' => 'storage::ibm::storwize::ssh::mode::eventlog',
'pool-usage' => 'storage::ibm::storwize::ssh::mode::poolusage',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::ibm::ts2900::snmp::mode::hardware',
);
'hardware' => 'storage::ibm::ts2900::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'global-status' => 'storage::ibm::ts3100::snmp::mode::globalstatus',
);
'global-status' => 'storage::ibm::ts3100::snmp::mode::globalstatus',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'global-status' => 'storage::ibm::ts3200::snmp::mode::globalstatus',
);
'global-status' => 'storage::ibm::ts3200::snmp::mode::globalstatus',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'centreon::common::ibm::tapelibrary::snmp::mode::hardware',
);
'hardware' => 'centreon::common::ibm::tapelibrary::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,34 +31,35 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'aggregate-raid-status' => 'storage::netapp::restapi::mode::aggregateraidstatus',
'aggregate-status' => 'storage::netapp::restapi::mode::aggregatestatus',
'aggregate-usage' => 'storage::netapp::restapi::mode::aggregateusage',
'cluster-io' => 'storage::netapp::restapi::mode::clusterio',
'cluster-status' => 'storage::netapp::restapi::mode::clusterstatus',
'cluster-usage' => 'storage::netapp::restapi::mode::clusterusage',
'disk-failed' => 'storage::netapp::restapi::mode::diskfailed',
'disk-spare' => 'storage::netapp::restapi::mode::diskspare',
'fc-port-status' => 'storage::netapp::restapi::mode::fcportstatus',
'list-aggregates' => 'storage::netapp::restapi::mode::listaggregates',
'list-clusters' => 'storage::netapp::restapi::mode::listclusters',
'list-fc-ports' => 'storage::netapp::restapi::mode::listfcports',
'list-luns' => 'storage::netapp::restapi::mode::listluns',
'list-nodes' => 'storage::netapp::restapi::mode::listnodes',
'list-snapmirrors' => 'storage::netapp::restapi::mode::listsnapmirrors',
'list-volumes' => 'storage::netapp::restapi::mode::listvolumes',
'lun-alignment' => 'storage::netapp::restapi::mode::lunalignment',
'lun-online' => 'storage::netapp::restapi::mode::lunonline',
'lun-usage' => 'storage::netapp::restapi::mode::lunusage',
'node-failover-status' => 'storage::netapp::restapi::mode::nodefailoverstatus',
'node-hardware-status' => 'storage::netapp::restapi::mode::nodehardwarestatus',
'qtree-status' => 'storage::netapp::restapi::mode::qtreestatus',
'snapmirror-status' => 'storage::netapp::restapi::mode::snapmirrorstatus',
'snapmirror-usage' => 'storage::netapp::restapi::mode::snapmirrorusage',
'volume-io' => 'storage::netapp::restapi::mode::volumeio',
'volume-status' => 'storage::netapp::restapi::mode::volumestatus',
'volume-usage' => 'storage::netapp::restapi::mode::volumeusage',
);
'aggregate-raid-status' => 'storage::netapp::restapi::mode::aggregateraidstatus',
'aggregate-status' => 'storage::netapp::restapi::mode::aggregatestatus',
'aggregate-usage' => 'storage::netapp::restapi::mode::aggregateusage',
'cluster-io' => 'storage::netapp::restapi::mode::clusterio',
'cluster-status' => 'storage::netapp::restapi::mode::clusterstatus',
'cluster-usage' => 'storage::netapp::restapi::mode::clusterusage',
'disk-failed' => 'storage::netapp::restapi::mode::diskfailed',
'disk-spare' => 'storage::netapp::restapi::mode::diskspare',
'fc-port-status' => 'storage::netapp::restapi::mode::fcportstatus',
'list-aggregates' => 'storage::netapp::restapi::mode::listaggregates',
'list-clusters' => 'storage::netapp::restapi::mode::listclusters',
'list-fc-ports' => 'storage::netapp::restapi::mode::listfcports',
'list-luns' => 'storage::netapp::restapi::mode::listluns',
'list-nodes' => 'storage::netapp::restapi::mode::listnodes',
'list-snapmirrors' => 'storage::netapp::restapi::mode::listsnapmirrors',
'list-volumes' => 'storage::netapp::restapi::mode::listvolumes',
'lun-alignment' => 'storage::netapp::restapi::mode::lunalignment',
'lun-online' => 'storage::netapp::restapi::mode::lunonline',
'lun-usage' => 'storage::netapp::restapi::mode::lunusage',
'node-failover-status' => 'storage::netapp::restapi::mode::nodefailoverstatus',
'node-hardware-status' => 'storage::netapp::restapi::mode::nodehardwarestatus',
'qtree-status' => 'storage::netapp::restapi::mode::qtreestatus',
'snapmirror-status' => 'storage::netapp::restapi::mode::snapmirrorstatus',
'snapmirror-usage' => 'storage::netapp::restapi::mode::snapmirrorusage',
'volume-io' => 'storage::netapp::restapi::mode::volumeio',
'volume-status' => 'storage::netapp::restapi::mode::volumestatus',
'volume-usage' => 'storage::netapp::restapi::mode::volumeusage',
);
$self->{custom_modes}{api} = 'storage::netapp::restapi::custom::restapi';
return $self;
}

View File

@ -33,13 +33,13 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::netgear::readynas::snmp::mode::hardware',
'cpu' => 'snmp_standard::mode::cpu',
'interfaces' => 'snmp_standard::mode::interfaces',
'memory' => 'snmp_standard::mode::memory',
'load' => 'snmp_standard::mode::loadaverage',
'storage' => 'snmp_standard::mode::storage',
);
'cpu' => 'snmp_standard::mode::cpu',
'hardware' => 'storage::netgear::readynas::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'load' => 'snmp_standard::mode::loadaverage',
'memory' => 'snmp_standard::mode::memory',
'storage' => 'snmp_standard::mode::storage',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'volume-usage' => 'storage::nimble::snmp::mode::volumeusage',
'global-stats' => 'storage::nimble::snmp::mode::globalstats',
);
'global-stats' => 'storage::nimble::snmp::mode::globalstats',
'volume-usage' => 'storage::nimble::snmp::mode::volumeusage',
);
return $self;
}

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::overland::neo::snmp::mode::hardware',
'eventlog' => 'storage::overland::neo::snmp::mode::eventlog',
);
'hardware' => 'storage::overland::neo::snmp::mode::hardware',
'eventlog' => 'storage::overland::neo::snmp::mode::eventlog',
);
return $self;
}

View File

@ -31,20 +31,20 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'cpu-detailed' => 'snmp_standard::mode::cpudetailed',
'cpu-cloud' => 'storage::panzura::snmp::mode::cpucloud',
'diskio' => 'snmp_standard::mode::diskio',
'disk-usage-cloud' => 'snmp_standard::mode::diskusage',
'disk-usage-local' => 'storage::panzura::snmp::mode::diskusagelocal',
'load' => 'snmp_standard::mode::loadaverage',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-diskspath' => 'snmp_standard::mode::listdiskspath',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'storage::panzura::snmp::mode::memory',
'ratios' => 'storage::panzura::snmp::mode::ratios',
'swap' => 'snmp_standard::mode::swap',
);
'cpu-detailed' => 'snmp_standard::mode::cpudetailed',
'cpu-cloud' => 'storage::panzura::snmp::mode::cpucloud',
'diskio' => 'snmp_standard::mode::diskio',
'disk-usage-cloud' => 'snmp_standard::mode::diskusage',
'disk-usage-local' => 'storage::panzura::snmp::mode::diskusagelocal',
'load' => 'snmp_standard::mode::loadaverage',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-diskspath' => 'snmp_standard::mode::listdiskspath',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'storage::panzura::snmp::mode::memory',
'ratios' => 'storage::panzura::snmp::mode::ratios',
'swap' => 'snmp_standard::mode::swap',
);
return $self;
}

View File

@ -31,15 +31,15 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'cpu' => 'snmp_standard::mode::cpu',
'hardware' => 'storage::qnap::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'storage::qnap::snmp::mode::memory',
'storage' => 'snmp_standard::mode::storage',
'volume-usage' => 'storage::qnap::snmp::mode::volumeusage',
);
'cpu' => 'snmp_standard::mode::cpu',
'hardware' => 'storage::qnap::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'storage::qnap::snmp::mode::memory',
'storage' => 'snmp_standard::mode::storage',
'volume-usage' => 'storage::qnap::snmp::mode::volumeusage',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::qsan::nas::snmp::mode::hardware',
);
'hardware' => 'storage::qsan::nas::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,20 +31,20 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'compaction' => 'storage::quantum::dxi::ssh::mode::compaction',
'dedupnas' => 'storage::quantum::dxi::ssh::mode::dedupnas',
'dedupvtl' => 'storage::quantum::dxi::ssh::mode::dedupvtl',
'disk-usage' => 'storage::quantum::dxi::ssh::mode::diskusage',
'health' => 'storage::quantum::dxi::ssh::mode::health',
'hostbus-adapter-status' => 'storage::quantum::dxi::ssh::mode::hostbusadapterstatus',
'memory' => 'storage::quantum::dxi::ssh::mode::memory',
'network' => 'storage::quantum::dxi::ssh::mode::network',
'reclamation' => 'storage::quantum::dxi::ssh::mode::reclamation',
'reduction' => 'storage::quantum::dxi::ssh::mode::reduction',
'storage-array-status' => 'storage::quantum::dxi::ssh::mode::storagearraystatus',
'system-status' => 'storage::quantum::dxi::ssh::mode::systemstatus',
'throughput' => 'storage::quantum::dxi::ssh::mode::throughput',
);
'compaction' => 'storage::quantum::dxi::ssh::mode::compaction',
'dedupnas' => 'storage::quantum::dxi::ssh::mode::dedupnas',
'dedupvtl' => 'storage::quantum::dxi::ssh::mode::dedupvtl',
'disk-usage' => 'storage::quantum::dxi::ssh::mode::diskusage',
'health' => 'storage::quantum::dxi::ssh::mode::health',
'hostbus-adapter-status' => 'storage::quantum::dxi::ssh::mode::hostbusadapterstatus',
'memory' => 'storage::quantum::dxi::ssh::mode::memory',
'network' => 'storage::quantum::dxi::ssh::mode::network',
'reclamation' => 'storage::quantum::dxi::ssh::mode::reclamation',
'reduction' => 'storage::quantum::dxi::ssh::mode::reduction',
'storage-array-status' => 'storage::quantum::dxi::ssh::mode::storagearraystatus',
'system-status' => 'storage::quantum::dxi::ssh::mode::systemstatus',
'throughput' => 'storage::quantum::dxi::ssh::mode::throughput',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'storage::storagetek::sl::snmp::mode::hardware',
);
'hardware' => 'storage::storagetek::sl::snmp::mode::hardware',
);
return $self;
}

View File

@ -31,15 +31,15 @@ sub new {
$self->{version} = '1.1';
%{$self->{modes}} = (
'components' => 'storage::synology::snmp::mode::hardware',
'temperature' => 'storage::synology::snmp::mode::temperature',
'ups' => 'storage::synology::snmp::mode::ups',
'cpu' => 'snmp_standard::mode::cpu',
'interfaces' => 'snmp_standard::mode::interfaces',
'memory' => 'snmp_standard::mode::memory',
'load' => 'snmp_standard::mode::loadaverage',
'storage' => 'snmp_standard::mode::storage',
);
'components' => 'storage::synology::snmp::mode::hardware',
'cpu' => 'snmp_standard::mode::cpu',
'interfaces' => 'snmp_standard::mode::interfaces',
'memory' => 'snmp_standard::mode::memory',
'load' => 'snmp_standard::mode::loadaverage',
'storage' => 'snmp_standard::mode::storage',
'temperature' => 'storage::synology::snmp::mode::temperature',
'ups' => 'storage::synology::snmp::mode::ups',
);
return $self;
}

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'hardware' => 'centreon::common::violin::snmp::mode::hardware',
);
'hardware' => 'centreon::common::violin::snmp::mode::hardware',
);
return $self;
}