Skip to content

Commit

Permalink
fix: "other" type of marker supply was not handled (#4711)
Browse files Browse the repository at this point in the history
  • Loading branch information
omercier authored Oct 30, 2023
1 parent 6f318e6 commit b0971fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hardware/printers/standard/rfc3805/mode/markersupply.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -171,7 +172,7 @@ __END__
=head1 MODE
Check marker supply usages.
Check marker supplies usage.
=over 8
Expand All @@ -185,7 +186,7 @@ Critical threshold in percent.
=item B<--filter>
Filter maker supply instance.
Filter marker supply instances.
=back
Expand Down

0 comments on commit b0971fd

Please sign in to comment.