Some fix for clariion, datadomain and violin
This commit is contained in:
parent
5f5457cbc9
commit
77e18f16b8
|
@ -194,7 +194,7 @@ Set hba uid to check (not set, means 'all').
|
|||
|
||||
Set how much path must be connected (Can be multiple).
|
||||
Syntax: [WARNING],[CRITICAL],filter_uid,filter_server
|
||||
Example: ,,@0:1,.* - Means all server must have at least two paths connected.
|
||||
Example: ,@0:1,.*,.* - Means all server must have at least two paths connected.
|
||||
|
||||
=back
|
||||
|
||||
|
|
|
@ -61,12 +61,6 @@ sub check_options {
|
|||
$self->SUPER::init(%options);
|
||||
}
|
||||
|
||||
sub check_logged {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
|
||||
}
|
||||
|
||||
sub check_port {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
|
|
|
@ -42,12 +42,12 @@ use warnings;
|
|||
use centreon::common::emc::navisphere::mode::spcomponents::fan;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::lcc;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::psu;
|
||||
use centreon::common::emc::navisphere::spcomponents::battery;
|
||||
use centreon::common::emc::navisphere::spcomponents::memory;
|
||||
use centreon::common::emc::navisphere::spcomponents::cpu;
|
||||
use centreon::common::emc::navisphere::spcomponents::iomodule;
|
||||
use centreon::common::emc::navisphere::spcomponents::cable;
|
||||
use centreon::common::emc::navisphere::spcomponents::sp;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::battery;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::memory;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::cpu;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::iomodule;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::cable;
|
||||
use centreon::common::emc::navisphere::mode::spcomponents::sp;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::battery;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::battery;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::cable;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::cable;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::cpu;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::cpu;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::fan;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::fan;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::iomodule;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::iomodule;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::lcc;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::lcc;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::memory;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::memory;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::psu;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::psu;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package storage::emc::clariion::mode::spcomponents::sp;
|
||||
package centreon::common::emc::navisphere::mode::spcomponents::sp;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -64,7 +64,7 @@ sub temperature {
|
|||
|
||||
return if ($self->check_exclude(section => 'temperature', instance => $instance));
|
||||
|
||||
$self->{components}->{psu}->{total}++;
|
||||
$self->{components}->{temperature}->{total}++;
|
||||
$self->{output}->output_add(long_msg => sprintf("Temperature '%s' is %s degree centigrade.",
|
||||
$instance, $temperature));
|
||||
my ($exit, $warn, $crit) = $self->get_severity_numeric(section => 'temperature', instance => $instance, value => $temperature);
|
||||
|
|
|
@ -77,7 +77,7 @@ sub check {
|
|||
$self->{components}->{disk}->{total}++;
|
||||
$self->{output}->output_add(long_msg => sprintf("Disk '%s' status is '%s'",
|
||||
$instance, $disk_status));
|
||||
my $exit = $self->get_severity(section => 'fan', value => $disk_status);
|
||||
my $exit = $self->get_severity(section => 'disk', value => $disk_status);
|
||||
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
|
||||
$self->{output}->output_add(severity => $exit,
|
||||
short_msg => sprintf("Disk '%s' status is '%s'", $instance, $disk_status));
|
||||
|
|
Loading…
Reference in New Issue