enhance indent
This commit is contained in:
parent
77bd11a3dc
commit
33f3c92c23
|
@ -31,12 +31,13 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'apps-state' => 'cloud::cloudfoundry::restapi::mode::appsstate',
|
||||
'instances-state' => 'cloud::cloudfoundry::restapi::mode::instancesstate',
|
||||
'list-apps' => 'cloud::cloudfoundry::restapi::mode::listapps',
|
||||
'list-organizations' => 'cloud::cloudfoundry::restapi::mode::listorganizations',
|
||||
'list-spaces' => 'cloud::cloudfoundry::restapi::mode::listspaces',
|
||||
);
|
||||
'apps-state' => 'cloud::cloudfoundry::restapi::mode::appsstate',
|
||||
'instances-state' => 'cloud::cloudfoundry::restapi::mode::instancesstate',
|
||||
'list-apps' => 'cloud::cloudfoundry::restapi::mode::listapps',
|
||||
'list-organizations' => 'cloud::cloudfoundry::restapi::mode::listorganizations',
|
||||
'list-spaces' => 'cloud::cloudfoundry::restapi::mode::listspaces',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{restapi} = 'cloud::cloudfoundry::restapi::custom::api';
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,21 +31,15 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'events' => 'cloud::ibm::softlayer::mode::events',
|
||||
'open-tickets' => 'cloud::ibm::softlayer::mode::opentickets',
|
||||
);
|
||||
'events' => 'cloud::ibm::softlayer::mode::events',
|
||||
'open-tickets' => 'cloud::ibm::softlayer::mode::opentickets',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{xmlapi} = 'cloud::ibm::softlayer::custom::xmlapi';
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
sub init {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
$self->SUPER::init(%options);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
__END__
|
||||
|
|
|
@ -32,14 +32,14 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'users' => 'database::firebird::mode::users',
|
||||
'pages' => 'database::firebird::mode::pages',
|
||||
'memory' => 'database::firebird::mode::memory',
|
||||
'queries' => 'database::firebird::mode::queries',
|
||||
'long-queries' => 'database::firebird::mode::longqueries',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
);
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'users' => 'database::firebird::mode::users',
|
||||
'pages' => 'database::firebird::mode::pages',
|
||||
'memory' => 'database::firebird::mode::memory',
|
||||
'queries' => 'database::firebird::mode::queries',
|
||||
'long-queries' => 'database::firebird::mode::longqueries',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
@ -48,12 +48,12 @@ sub init {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
$self->{options}->add_options(
|
||||
arguments => {
|
||||
'host:s@' => { name => 'db_host' },
|
||||
'port:s@' => { name => 'db_port' },
|
||||
'database:s@' => { name => 'db_name' },
|
||||
}
|
||||
);
|
||||
arguments => {
|
||||
'host:s@' => { name => 'db_host' },
|
||||
'port:s@' => { name => 'db_port' },
|
||||
'database:s@' => { name => 'db_name' },
|
||||
}
|
||||
);
|
||||
$self->{options}->parse_options();
|
||||
my $options_result = $self->{options}->get_options();
|
||||
$self->{options}->clean();
|
||||
|
|
|
@ -33,21 +33,21 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'archivelevel0' => 'database::informix::sql::mode::archivelevel0',
|
||||
'checkpoints' => 'database::informix::sql::mode::checkpoints',
|
||||
'chunkstates' => 'database::informix::sql::mode::chunkstates',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'global-cache' => 'database::informix::sql::mode::globalcache',
|
||||
'list-dbspaces' => 'database::informix::sql::mode::listdbspaces',
|
||||
'list-databases' => 'database::informix::sql::mode::listdatabases',
|
||||
'lockoverflow' => 'database::informix::sql::mode::lockoverflow',
|
||||
'longtxs' => 'database::informix::sql::mode::longtxs',
|
||||
'dbspace-usage' => 'database::informix::sql::mode::dbspacesusage',
|
||||
'logfile-usage' => 'database::informix::sql::mode::logfilesusage',
|
||||
'sessions' => 'database::informix::sql::mode::sessions',
|
||||
'table-locks' => 'database::informix::sql::mode::tablelocks',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
);
|
||||
'archivelevel0' => 'database::informix::sql::mode::archivelevel0',
|
||||
'checkpoints' => 'database::informix::sql::mode::checkpoints',
|
||||
'chunkstates' => 'database::informix::sql::mode::chunkstates',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'global-cache' => 'database::informix::sql::mode::globalcache',
|
||||
'list-dbspaces' => 'database::informix::sql::mode::listdbspaces',
|
||||
'list-databases' => 'database::informix::sql::mode::listdatabases',
|
||||
'lockoverflow' => 'database::informix::sql::mode::lockoverflow',
|
||||
'longtxs' => 'database::informix::sql::mode::longtxs',
|
||||
'dbspace-usage' => 'database::informix::sql::mode::dbspacesusage',
|
||||
'logfile-usage' => 'database::informix::sql::mode::logfilesusage',
|
||||
'sessions' => 'database::informix::sql::mode::sessions',
|
||||
'table-locks' => 'database::informix::sql::mode::tablelocks',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
@ -56,12 +56,12 @@ sub init {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
$self->{options}->add_options(
|
||||
arguments => {
|
||||
'host:s@' => { name => 'db_host' },
|
||||
'port:s@' => { name => 'db_port' },
|
||||
'instance:s@' => { name => 'db_instance' },
|
||||
}
|
||||
);
|
||||
arguments => {
|
||||
'host:s@' => { name => 'db_host' },
|
||||
'port:s@' => { name => 'db_port' },
|
||||
'instance:s@' => { name => 'db_instance' },
|
||||
}
|
||||
);
|
||||
$self->{options}->parse_options();
|
||||
my $options_result = $self->{options}->get_options();
|
||||
$self->{options}->clean();
|
||||
|
|
|
@ -32,19 +32,20 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'backends' => 'database::postgres::mode::backends',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'database-size' => 'database::postgres::mode::databasesize',
|
||||
'hitratio' => 'database::postgres::mode::hitratio',
|
||||
'locks' => 'database::postgres::mode::locks',
|
||||
'list-databases' => 'database::postgres::mode::listdatabases',
|
||||
'query-time' => 'database::postgres::mode::querytime',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
'statistics' => 'database::postgres::mode::statistics',
|
||||
'tablespace' => 'database::postgres::mode::tablespace',
|
||||
'timesync' => 'database::postgres::mode::timesync',
|
||||
'vacuum' => 'database::postgres::mode::vacuum',
|
||||
);
|
||||
'backends' => 'database::postgres::mode::backends',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'database-size' => 'database::postgres::mode::databasesize',
|
||||
'hitratio' => 'database::postgres::mode::hitratio',
|
||||
'locks' => 'database::postgres::mode::locks',
|
||||
'list-databases' => 'database::postgres::mode::listdatabases',
|
||||
'query-time' => 'database::postgres::mode::querytime',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
'statistics' => 'database::postgres::mode::statistics',
|
||||
'tablespace' => 'database::postgres::mode::tablespace',
|
||||
'timesync' => 'database::postgres::mode::timesync',
|
||||
'vacuum' => 'database::postgres::mode::vacuum',
|
||||
);
|
||||
|
||||
$self->{sql_modes}{psqlcmd} = 'database::postgres::psqlcmd';
|
||||
return $self;
|
||||
}
|
||||
|
@ -53,12 +54,12 @@ sub init {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
$self->{options}->add_options(
|
||||
arguments => {
|
||||
'host:s@' => { name => 'db_host' },
|
||||
'port:s@' => { name => 'db_port' },
|
||||
'database:s@' => { name => 'db_name' },
|
||||
}
|
||||
);
|
||||
arguments => {
|
||||
'host:s@' => { name => 'db_host' },
|
||||
'port:s@' => { name => 'db_port' },
|
||||
'database:s@' => { name => 'db_name' },
|
||||
}
|
||||
);
|
||||
$self->{options}->parse_options();
|
||||
my $options_result = $self->{options}->get_options();
|
||||
$self->{options}->clean();
|
||||
|
|
|
@ -32,15 +32,15 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'blocked-transactions' => 'database::sap::hana::mode::blockedtransactions',
|
||||
'connected-users' => 'database::sap::hana::mode::connectedusers',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'disk-usage' => 'database::sap::hana::mode::diskusage',
|
||||
'host-memory' => 'database::sap::hana::mode::hostmemory',
|
||||
'host-cpu' => 'database::sap::hana::mode::hostcpu',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
'volume-usage' => 'database::sap::hana::mode::volumeusage',
|
||||
);
|
||||
'blocked-transactions' => 'database::sap::hana::mode::blockedtransactions',
|
||||
'connected-users' => 'database::sap::hana::mode::connectedusers',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'disk-usage' => 'database::sap::hana::mode::diskusage',
|
||||
'host-memory' => 'database::sap::hana::mode::hostmemory',
|
||||
'host-cpu' => 'database::sap::hana::mode::hostcpu',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
'volume-usage' => 'database::sap::hana::mode::volumeusage',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
@ -49,12 +49,12 @@ sub init {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
$self->{options}->add_options(
|
||||
arguments => {
|
||||
'servernode:s@' => { name => 'servernode' },
|
||||
'port:s@' => { name => 'port' },
|
||||
'database:s' => { name => 'database' },
|
||||
}
|
||||
);
|
||||
arguments => {
|
||||
'servernode:s@' => { name => 'servernode' },
|
||||
'port:s@' => { name => 'port' },
|
||||
'database:s' => { name => 'database' },
|
||||
}
|
||||
);
|
||||
$self->{options}->parse_options();
|
||||
my $options_result = $self->{options}->get_options();
|
||||
$self->{options}->clean();
|
||||
|
|
|
@ -32,12 +32,12 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'blocked-processes' => 'database::sybase::mode::blockedprocesses',
|
||||
'connected-users' => 'database::sybase::mode::connectedusers',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'databases-size' => 'database::sybase::mode::databasessize',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
);
|
||||
'blocked-processes' => 'database::sybase::mode::blockedprocesses',
|
||||
'connected-users' => 'database::sybase::mode::connectedusers',
|
||||
'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime',
|
||||
'databases-size' => 'database::sybase::mode::databasessize',
|
||||
'sql' => 'centreon::common::protocols::sql::mode::sql',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
@ -46,13 +46,13 @@ sub init {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
$self->{options}->add_options(
|
||||
arguments => {
|
||||
'hostname:s@' => { name => 'hostname' },
|
||||
'port:s@' => { name => 'port' },
|
||||
'tds-level:s@' => { name => 'tds_level' },
|
||||
'database:s' => { name => 'database' },
|
||||
}
|
||||
);
|
||||
arguments => {
|
||||
'hostname:s@' => { name => 'hostname' },
|
||||
'port:s@' => { name => 'port' },
|
||||
'tds-level:s@' => { name => 'tds_level' },
|
||||
'database:s' => { name => 'database' },
|
||||
}
|
||||
);
|
||||
$self->{options}->parse_options();
|
||||
my $options_result = $self->{options}->get_options();
|
||||
$self->{options}->clean();
|
||||
|
|
|
@ -31,10 +31,10 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'device-status' => 'hardware::ats::apc::snmp::mode::devicestatus',
|
||||
'input-lines' => 'hardware::ats::apc::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ats::apc::snmp::mode::outputlines',
|
||||
);
|
||||
'device-status' => 'hardware::ats::apc::snmp::mode::devicestatus',
|
||||
'input-lines' => 'hardware::ats::apc::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ats::apc::snmp::mode::outputlines',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,10 +31,10 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'global-status' => 'hardware::devices::gorgy::ntpserver::snmp::mode::globalstatus',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
);
|
||||
'global-status' => 'hardware::devices::gorgy::ntpserver::snmp::mode::globalstatus',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,10 +31,10 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'gps-status' => 'hardware::devices::masterclock::ntp100gps::snmp::mode::gpsstatus',
|
||||
'ntp-performance' => 'hardware::devices::masterclock::ntp100gps::snmp::mode::ntpperformance',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
'gps-status' => 'hardware::devices::masterclock::ntp100gps::snmp::mode::gpsstatus',
|
||||
'ntp-performance' => 'hardware::devices::masterclock::ntp100gps::snmp::mode::ntpperformance',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::devices::safenet::hsm::protecttoolkit::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::devices::safenet::hsm::protecttoolkit::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,14 +31,14 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'connections' => 'centreon::common::ingrian::snmp::mode::connections',
|
||||
'cpu' => 'centreon::common::ingrian::snmp::mode::cpu',
|
||||
'disk' => 'centreon::common::ingrian::snmp::mode::disk',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'centreon::common::ingrian::snmp::mode::memory',
|
||||
'request-stats' => 'centreon::common::ingrian::snmp::mode::requeststats',
|
||||
);
|
||||
'connections' => 'centreon::common::ingrian::snmp::mode::connections',
|
||||
'cpu' => 'centreon::common::ingrian::snmp::mode::cpu',
|
||||
'disk' => 'centreon::common::ingrian::snmp::mode::disk',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'centreon::common::ingrian::snmp::mode::memory',
|
||||
'request-stats' => 'centreon::common::ingrian::snmp::mode::requeststats',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'alarms' => 'hardware::devices::video::appeartv::snmp::mode::alarms',
|
||||
);
|
||||
'alarms' => 'hardware::devices::video::appeartv::snmp::mode::alarms',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,11 +31,11 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'cpu-detailed' => 'snmp_standard::mode::cpudetailed',
|
||||
'hardware' => 'hardware::kvm::avocent::acs::6000::snmp::mode::hardware',
|
||||
'load' => 'snmp_standard::mode::loadaverage',
|
||||
'memory' => 'snmp_standard::mode::memory',
|
||||
);
|
||||
'cpu-detailed' => 'snmp_standard::mode::cpudetailed',
|
||||
'hardware' => 'hardware::kvm::avocent::acs::6000::snmp::mode::hardware',
|
||||
'load' => 'snmp_standard::mode::loadaverage',
|
||||
'memory' => 'snmp_standard::mode::memory',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,10 +31,10 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'load' => 'hardware::pdu::apc::snmp::mode::load',
|
||||
'hardware' => 'hardware::pdu::apc::snmp::mode::hardware',
|
||||
'outlet' => 'hardware::pdu::apc::snmp::mode::outlet',
|
||||
);
|
||||
'load' => 'hardware::pdu::apc::snmp::mode::load',
|
||||
'hardware' => 'hardware::pdu::apc::snmp::mode::hardware',
|
||||
'outlet' => 'hardware::pdu::apc::snmp::mode::outlet',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'ps-usage' => 'hardware::pdu::clever::snmp::mode::psusage',
|
||||
);
|
||||
'ps-usage' => 'hardware::pdu::clever::snmp::mode::psusage',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,10 +31,10 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'inlet-sensors' => 'hardware::pdu::raritan::snmp::mode::inletsensors',
|
||||
'outlet-sensors' => 'hardware::pdu::raritan::snmp::mode::outletsensors',
|
||||
'ocprot-sensors' => 'hardware::pdu::raritan::snmp::mode::ocprotsensors',
|
||||
);
|
||||
'inlet-sensors' => 'hardware::pdu::raritan::snmp::mode::inletsensors',
|
||||
'outlet-sensors' => 'hardware::pdu::raritan::snmp::mode::outletsensors',
|
||||
'ocprot-sensors' => 'hardware::pdu::raritan::snmp::mode::ocprotsensors',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,13 +31,13 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'cover-status' => 'hardware::printers::standard::rfc3805::mode::coverstatus',
|
||||
'markersupply-usage' => 'hardware::printers::standard::rfc3805::mode::markersupply',
|
||||
'marker-impression' => 'hardware::printers::standard::rfc3805::mode::markerimpression',
|
||||
'papertray-usage' => 'hardware::printers::standard::rfc3805::mode::papertray',
|
||||
'hardware-device' => 'snmp_standard::mode::hardwaredevice',
|
||||
'printer-error' => 'snmp_standard::mode::printererror',
|
||||
);
|
||||
'cover-status' => 'hardware::printers::standard::rfc3805::mode::coverstatus',
|
||||
'hardware-device' => 'snmp_standard::mode::hardwaredevice',
|
||||
'markersupply-usage' => 'hardware::printers::standard::rfc3805::mode::markersupply',
|
||||
'marker-impression' => 'hardware::printers::standard::rfc3805::mode::markerimpression',
|
||||
'papertray-usage' => 'hardware::printers::standard::rfc3805::mode::papertray',
|
||||
'printer-error' => 'snmp_standard::mode::printererror',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'sensors' => 'hardware::sensors::akcp::snmp::mode::sensors',
|
||||
);
|
||||
'sensors' => 'hardware::sensors::akcp::snmp::mode::sensors',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.9';
|
||||
%{$self->{modes}} = (
|
||||
'sensors' => 'hardware::sensors::hwgste::snmp::mode::sensors',
|
||||
);
|
||||
'sensors' => 'hardware::sensors::hwgste::snmp::mode::sensors',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'sensors' => 'hardware::sensors::jacarta::snmp::mode::sensors',
|
||||
);
|
||||
'sensors' => 'hardware::sensors::jacarta::snmp::mode::sensors',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'sensors' => 'hardware::sensors::sensorip::snmp::mode::sensors',
|
||||
);
|
||||
'sensors' => 'hardware::sensors::sensorip::snmp::mode::sensors',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,14 +31,14 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'contact' => 'hardware::sensors::sensormetrix::em01::web::mode::contact',
|
||||
'temperature' => 'hardware::sensors::sensormetrix::em01::web::mode::temperature',
|
||||
'humidity' => 'hardware::sensors::sensormetrix::em01::web::mode::humidity',
|
||||
'illumination' => 'hardware::sensors::sensormetrix::em01::web::mode::illumination',
|
||||
'flood' => 'hardware::sensors::sensormetrix::em01::web::mode::flood',
|
||||
'thermistor' => 'hardware::sensors::sensormetrix::em01::web::mode::thermistor',
|
||||
'voltage' => 'hardware::sensors::sensormetrix::em01::web::mode::voltage',
|
||||
);
|
||||
'contact' => 'hardware::sensors::sensormetrix::em01::web::mode::contact',
|
||||
'temperature' => 'hardware::sensors::sensormetrix::em01::web::mode::temperature',
|
||||
'humidity' => 'hardware::sensors::sensormetrix::em01::web::mode::humidity',
|
||||
'illumination' => 'hardware::sensors::sensormetrix::em01::web::mode::illumination',
|
||||
'flood' => 'hardware::sensors::sensormetrix::em01::web::mode::flood',
|
||||
'thermistor' => 'hardware::sensors::sensormetrix::em01::web::mode::thermistor',
|
||||
'voltage' => 'hardware::sensors::sensormetrix::em01::web::mode::voltage',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'sensors' => 'hardware::sensors::serverscheck::sensorgateway::snmp::mode::sensors',
|
||||
);
|
||||
'sensors' => 'hardware::sensors::serverscheck::sensorgateway::snmp::mode::sensors',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -29,8 +29,9 @@ sub new {
|
|||
my $self = $class->SUPER::new(package => __PACKAGE__, %options);
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::sensors::temperhum::local::mode::environment',
|
||||
);
|
||||
'environment' => 'hardware::sensors::temperhum::local::mode::environment',
|
||||
);
|
||||
|
||||
return $self;}
|
||||
1;
|
||||
|
||||
|
|
|
@ -31,11 +31,11 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'equipment' => 'hardware::server::cisco::ucs::mode::equipment',
|
||||
'faults' => 'hardware::server::cisco::ucs::mode::faults',
|
||||
'audit-logs' => 'hardware::server::cisco::ucs::mode::auditlogs',
|
||||
'service-profile' => 'hardware::server::cisco::ucs::mode::serviceprofile',
|
||||
);
|
||||
'equipment' => 'hardware::server::cisco::ucs::mode::equipment',
|
||||
'faults' => 'hardware::server::cisco::ucs::mode::faults',
|
||||
'audit-logs' => 'hardware::server::cisco::ucs::mode::auditlogs',
|
||||
'service-profile' => 'hardware::server::cisco::ucs::mode::serviceprofile',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::dell::cmc::snmp::mode::hardware',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
'hardware' => 'hardware::server::dell::cmc::snmp::mode::hardware',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'global-status' => 'hardware::server::dell::idrac::snmp::mode::globalstatus',
|
||||
'hardware' => 'hardware::server::dell::idrac::snmp::mode::hardware',
|
||||
);
|
||||
'global-status' => 'hardware::server::dell::idrac::snmp::mode::globalstatus',
|
||||
'hardware' => 'hardware::server::dell::idrac::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::dell::openmanage::snmp::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::dell::openmanage::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::fujitsu::snmp::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::fujitsu::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::hp::bladechassis::snmp::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::hp::bladechassis::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::hp::ilo::xmlapi::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::hp::ilo::xmlapi::mode::hardware',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{api} = 'hardware::server::hp::ilo::xmlapi::custom::api';
|
||||
return $self;
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'global-status' => 'hardware::server::hp::proliant::snmp::mode::globalstatus',
|
||||
'hardware' => 'hardware::server::hp::proliant::snmp::mode::hardware',
|
||||
);
|
||||
'global-status' => 'hardware::server::hp::proliant::snmp::mode::globalstatus',
|
||||
'hardware' => 'hardware::server::hp::proliant::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'blade' => 'hardware::server::huawei::hmm::snmp::mode::blade',
|
||||
'chassis' => 'hardware::server::huawei::hmm::snmp::mode::chassis',
|
||||
);
|
||||
'blade' => 'hardware::server::huawei::hmm::snmp::mode::blade',
|
||||
'chassis' => 'hardware::server::huawei::hmm::snmp::mode::chassis',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::huawei::ibmc::snmp::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::huawei::ibmc::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::ibm::bladecenter::snmp::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::ibm::bladecenter::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'hardware-errors' => 'hardware::server::ibm::hmc::ssh::mode::hardwareerrors',
|
||||
'led-status' => 'hardware::server::ibm::hmc::ssh::mode::ledstatus',
|
||||
);
|
||||
'hardware-errors' => 'hardware::server::ibm::hmc::ssh::mode::hardwareerrors',
|
||||
'led-status' => 'hardware::server::ibm::hmc::ssh::mode::ledstatus',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::server::ibm::mgmt_cards::imm::snmp::mode::environment',
|
||||
'eventlog' => 'hardware::server::ibm::mgmt_cards::imm::snmp::mode::eventlog',
|
||||
);
|
||||
'environment' => 'hardware::server::ibm::mgmt_cards::imm::snmp::mode::environment',
|
||||
'eventlog' => 'hardware::server::ibm::mgmt_cards::imm::snmp::mode::eventlog',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::sun::mseries::mode::hardware',
|
||||
'domains' => 'hardware::server::sun::mseries::mode::domains',
|
||||
);
|
||||
'domains' => 'hardware::server::sun::mseries::mode::domains',
|
||||
'hardware' => 'hardware::server::sun::mseries::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,10 +31,10 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::server::sun::sfxxk::mode::environment',
|
||||
'boards' => 'hardware::server::sun::sfxxk::mode::boards',
|
||||
'failover' => 'hardware::server::sun::sfxxk::mode::failover',
|
||||
);
|
||||
'boards' => 'hardware::server::sun::sfxxk::mode::boards',
|
||||
'environment' => 'hardware::server::sun::sfxxk::mode::environment',
|
||||
'failover' => 'hardware::server::sun::sfxxk::mode::failover',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'hardware::server::supermicro::snmp::mode::hardware',
|
||||
);
|
||||
'hardware' => 'hardware::server::supermicro::snmp::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,12 +31,12 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::ups::mge::snmp::mode::environment',
|
||||
'input-lines' => 'hardware::ups::mge::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::mge::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::mge::snmp::mode::outputsource',
|
||||
'battery-status' => 'hardware::ups::mge::snmp::mode::batterystatus',
|
||||
);
|
||||
'battery-status' => 'hardware::ups::mge::snmp::mode::batterystatus',
|
||||
'environment' => 'hardware::ups::mge::snmp::mode::environment',
|
||||
'input-lines' => 'hardware::ups::mge::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::mge::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::mge::snmp::mode::outputsource',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,13 +31,13 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::ups::powerware::snmp::mode::environment',
|
||||
'input-lines' => 'hardware::ups::powerware::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::powerware::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::powerware::snmp::mode::outputsource',
|
||||
'alarms' => 'hardware::ups::powerware::snmp::mode::alarms',
|
||||
'battery-status' => 'hardware::ups::powerware::snmp::mode::batterystatus',
|
||||
);
|
||||
'alarms' => 'hardware::ups::powerware::snmp::mode::alarms',
|
||||
'battery-status' => 'hardware::ups::powerware::snmp::mode::batterystatus',
|
||||
'environment' => 'hardware::ups::powerware::snmp::mode::environment',
|
||||
'input-lines' => 'hardware::ups::powerware::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::powerware::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::powerware::snmp::mode::outputsource',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,12 +31,12 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'battery-status' => 'hardware::ups::standard::rfc1628::snmp::mode::batterystatus',
|
||||
'input-lines' => 'hardware::ups::standard::rfc1628::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::standard::rfc1628::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::standard::rfc1628::snmp::mode::outputsource',
|
||||
'alarms' => 'hardware::ups::standard::rfc1628::snmp::mode::alarms',
|
||||
);
|
||||
'alarms' => 'hardware::ups::standard::rfc1628::snmp::mode::alarms',
|
||||
'battery-status' => 'hardware::ups::standard::rfc1628::snmp::mode::batterystatus',
|
||||
'input-lines' => 'hardware::ups::standard::rfc1628::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::standard::rfc1628::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::standard::rfc1628::snmp::mode::outputsource',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,12 +31,12 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'cpu' => 'network::3com::snmp::mode::cpu',
|
||||
'hardware' => 'network::3com::snmp::mode::hardware',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'network::3com::snmp::mode::memory',
|
||||
);
|
||||
'cpu' => 'network::3com::snmp::mode::cpu',
|
||||
'hardware' => 'network::3com::snmp::mode::hardware',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'network::3com::snmp::mode::memory',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,15 +31,15 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'hardware' => 'network::acmepacket::snmp::mode::hardware',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'list-realm' => 'network::acmepacket::snmp::mode::listrealm',
|
||||
'list-sip' => 'network::acmepacket::snmp::mode::listsip',
|
||||
'realm-usage' => 'network::acmepacket::snmp::mode::realmusage',
|
||||
'sip-usage' => 'network::acmepacket::snmp::mode::sipusage',
|
||||
'system-usage' => 'network::acmepacket::snmp::mode::systemusage',
|
||||
);
|
||||
'hardware' => 'network::acmepacket::snmp::mode::hardware',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'list-realm' => 'network::acmepacket::snmp::mode::listrealm',
|
||||
'list-sip' => 'network::acmepacket::snmp::mode::listsip',
|
||||
'realm-usage' => 'network::acmepacket::snmp::mode::realmusage',
|
||||
'sip-usage' => 'network::acmepacket::snmp::mode::sipusage',
|
||||
'system-usage' => 'network::acmepacket::snmp::mode::systemusage',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,14 +31,14 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'cpu' => 'snmp_standard::mode::cpu',
|
||||
'entity' => 'snmp_standard::mode::entity',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'network::arista::snmp::mode::memory',
|
||||
'tcpcon' => 'snmp_standard::mode::tcpcon',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
'cpu' => 'snmp_standard::mode::cpu',
|
||||
'entity' => 'snmp_standard::mode::entity',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'network::arista::snmp::mode::memory',
|
||||
'tcpcon' => 'snmp_standard::mode::tcpcon',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -32,13 +32,13 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'list-zaps' => 'network::mitel::3300icp::snmp::mode::listzaps',
|
||||
'licenses' => 'network::mitel::3300icp::snmp::mode::licenses',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
'zap-bandwidth' => 'network::mitel::3300icp::snmp::mode::zapbandwidth',
|
||||
'zap-calls' => 'network::mitel::3300icp::snmp::mode::zapcalls',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'list-zaps' => 'network::mitel::3300icp::snmp::mode::listzaps',
|
||||
'licenses' => 'network::mitel::3300icp::snmp::mode::licenses',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
'zap-bandwidth' => 'network::mitel::3300icp::snmp::mode::zapbandwidth',
|
||||
'zap-calls' => 'network::mitel::3300icp::snmp::mode::zapcalls',
|
||||
);
|
||||
|
||||
return $self;
|
||||
|
|
|
@ -31,12 +31,12 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'cpu' => 'network::moxa::switch::snmp::mode::cpu',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'network::moxa::switch::snmp::mode::memory',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
'cpu' => 'network::moxa::switch::snmp::mode::cpu',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'network::moxa::switch::snmp::mode::memory',
|
||||
'uptime' => 'snmp_standard::mode::uptime',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,17 +31,17 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'memory' => 'network::stonesoft::snmp::mode::memory',
|
||||
'cpu' => 'network::stonesoft::snmp::mode::cpu',
|
||||
'connections' => 'network::stonesoft::snmp::mode::connections',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'storage' => 'network::stonesoft::snmp::mode::storage',
|
||||
'cluster-state' => 'network::stonesoft::snmp::mode::clusterstate',
|
||||
'cluster-load' => 'network::stonesoft::snmp::mode::clusterload',
|
||||
'rejected-packets' => 'network::stonesoft::snmp::mode::rejectedpackets',
|
||||
'dropped-packets' => 'network::stonesoft::snmp::mode::droppedpackets',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
);
|
||||
'memory' => 'network::stonesoft::snmp::mode::memory',
|
||||
'cpu' => 'network::stonesoft::snmp::mode::cpu',
|
||||
'connections' => 'network::stonesoft::snmp::mode::connections',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'storage' => 'network::stonesoft::snmp::mode::storage',
|
||||
'cluster-state' => 'network::stonesoft::snmp::mode::clusterstate',
|
||||
'cluster-load' => 'network::stonesoft::snmp::mode::clusterload',
|
||||
'rejected-packets' => 'network::stonesoft::snmp::mode::rejectedpackets',
|
||||
'dropped-packets' => 'network::stonesoft::snmp::mode::droppedpackets',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,12 +31,12 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'cpu' => 'centreon::common::broadcom::fastpath::snmp::mode::cpu',
|
||||
'hardware' => 'centreon::common::broadcom::fastpath::snmp::mode::hardware',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'centreon::common::broadcom::fastpath::snmp::mode::memory',
|
||||
);
|
||||
'cpu' => 'centreon::common::broadcom::fastpath::snmp::mode::cpu',
|
||||
'hardware' => 'centreon::common::broadcom::fastpath::snmp::mode::hardware',
|
||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||
'memory' => 'centreon::common::broadcom::fastpath::snmp::mode::memory',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue