mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Typo fix for netapp
This commit is contained in:
parent
e53ef2881c
commit
50421f2bfd
@ -114,7 +114,7 @@ sub run {
|
|||||||
$self->{snmp} = $options{snmp};
|
$self->{snmp} = $options{snmp};
|
||||||
|
|
||||||
$self->manage_selection();
|
$self->manage_selection();
|
||||||
$self->{snmp}->load(oids => [$oid_slvName, $oid_slvMonth,$oid_slvDay,$oid_slvHour,$oid_slvMinutes,$oid_slvVolumeName],
|
$self->{snmp}->load(oids => [$oid_slvName, $oid_slvMonth, $oid_slvDay, $oid_slvHour, $oid_slvMinutes, $oid_slvVolumeName],
|
||||||
instances => $self->{snapshot_id_selected},
|
instances => $self->{snapshot_id_selected},
|
||||||
instance_regexp => '(\d+\.\d+)$');
|
instance_regexp => '(\d+\.\d+)$');
|
||||||
my $result = $self->{snmp}->get_leef();
|
my $result = $self->{snmp}->get_leef();
|
||||||
@ -124,7 +124,7 @@ sub run {
|
|||||||
short_msg => 'All snapshot age are ok.');
|
short_msg => 'All snapshot age are ok.');
|
||||||
}
|
}
|
||||||
|
|
||||||
my $count=0;
|
my $count = 0;
|
||||||
my $now = time();
|
my $now = time();
|
||||||
foreach my $instance (sort @{$self->{snapshot_id_selected}}) {
|
foreach my $instance (sort @{$self->{snapshot_id_selected}}) {
|
||||||
$count++;
|
$count++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user