fix: "other" type of marker supply was not handled (#4711)

This commit is contained in:
omercier 2023-10-30 11:03:14 +01:00 committed by GitHub
parent 6f318e6496
commit b0971fda91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -28,6 +28,7 @@ use centreon::plugins::misc;
# 1 means: do percent calc
my %unit_managed = (
1 => 1, # other(1),
3 => 1, # tenThousandthsOfInches(3), -- .0001
4 => 1, # micrometers(4),
7 => 1, # impressions(7),
@ -171,7 +172,7 @@ __END__
=head1 MODE
Check marker supply usages.
Check marker supplies usage.
=over 8
@ -185,7 +186,7 @@ Critical threshold in percent.
=item B<--filter>
Filter maker supply instance.
Filter marker supply instances.
=back