diff --git a/centreon-plugins/centreon/common/dell/mode/globalstatus.pm b/centreon-plugins/centreon/common/dell/powerconnect3000/mode/globalstatus.pm similarity index 97% rename from centreon-plugins/centreon/common/dell/mode/globalstatus.pm rename to centreon-plugins/centreon/common/dell/powerconnect3000/mode/globalstatus.pm index 33c89d2f1..89d099ab0 100644 --- a/centreon-plugins/centreon/common/dell/mode/globalstatus.pm +++ b/centreon-plugins/centreon/common/dell/powerconnect3000/mode/globalstatus.pm @@ -33,7 +33,7 @@ # #################################################################################### -package centreon::common::dell::mode::globalstatus; +package centreon::common::dell::powerconnect3000::mode::globalstatus; use base qw(centreon::plugins::mode); @@ -110,7 +110,7 @@ __END__ =head1 MODE -Check the overall status of generic Dell. +Check the overall status of Dell Powerconnect 3000. =over 8 diff --git a/centreon-plugins/centreon/common/fastpath/mode/memory.pm b/centreon-plugins/centreon/common/fastpath/mode/memory.pm index b10e9afbb..c1e16160c 100644 --- a/centreon-plugins/centreon/common/fastpath/mode/memory.pm +++ b/centreon-plugins/centreon/common/fastpath/mode/memory.pm @@ -101,6 +101,7 @@ sub run { $self->{output}->perfdata_add(label => "used", value => $memory_used, + unit => 'B', warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning', total => $memory_available, cast_int => 1), critical => $self->{perfdata}->get_perfdata_for_output(label => 'critical', total => $memory_available, cast_int => 1), min => 0, max => $memory_available); diff --git a/centreon-plugins/network/dell/6200/plugin.pm b/centreon-plugins/network/dell/6200/plugin.pm index f2593ee6a..bd514297f 100644 --- a/centreon-plugins/network/dell/6200/plugin.pm +++ b/centreon-plugins/network/dell/6200/plugin.pm @@ -47,12 +47,12 @@ sub new { $self->{version} = '1.0'; %{$self->{modes}} = ( - 'global-status' => 'centreon::common::dell::mode::globalstatus', - 'environment' => 'centreon::common::fastpath::mode::environment', - 'memory' => 'centreon::common::fastpath::mode::memory', - 'cpu' => 'centreon::common::fastpath::mode::cpu', - 'traffic' => 'snmp_standard::mode::traffic', - 'list-interfaces' => 'snmp_standard::mode::listinterfaces', + 'global-status' => 'centreon::common::dell::powerconnect3000::mode::globalstatus', + 'environment' => 'centreon::common::fastpath::mode::environment', + 'memory' => 'centreon::common::fastpath::mode::memory', + 'cpu' => 'centreon::common::fastpath::mode::cpu', + 'traffic' => 'snmp_standard::mode::traffic', + 'list-interfaces' => 'snmp_standard::mode::listinterfaces', ); return $self; diff --git a/centreon-plugins/network/dell/n4000/plugin.pm b/centreon-plugins/network/dell/n4000/plugin.pm index d4a3b0365..596c7dd7f 100644 --- a/centreon-plugins/network/dell/n4000/plugin.pm +++ b/centreon-plugins/network/dell/n4000/plugin.pm @@ -47,12 +47,12 @@ sub new { $self->{version} = '1.0'; %{$self->{modes}} = ( - 'global-status' => 'centreon::common::dell::mode::globalstatus', - 'environment' => 'centreon::common::fastpath::mode::environment', - 'memory' => 'centreon::common::fastpath::mode::memory', - 'cpu' => 'centreon::common::fastpath::mode::cpu', - 'traffic' => 'snmp_standard::mode::traffic', - 'list-interfaces' => 'snmp_standard::mode::listinterfaces', + 'global-status' => 'centreon::common::dell::powerconnect3000::mode::globalstatus', + 'environment' => 'centreon::common::fastpath::mode::environment', + 'memory' => 'centreon::common::fastpath::mode::memory', + 'cpu' => 'centreon::common::fastpath::mode::cpu', + 'traffic' => 'snmp_standard::mode::traffic', + 'list-interfaces' => 'snmp_standard::mode::listinterfaces', ); return $self;