enhance indent
This commit is contained in:
parent
3df35204a3
commit
9816f0d963
|
@ -31,11 +31,11 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'license' => 'apps::citrix::local::mode::license',
|
||||
'session' => 'apps::citrix::local::mode::session',
|
||||
'zone' => 'apps::citrix::local::mode::zone',
|
||||
'folder' => 'apps::citrix::local::mode::folder',
|
||||
);
|
||||
'folder' => 'apps::citrix::local::mode::folder',
|
||||
'license' => 'apps::citrix::local::mode::license',
|
||||
'session' => 'apps::citrix::local::mode::session',
|
||||
'zone' => 'apps::citrix::local::mode::zone',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,13 +31,13 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'list-nodes' => 'apps::cluster::mscs::local::mode::listnodes',
|
||||
'list-resources' => 'apps::cluster::mscs::local::mode::listresources',
|
||||
'network-status' => 'apps::cluster::mscs::local::mode::networkstatus',
|
||||
'node-status' => 'apps::cluster::mscs::local::mode::nodestatus',
|
||||
'resource-status' => 'apps::cluster::mscs::local::mode::resourcestatus',
|
||||
'resourcegroup-status' => 'apps::cluster::mscs::local::mode::resourcegroupstatus',
|
||||
);
|
||||
'list-nodes' => 'apps::cluster::mscs::local::mode::listnodes',
|
||||
'list-resources' => 'apps::cluster::mscs::local::mode::listresources',
|
||||
'network-status' => 'apps::cluster::mscs::local::mode::networkstatus',
|
||||
'node-status' => 'apps::cluster::mscs::local::mode::nodestatus',
|
||||
'resource-status' => 'apps::cluster::mscs::local::mode::resourcestatus',
|
||||
'resourcegroup-status' => 'apps::cluster::mscs::local::mode::resourcegroupstatus',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'temperature' => 'apps::hddtemp::local::mode::temperature',
|
||||
);
|
||||
'temperature' => 'apps::hddtemp::local::mode::temperature',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'stats' => 'apps::java::hibernate::jmx::mode::stats',
|
||||
);
|
||||
'stats' => 'apps::java::hibernate::jmx::mode::stats',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
|
||||
return $self;
|
||||
|
|
|
@ -31,13 +31,13 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'class-count' => 'centreon::common::jvm::mode::classcount',
|
||||
'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage',
|
||||
'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources',
|
||||
'memory' => 'centreon::common::jvm::mode::memory',
|
||||
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
|
||||
'threads' => 'centreon::common::jvm::mode::threads',
|
||||
);
|
||||
'class-count' => 'centreon::common::jvm::mode::classcount',
|
||||
'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage',
|
||||
'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources',
|
||||
'memory' => 'centreon::common::jvm::mode::memory',
|
||||
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
|
||||
'threads' => 'centreon::common::jvm::mode::threads',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
|
||||
return $self;
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'global-stats' => 'apps::java::kafka::jmx::mode::globalstats',
|
||||
);
|
||||
'global-stats' => 'apps::java::kafka::jmx::mode::globalstats',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
|
||||
return $self;
|
||||
|
|
|
@ -31,9 +31,9 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'queue-length' => 'apps::java::peoplesoft::jmx::mode::queuelength',
|
||||
'sessions' => 'apps::java::peoplesoft::jmx::mode::sessions',
|
||||
);
|
||||
'queue-length' => 'apps::java::peoplesoft::jmx::mode::queuelength',
|
||||
'sessions' => 'apps::java::peoplesoft::jmx::mode::sessions',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
|
||||
return $self;
|
||||
|
|
|
@ -31,12 +31,12 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'class-count' => 'centreon::common::jvm::mode::classcount',
|
||||
'memory' => 'centreon::common::jvm::mode::memory',
|
||||
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
|
||||
'threads' => 'centreon::common::jvm::mode::threads',
|
||||
'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager',
|
||||
);
|
||||
'class-count' => 'centreon::common::jvm::mode::classcount',
|
||||
'memory' => 'centreon::common::jvm::mode::memory',
|
||||
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
|
||||
'threads' => 'centreon::common::jvm::mode::threads',
|
||||
'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
|
||||
return $self;
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'stats' => 'apps::java::zookeeper::jmx::mode::stats',
|
||||
);
|
||||
'stats' => 'apps::java::zookeeper::jmx::mode::stats',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
|
||||
return $self;
|
||||
|
|
|
@ -31,13 +31,13 @@ sub new {
|
|||
|
||||
$self->{version} = '1.0';
|
||||
%{$self->{modes}} = (
|
||||
'clients' => 'apps::redis::cli::mode::clients',
|
||||
'commands' => 'apps::redis::cli::mode::commands',
|
||||
'connections' => 'apps::redis::cli::mode::connections',
|
||||
'cpu' => 'apps::redis::cli::mode::cpu',
|
||||
'memory' => 'apps::redis::cli::mode::memory',
|
||||
'persistence' => 'apps::redis::cli::mode::persistence',
|
||||
'replication' => 'apps::redis::cli::mode::replication',
|
||||
'clients' => 'apps::redis::cli::mode::clients',
|
||||
'commands' => 'apps::redis::cli::mode::commands',
|
||||
'connections' => 'apps::redis::cli::mode::connections',
|
||||
'cpu' => 'apps::redis::cli::mode::cpu',
|
||||
'memory' => 'apps::redis::cli::mode::memory',
|
||||
'persistence' => 'apps::redis::cli::mode::persistence',
|
||||
'replication' => 'apps::redis::cli::mode::replication',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{rediscli} = 'apps::redis::cli::custom::rediscli';
|
||||
|
|
|
@ -31,14 +31,15 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'databases-stats' => 'apps::redis::restapi::mode::databasesstats',
|
||||
'cluster-stats' => 'apps::redis::restapi::mode::clusterstats',
|
||||
'list-databases' => 'apps::redis::restapi::mode::listdatabases',
|
||||
'list-nodes' => 'apps::redis::restapi::mode::listnodes',
|
||||
'list-shards' => 'apps::redis::restapi::mode::listshards',
|
||||
'nodes-stats' => 'apps::redis::restapi::mode::nodesstats',
|
||||
'shards-stats' => 'apps::redis::restapi::mode::shardsstats',
|
||||
);
|
||||
'databases-stats' => 'apps::redis::restapi::mode::databasesstats',
|
||||
'cluster-stats' => 'apps::redis::restapi::mode::clusterstats',
|
||||
'list-databases' => 'apps::redis::restapi::mode::listdatabases',
|
||||
'list-nodes' => 'apps::redis::restapi::mode::listnodes',
|
||||
'list-shards' => 'apps::redis::restapi::mode::listshards',
|
||||
'nodes-stats' => 'apps::redis::restapi::mode::nodesstats',
|
||||
'shards-stats' => 'apps::redis::restapi::mode::shardsstats',
|
||||
);
|
||||
|
||||
$self->{custom_modes}{api} = 'apps::redis::restapi::custom::api';
|
||||
return $self;
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'stats' => 'apps::rrdcached::mode::stats',
|
||||
);
|
||||
'stats' => 'apps::rrdcached::mode::stats',
|
||||
);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue