From b0971fda918c1135084a828b3cfe19f5502de118 Mon Sep 17 00:00:00 2001 From: omercier <32134301+omercier@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:03:14 +0100 Subject: [PATCH] fix: "other" type of marker supply was not handled (#4711) --- src/hardware/printers/standard/rfc3805/mode/markersupply.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hardware/printers/standard/rfc3805/mode/markersupply.pm b/src/hardware/printers/standard/rfc3805/mode/markersupply.pm index 7bef33ee1..233d88310 100644 --- a/src/hardware/printers/standard/rfc3805/mode/markersupply.pm +++ b/src/hardware/printers/standard/rfc3805/mode/markersupply.pm @@ -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