moved cisco ironport

This commit is contained in:
garnier-quentin 2019-04-23 09:12:08 +02:00
parent 519ccda0df
commit 82d6a0e758
9 changed files with 29 additions and 33 deletions

View File

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

View File

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

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::cisco::ironport::snmp::mode::components::raid;
package centreon::common::cisco::ironport::snmp::mode::components::raid;
use strict;
use warnings;

View File

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

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::cisco::ironport::snmp::mode::cpu;
package centreon::common::cisco::ironport::snmp::mode::cpu;
use base qw(centreon::plugins::templates::counter);
@ -59,8 +59,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
});
return $self;

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::cisco::ironport::snmp::mode::hardware;
package centreon::common::cisco::ironport::snmp::mode::hardware;
use base qw(centreon::plugins::templates::hardware);
@ -47,7 +47,7 @@ sub set_system {
],
};
$self->{components_path} = 'network::cisco::ironport::snmp::mode::components';
$self->{components_path} = 'centreon::common::cisco::ironport::snmp::mode::components';
$self->{components_module} = ['fan', 'temperature', 'psu', 'raid'];
}
@ -64,8 +64,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
});
return $self;

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::cisco::ironport::snmp::mode::keysexpire;
package centreon::common::cisco::ironport::snmp::mode::keysexpire;
use base qw(centreon::plugins::templates::counter);
@ -55,8 +55,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
});
return $self;

View File

@ -18,7 +18,7 @@
# limitations under the License.
#
package network::cisco::ironport::snmp::mode::memory;
package centreon::common::cisco::ironport::snmp::mode::memory;
use base qw(centreon::plugins::mode);
@ -31,8 +31,7 @@ sub new {
bless $self, $class;
$self->{version} = '1.0';
$options{options}->add_options(arguments =>
{
$options{options}->add_options(arguments => {
"warning:s" => { name => 'warning', },
"critical:s" => { name => 'critical', },
});

View File

@ -31,12 +31,12 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'cpu' => 'network::cisco::ironport::snmp::mode::cpu',
'hardware' => 'network::cisco::ironport::snmp::mode::hardware',
'keys-expire' => 'network::cisco::ironport::snmp::mode::keysexpire',
'cpu' => 'centreon::common::cisco::ironport::snmp::mode::cpu',
'hardware' => 'centreon::common::cisco::ironport::snmp::mode::hardware',
'keys-expire' => 'centreon::common::cisco::ironport::snmp::mode::keysexpire',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'memory' => 'network::cisco::ironport::snmp::mode::memory',
'memory' => 'centreon::common::cisco::ironport::snmp::mode::memory',
);
return $self;