From bd5f092365356fb3804a078175c9d1190fa6b0e4 Mon Sep 17 00:00:00 2001 From: Shini31 Date: Wed, 10 Jun 2015 11:10:24 +0200 Subject: [PATCH] change directory organisation --- network/hirschmann/plugin.pm | 12 ++++++------ network/hirschmann/{common => snmp}/mode/cpu.pm | 2 +- .../hirschmann/{common => snmp}/mode/environment.pm | 2 +- network/hirschmann/{RS => snmp}/mode/led.pm | 2 +- network/hirschmann/{common => snmp}/mode/memory.pm | 2 +- .../hirschmann/{common => snmp}/mode/processcount.pm | 2 +- .../hirschmann/{common => snmp}/mode/temperature.pm | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) rename network/hirschmann/{common => snmp}/mode/cpu.pm (98%) rename network/hirschmann/{common => snmp}/mode/environment.pm (99%) rename network/hirschmann/{RS => snmp}/mode/led.pm (99%) rename network/hirschmann/{common => snmp}/mode/memory.pm (99%) rename network/hirschmann/{common => snmp}/mode/processcount.pm (98%) rename network/hirschmann/{common => snmp}/mode/temperature.pm (98%) diff --git a/network/hirschmann/plugin.pm b/network/hirschmann/plugin.pm index b597da092..0fc048c01 100644 --- a/network/hirschmann/plugin.pm +++ b/network/hirschmann/plugin.pm @@ -47,12 +47,12 @@ sub new { $self->{version} = '1.0'; %{$self->{modes}} = ( - 'cpu' => 'network::hirschmann::common::mode::cpu', - 'environment' => 'network::hirschmann::common::mode::environment', - 'led' => 'network::hirschmann::RS::mode::led', - 'memory' => 'network::hirschmann::common::mode::memory', - 'processcount' => 'network::hirschmann::common::mode::processcount', - 'temperature' => 'network::hirschmann::common::mode::temperature', + 'cpu' => 'network::hirschmann::snmp::mode::cpu', + 'environment' => 'network::hirschmann::snmp::mode::environment', + 'led' => 'network::hirschmann::snmp::mode::led', + 'memory' => 'network::hirschmann::snmp::mode::memory', + 'processcount' => 'network::hirschmann::snmp::mode::processcount', + 'temperature' => 'network::hirschmann::snmp::mode::temperature', 'traffic' => 'snmp_standard::mode::traffic', ); diff --git a/network/hirschmann/common/mode/cpu.pm b/network/hirschmann/snmp/mode/cpu.pm similarity index 98% rename from network/hirschmann/common/mode/cpu.pm rename to network/hirschmann/snmp/mode/cpu.pm index 2e8686e15..681a1033b 100644 --- a/network/hirschmann/common/mode/cpu.pm +++ b/network/hirschmann/snmp/mode/cpu.pm @@ -33,7 +33,7 @@ # #################################################################################### -package network::hirschmann::common::mode::cpu; +package network::hirschmann::snmp::mode::cpu; use base qw(centreon::plugins::mode); diff --git a/network/hirschmann/common/mode/environment.pm b/network/hirschmann/snmp/mode/environment.pm similarity index 99% rename from network/hirschmann/common/mode/environment.pm rename to network/hirschmann/snmp/mode/environment.pm index 189a186fc..7cc0e34d3 100644 --- a/network/hirschmann/common/mode/environment.pm +++ b/network/hirschmann/snmp/mode/environment.pm @@ -33,7 +33,7 @@ # #################################################################################### -package network::hirschmann::common::mode::environment; +package network::hirschmann::snmp::mode::environment; use base qw(centreon::plugins::mode); diff --git a/network/hirschmann/RS/mode/led.pm b/network/hirschmann/snmp/mode/led.pm similarity index 99% rename from network/hirschmann/RS/mode/led.pm rename to network/hirschmann/snmp/mode/led.pm index 23b42a11c..f1b1905cc 100644 --- a/network/hirschmann/RS/mode/led.pm +++ b/network/hirschmann/snmp/mode/led.pm @@ -33,7 +33,7 @@ # #################################################################################### -package network::hirschmann::RS::mode::led; +package network::hirschmann::common::mode::led; use base qw(centreon::plugins::mode); diff --git a/network/hirschmann/common/mode/memory.pm b/network/hirschmann/snmp/mode/memory.pm similarity index 99% rename from network/hirschmann/common/mode/memory.pm rename to network/hirschmann/snmp/mode/memory.pm index 79a31015c..aa14438f3 100644 --- a/network/hirschmann/common/mode/memory.pm +++ b/network/hirschmann/snmp/mode/memory.pm @@ -33,7 +33,7 @@ # #################################################################################### -package network::hirschmann::common::mode::memory; +package network::hirschmann::snmp::mode::memory; use base qw(centreon::plugins::mode); diff --git a/network/hirschmann/common/mode/processcount.pm b/network/hirschmann/snmp/mode/processcount.pm similarity index 98% rename from network/hirschmann/common/mode/processcount.pm rename to network/hirschmann/snmp/mode/processcount.pm index 45a2a2833..b16aed5da 100644 --- a/network/hirschmann/common/mode/processcount.pm +++ b/network/hirschmann/snmp/mode/processcount.pm @@ -33,7 +33,7 @@ # #################################################################################### -package network::hirschmann::common::mode::processcount; +package network::hirschmann::snmp::mode::processcount; use base qw(centreon::plugins::mode); diff --git a/network/hirschmann/common/mode/temperature.pm b/network/hirschmann/snmp/mode/temperature.pm similarity index 98% rename from network/hirschmann/common/mode/temperature.pm rename to network/hirschmann/snmp/mode/temperature.pm index 0aecb5467..a7992bf97 100644 --- a/network/hirschmann/common/mode/temperature.pm +++ b/network/hirschmann/snmp/mode/temperature.pm @@ -33,7 +33,7 @@ # #################################################################################### -package network::hirschmann::common::mode::temperature; +package network::hirschmann::snmp::mode::temperature; use base qw(centreon::plugins::mode);