move dell fastpath modes

This commit is contained in:
qgarnier 2017-12-06 10:36:50 +01:00
parent 2d98fb2fb7
commit f51485377e
8 changed files with 19 additions and 19 deletions

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package centreon::common::fastpath::mode::components::fan;
package centreon::common::dell::fastpath::snmp::mode::components::fan;
use strict;
use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package centreon::common::fastpath::mode::components::psu;
package centreon::common::dell::fastpath::snmp::mode::components::psu;
use strict;
use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package centreon::common::fastpath::mode::components::temperature;
package centreon::common::dell::fastpath::snmp::mode::components::temperature;
use strict;
use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package centreon::common::fastpath::mode::cpu;
package centreon::common::dell::fastpath::snmp::mode::cpu;
use base qw(centreon::plugins::mode);

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package centreon::common::fastpath::mode::environment;
package centreon::common::dell::fastpath::snmp::mode::environment;
use base qw(centreon::plugins::templates::hardware);
@ -54,7 +54,7 @@ sub set_system {
],
};
$self->{components_path} = 'centreon::common::fastpath::mode::components';
$self->{components_path} = 'centreon::common::dell::fastpath::snmp::mode::components';
$self->{components_module} = ['fan', 'psu', 'temperature'];
}

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package centreon::common::fastpath::mode::memory;
package centreon::common::dell::fastpath::snmp::mode::memory;
use base qw(centreon::plugins::mode);

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::dell::6200::plugin;
package network::dell::6200::snmp::plugin;
use strict;
use warnings;
@ -32,10 +32,10 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'global-status' => 'centreon::common::dell::powerconnect3000::mode::globalstatus',
'environment' => 'centreon::common::fastpath::mode::environment',
'environment' => 'centreon::common::dell::fastpath::snmp::mode::environment',
'interfaces' => 'snmp_standard::mode::interfaces',
'memory' => 'centreon::common::fastpath::mode::memory',
'cpu' => 'centreon::common::fastpath::mode::cpu',
'memory' => 'centreon::common::dell::fastpath::snmp::mode::memory',
'cpu' => 'centreon::common::dell::fastpath::snmp::mode::cpu',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
);

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::dell::n4000::plugin;
package network::dell::n4000::snmp::plugin;
use strict;
use warnings;
@ -32,10 +32,10 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'global-status' => 'centreon::common::dell::powerconnect3000::mode::globalstatus',
'environment' => 'centreon::common::fastpath::mode::environment',
'environment' => 'centreon::common::dell::fastpath::snmp::mode::environment',
'interfaces' => 'snmp_standard::mode::interfaces',
'memory' => 'centreon::common::fastpath::mode::memory',
'cpu' => 'centreon::common::fastpath::mode::cpu',
'memory' => 'centreon::common::dell::fastpath::snmp::mode::memory',
'cpu' => 'centreon::common::dell::fastpath::snmp::mode::cpu',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
);