fix(mode): naming typos

This commit is contained in:
thibaults-centreon 2020-06-04 13:36:20 +02:00
parent 3bc2da30c7
commit e26361b2c6
3 changed files with 11 additions and 11 deletions

View File

@ -174,7 +174,7 @@ sub check_options {
$self->SUPER::check_options(%options);
if (!defined($self->{option_results}->{volume_id}) || $self->{option_results}->{volume_id} eq '') {
$self->{output}->add_option_msg(short_msg => "Need to specify --volumeid option.");
$self->{output}->add_option_msg(short_msg => "Need to specify --volume-id option.");
$self->{output}->option_exit();
};
@ -255,7 +255,7 @@ See 'https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch_ebs.ht
=over 8
=item B<--volumeid>
=item B<--volume-id>
Set the VolumeId (Required).

View File

@ -283,7 +283,7 @@ See 'https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch_ebs.ht
=over 8
=item B<--volumeid>
=item B<--volume-id>
Set the VolumeId (Required).
@ -294,11 +294,11 @@ Can be: VolumeReadOps, VolumeWriteOps, VolumeThroughputPercentage, VolumeConsume
=item B<--warning-$metric$>
Warning thresholds ($metric$ can be: 'iops-read', 'iops-write', 'iops-throughput', 'iops-consumed-rw', 'iops-queue-length').
Warning thresholds ($metric$ can be: 'iops-read', 'iops-write', 'iops-throughput', 'iops-consumed', 'iops-queue-length').
=item B<--critical-$metric$>
Critical thresholds ($metric$ can be: 'iops-read', 'iops-write', 'iops-throughput', 'iops-consumed-rw', 'iops-queue-length').
Critical thresholds ($metric$ can be: 'iops-read', 'iops-write', 'iops-throughput', 'iops-consumed', 'iops-queue-length').
=item B<--per-sec>

View File

@ -29,8 +29,8 @@ my %metrics_mapping = (
'VolumeTotalReadTime' => {
'output' => 'Total Read Time',
'label' => 'total-read-time',
'nlabel' => {
'absolute' => 'ebs.volume.totalread.time.second'
'nlabel' => {
'absolute' => 'ebs.volume.totalread.time.second'
},
'unit' => 's'
},
@ -38,7 +38,7 @@ my %metrics_mapping = (
'output' => 'Total Write Time',
'label' => 'total-write-time',
'nlabel' => {
'absolute' => 'ebs.volume.totalwrite.time.second'
'absolute' => 'ebs.volume.totalwrite.time.second'
},
'unit' => 's'
},
@ -46,7 +46,7 @@ my %metrics_mapping = (
'output' => 'Idle Time',
'label' => 'idle-time',
'nlabel' => {
'absolute' => 'ebs.volume.idle.time.second'
'absolute' => 'ebs.volume.idle.time.second'
},
'unit' => 's',
'display_percent' => 1
@ -172,7 +172,7 @@ sub check_options {
$self->SUPER::check_options(%options);
if (!defined($self->{option_results}->{volume_id}) || $self->{option_results}->{volume_id} eq '') {
$self->{output}->add_option_msg(short_msg => "Need to specify --volumeid option.");
$self->{output}->add_option_msg(short_msg => "Need to specify --volume-id option.");
$self->{output}->option_exit();
};
@ -254,7 +254,7 @@ See 'https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch_ebs.ht
=over 8
=item B<--volumeid>
=item B<--volume-id>
Set the VolumeId (Required).