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->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'update-status' => 'apps::antivirus::clamav::local::mode::updatestatus', 'update-status' => 'apps::antivirus::clamav::local::mode::updatestatus',
); );
return $self; return $self;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$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'; $self->{custom_modes}{api} = 'apps::openvpn::omi::custom::api';
return $self; return $self;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$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'; $self->{custom_modes}{api} = 'centreon::common::protocols::modbus::custom::api';
return $self; return $self;

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$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; return $self;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$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'; $self->{custom_modes}{api} = 'apps::vtom::restapi::custom::api';
return $self; return $self;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -32,8 +32,9 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$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->{custom_modes}{smcli} = 'centreon::common::smcli::custom::custom';
$self->{default} = { $self->{default} = {
'health-status' => { 'health-status' => {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$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; return $self;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$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'; $self->{custom_modes}{ssh} = 'storage::hp::storeonce::ssh::custom::custom';
return $self; return $self;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$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; return $self;
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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