Module: check_mk
Branch: master
Commit: 4bf7dd97a6156ed147071d90f36d516a0aa88474
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4bf7dd97a6156e…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Apr 24 13:30:43 2015 +0200
printer_io.include: Support for yet unkown unit
---
checks/printer_io.include | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/checks/printer_io.include b/checks/printer_io.include
index f52dbf3..79599f1 100644
--- a/checks/printer_io.include
+++ b/checks/printer_io.include
@@ -25,13 +25,14 @@
# Boston, MA 02110-1301 USA.
printer_io_units = {
- '3': 'tenThousandthsOfInches',
- '4': 'micrometers',
- '8': 'sheets',
- '16': 'feet',
- '17': 'meters',
- '18': 'items',
- '19': 'percent',
+ '-1' : "unk.",
+ '3' : 'tenThousandthsOfInches',
+ '4' : 'micrometers',
+ '8' : 'sheets',
+ '16' : 'feet',
+ '17' : 'meters',
+ '18' : 'items',
+ '19' : 'percent',
}
printer_io_states = {