enhance indent

This commit is contained in:
garnier-quentin 2019-10-15 17:40:37 +02:00
parent 3844de5593
commit 208de4c090
12 changed files with 54 additions and 53 deletions

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'license' => 'apps::citrix::local::mode::license', 'folder' => 'apps::citrix::local::mode::folder',
'session' => 'apps::citrix::local::mode::session', 'license' => 'apps::citrix::local::mode::license',
'zone' => 'apps::citrix::local::mode::zone', 'session' => 'apps::citrix::local::mode::session',
'folder' => 'apps::citrix::local::mode::folder', 'zone' => 'apps::citrix::local::mode::zone',
); );
return $self; return $self;
} }

View File

@ -31,13 +31,13 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'list-nodes' => 'apps::cluster::mscs::local::mode::listnodes', 'list-nodes' => 'apps::cluster::mscs::local::mode::listnodes',
'list-resources' => 'apps::cluster::mscs::local::mode::listresources', 'list-resources' => 'apps::cluster::mscs::local::mode::listresources',
'network-status' => 'apps::cluster::mscs::local::mode::networkstatus', 'network-status' => 'apps::cluster::mscs::local::mode::networkstatus',
'node-status' => 'apps::cluster::mscs::local::mode::nodestatus', 'node-status' => 'apps::cluster::mscs::local::mode::nodestatus',
'resource-status' => 'apps::cluster::mscs::local::mode::resourcestatus', 'resource-status' => 'apps::cluster::mscs::local::mode::resourcestatus',
'resourcegroup-status' => 'apps::cluster::mscs::local::mode::resourcegroupstatus', 'resourcegroup-status' => 'apps::cluster::mscs::local::mode::resourcegroupstatus',
); );
return $self; return $self;
} }

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'temperature' => 'apps::hddtemp::local::mode::temperature', 'temperature' => 'apps::hddtemp::local::mode::temperature',
); );
return $self; return $self;
} }

View File

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

View File

@ -31,13 +31,13 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'class-count' => 'centreon::common::jvm::mode::classcount', 'class-count' => 'centreon::common::jvm::mode::classcount',
'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage', 'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage',
'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources', 'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources',
'memory' => 'centreon::common::jvm::mode::memory', 'memory' => 'centreon::common::jvm::mode::memory',
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
'threads' => 'centreon::common::jvm::mode::threads', 'threads' => 'centreon::common::jvm::mode::threads',
); );
$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,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$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'; $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
return $self; return $self;

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'queue-length' => 'apps::java::peoplesoft::jmx::mode::queuelength', 'queue-length' => 'apps::java::peoplesoft::jmx::mode::queuelength',
'sessions' => 'apps::java::peoplesoft::jmx::mode::sessions', 'sessions' => 'apps::java::peoplesoft::jmx::mode::sessions',
); );
$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,12 +31,12 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'class-count' => 'centreon::common::jvm::mode::classcount', 'class-count' => 'centreon::common::jvm::mode::classcount',
'memory' => 'centreon::common::jvm::mode::memory', 'memory' => 'centreon::common::jvm::mode::memory',
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
'threads' => 'centreon::common::jvm::mode::threads', 'threads' => 'centreon::common::jvm::mode::threads',
'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager', 'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager',
); );
$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,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$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'; $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
return $self; return $self;

View File

@ -31,13 +31,13 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'clients' => 'apps::redis::cli::mode::clients', 'clients' => 'apps::redis::cli::mode::clients',
'commands' => 'apps::redis::cli::mode::commands', 'commands' => 'apps::redis::cli::mode::commands',
'connections' => 'apps::redis::cli::mode::connections', 'connections' => 'apps::redis::cli::mode::connections',
'cpu' => 'apps::redis::cli::mode::cpu', 'cpu' => 'apps::redis::cli::mode::cpu',
'memory' => 'apps::redis::cli::mode::memory', 'memory' => 'apps::redis::cli::mode::memory',
'persistence' => 'apps::redis::cli::mode::persistence', 'persistence' => 'apps::redis::cli::mode::persistence',
'replication' => 'apps::redis::cli::mode::replication', 'replication' => 'apps::redis::cli::mode::replication',
); );
$self->{custom_modes}{rediscli} = 'apps::redis::cli::custom::rediscli'; $self->{custom_modes}{rediscli} = 'apps::redis::cli::custom::rediscli';

View File

@ -31,14 +31,15 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'databases-stats' => 'apps::redis::restapi::mode::databasesstats', 'databases-stats' => 'apps::redis::restapi::mode::databasesstats',
'cluster-stats' => 'apps::redis::restapi::mode::clusterstats', 'cluster-stats' => 'apps::redis::restapi::mode::clusterstats',
'list-databases' => 'apps::redis::restapi::mode::listdatabases', 'list-databases' => 'apps::redis::restapi::mode::listdatabases',
'list-nodes' => 'apps::redis::restapi::mode::listnodes', 'list-nodes' => 'apps::redis::restapi::mode::listnodes',
'list-shards' => 'apps::redis::restapi::mode::listshards', 'list-shards' => 'apps::redis::restapi::mode::listshards',
'nodes-stats' => 'apps::redis::restapi::mode::nodesstats', 'nodes-stats' => 'apps::redis::restapi::mode::nodesstats',
'shards-stats' => 'apps::redis::restapi::mode::shardsstats', 'shards-stats' => 'apps::redis::restapi::mode::shardsstats',
); );
$self->{custom_modes}{api} = 'apps::redis::restapi::custom::api'; $self->{custom_modes}{api} = 'apps::redis::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}} = (
'stats' => 'apps::rrdcached::mode::stats', 'stats' => 'apps::rrdcached::mode::stats',
); );
return $self; return $self;
} }