From b90e0606415b03de04798ab3b1f8ef0a44ed91fc Mon Sep 17 00:00:00 2001 From: lmawizard <122643691+lmawizard@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:33:10 +0300 Subject: [PATCH 1/4] Create template_canon_oce_plotwave.yaml --- .../6.0/template_canon_oce_plotwave.yaml | 547 ++++++++++++++++++ 1 file changed, 547 insertions(+) create mode 100644 Printers/Canon/template_canon_oce_plotwave/6.0/template_canon_oce_plotwave.yaml diff --git a/Printers/Canon/template_canon_oce_plotwave/6.0/template_canon_oce_plotwave.yaml b/Printers/Canon/template_canon_oce_plotwave/6.0/template_canon_oce_plotwave.yaml new file mode 100644 index 000000000..7f61240fb --- /dev/null +++ b/Printers/Canon/template_canon_oce_plotwave/6.0/template_canon_oce_plotwave.yaml @@ -0,0 +1,547 @@ +zabbix_export: + version: '6.4' + template_groups: + - uuid: 58afa722676b4fba86702054223316d9 + name: Templates/Printers + templates: + - uuid: 6f637313486f4463af5912d34a9da383 + template: 'Template Canon PlotWave' + name: 'Template Canon PlotWave' + description: 'Template for non-colored Canon/Oce Plotwave' + groups: + - name: Templates/Printers + items: + - uuid: e2fecf13dc314a81aabd61758c752257 + name: 'PlotWave Detected Error State' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.25.3.5.1.2.1 + key: PlotWave.DetectedErrorState + delay: 30s + trends: '0' + value_type: TEXT + description: | + This object represents any error conditions detected + by the printer. The error conditions are encoded as + bits in an octet string, with the following + definitions: + lowPaper = 0x8000 + noPaper = 0x4000 + lowToner = 0x2000 + noToner = 0x1000 + doorOpen = 0x0800 + jammed = 0x0400 + Offline = 0x0200 + serviceRequested = 0x0100 + + inputTrayMissing = 0x0080 + outputTrayMissing = 0x0040 + markerSupplyMissing = 0x0020 + outputNearFull = 0x0010 + outputFull = 0x0008 + inputTrayEmpty = 0x0004 + overduePreventMaint = 0x0002 + notUsed = 0x0001 + - uuid: c9605338fef1443a9f8e9f4be678f946 + name: 'PlotWave Detected Error State 1 value' + type: DEPENDENT + key: PlotWave.DetectedErrorState1 + delay: '0' + preprocessing: + - type: JAVASCRIPT + parameters: + - 'return value[0]' + - type: HEX_TO_DECIMAL + parameters: + - '' + master_item: + key: PlotWave.DetectedErrorState + triggers: + - uuid: 3509149d5526453fb5409dd8205cae08 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=8' + name: 'Low Paper {HOSTNAME}' + event_name: 'Low Paper 🧻' + status: DISABLED + priority: WARNING + - uuid: 1f7a1302ff7b4e37b85f97a770ab4bcb + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=2' + name: 'Low Toner {HOSTNAME}' + event_name: 'Low Toner 🫗' + priority: WARNING + - uuid: 30eb7b0264f34189a058b068f7920b90 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=4' + name: 'No Paper {HOSTNAME}' + event_name: 'No Paper 🍽' + status: DISABLED + priority: AVERAGE + description: 'No Paper' + - uuid: c4028f2c90594cbd839fa38e6cab4207 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=1' + name: 'No Toner {HOSTNAME}' + event_name: 'No Toner 🫙' + priority: HIGH + - uuid: ae9145a725894e2e9d01e239a984ee41 + name: 'PlotWave Detected Error State 2 value' + type: DEPENDENT + key: PlotWave.DetectedErrorState2 + delay: '0' + preprocessing: + - type: JAVASCRIPT + parameters: + - 'return value[1]' + - type: HEX_TO_DECIMAL + parameters: + - '' + master_item: + key: PlotWave.DetectedErrorState + triggers: + - uuid: fb8e527a722e4343ba30643909c45edc + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=8' + name: 'Door Open {HOSTNAME}' + event_name: 'Door Open 🚪' + status: DISABLED + - uuid: 8b02ab90596d408989cd9c2cee41de0b + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=2' + name: 'Offline {HOSTNAME}' + event_name: 'Offline' + priority: INFO + - uuid: d1fd4e42ab3e45929b13e09743321a48 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=1' + name: 'Service Requested {HOSTNAME}' + event_name: 'Service Requested' + priority: INFO + - uuid: 62dea5ea94e743dfa7e1f0196bb500e1 + name: 'PlotWave Detected Error State 3 value' + type: DEPENDENT + key: PlotWave.DetectedErrorState3 + delay: '0' + preprocessing: + - type: JAVASCRIPT + parameters: + - 'return value[3]' + - type: HEX_TO_DECIMAL + parameters: + - '' + master_item: + key: PlotWave.DetectedErrorState + triggers: + - uuid: 7a0577bc958146c7be735400bfbef9c4 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=8' + name: 'Input Tray Missing {HOSTNAME}' + event_name: 'Input Tray Missing' + status: DISABLED + priority: AVERAGE + description: 'Input Tray Missing' + - uuid: fbfd6b6074574db29e36815c375eada5 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=2' + name: 'Marker Supply Missing {HOSTNAME}' + event_name: 'Marker Supply Missing' + priority: INFO + - uuid: 10d62c7d7183401f8af05adea1d85f9f + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=1' + name: 'Output Near Full {HOSTNAME}' + event_name: 'Output Near Full' + priority: INFO + - uuid: bab7eb6f4c694febb720e6b883368c0c + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=4' + name: 'Output Tray Missing {HOSTNAME}' + event_name: 'Output Tray Missing' + priority: INFO + - uuid: 6d38ab03bd964252babbc92706f7d3f1 + name: 'PlotWave Detected Error State 4 value' + type: DEPENDENT + key: PlotWave.DetectedErrorState4 + delay: '0' + preprocessing: + - type: JAVASCRIPT + parameters: + - 'return value[4]' + - type: HEX_TO_DECIMAL + parameters: + - '' + master_item: + key: PlotWave.DetectedErrorState + triggers: + - uuid: 2508482cdc1e424896a8428e17cd54ed + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState4)=4' + name: 'Input Tray Empty {HOSTNAME}' + event_name: 'Input Tray Empty' + status: DISABLED + priority: INFO + description: 'Input Tray Empty' + - uuid: e6174971e4084493829b9b4525d88906 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState4)=8' + name: 'Output Full {HOSTNAME}' + event_name: 'Output Full' + status: DISABLED + priority: INFO + - uuid: 6568e2d1dd4d439c96c5e0f51ccbca47 + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState4)=2' + name: 'Overdue Prevent Maint {HOSTNAME}' + event_name: 'Overdue Prevent Maint' + priority: INFO + - uuid: 41932a3f281e41ebb44f319edd685480 + name: 'PlotWave Device Errors' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.25.3.2.1.6.1 + key: PlotWave.DeviceErrors + delay: 30s + description: | + The number of errors detected on this device. It + should be noted that as this object has a SYNTAX of + Counter32, that it does not have a defined initial + value. However, it is recommended that this object be + initialized to zero, even though management stations + must not depend on such an initialization. + triggers: + - uuid: 82843b8f808746309d7e42558e525202 + expression: 'last(/Template Canon PlotWave/PlotWave.DeviceErrors)>0' + name: 'Device Error {HOSTNAME}' + priority: WARNING + - uuid: 18c74ee2c0c04a238b0b64515c6e6f81 + name: 'PlotWave Device Status' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.25.3.2.1.5.1 + key: PlotWave.DeviceStatus + delay: 30s + trends: '0' + value_type: TEXT + description: | + The current operational state of the device described + by this row of the table. A value unknown(1) + indicates that the current state of the device is + unknown. running(2) indicates that the device is up + and running and that no unusual error conditions are + known. The warning(3) state indicates that agent has + been informed of an unusual error condition by the + operational software (e.g., a disk device driver) but + that the device is still 'operational'. An example + would be a high number of soft errors on a disk. A + value of testing(4), indicates that the device is not + available for use because it is in the testing state. + The state of down(5) is used only when the agent has + been informed that the device is not available for any + use. + triggers: + - uuid: 15ff22d042d24749b211062c44eae105 + expression: 'last(/Template Canon PlotWave/PlotWave.DeviceStatus)=3' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.DeviceStatus)=2' + name: 'The Warning {HOSTNAME}' + event_name: 'The Warning!' + priority: WARNING + description: | + The operating software (for example, the disk device driver) has informed the agent of an unusual error condition, but + the device is still "working". + - uuid: 20658a8137fa4d98937cfe99b41b9d7c + expression: 'last(/Template Canon PlotWave/PlotWave.DeviceStatus)=1' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.DeviceStatus)=2' + name: 'Unknow Device Status {HOSTNAME}' + priority: WARNING + - uuid: b4c7d48a630f4231ab69a161a1c26df1 + name: 'PlotWave Input Media Name Roll 1' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.12.1.1 + key: PlotWave.InputMediaName1 + delay: 30s + trends: '0' + value_type: TEXT + triggers: + - uuid: 8389459a14e44f4492767f9da5023d62 + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName1)<>"Paper 20 lb A0 (841 mm)"' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName1)="Paper 20 lb A0 (841 mm)"' + name: 'Other paper size in the 1 roll {HOSTNAME}' + event_name: 'Other paper size in the 1 roll' + status: DISABLED + priority: WARNING + - uuid: 60b2d6242c6a44feb408d7bb3f6de21b + name: 'PlotWave Input Media Name Roll 2' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.12.1.2 + key: PlotWave.InputMediaName2 + delay: 30s + trends: '0' + value_type: TEXT + triggers: + - uuid: 52e2d5a9a8a3465180ec7391809bbafe + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName2)<>"Paper 20 lb A1 (594 mm)"' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName2)="Paper 20 lb A1 (594 mm)"' + name: 'Other paper size in the 2 roll {HOSTNAME}' + event_name: 'Other paper size in the 2 roll' + status: DISABLED + priority: WARNING + - uuid: dafe22c476ea4eeba4623308f34fd9ef + name: 'PlotWave Input Media Name Roll 3' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.12.1.3 + key: PlotWave.InputMediaName3 + delay: 30s + trends: '0' + value_type: TEXT + triggers: + - uuid: b17042c47e5b4ce7af1e3b1f5b9a5a89 + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName3)<>"Paper 20 lb A2 (420 mm)"' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName3)="Paper 20 lb A2 (420 mm)"' + name: 'Other paper size in the 3 roll {HOSTNAME}' + event_name: 'Other paper size in the 3 roll' + status: DISABLED + priority: WARNING + - uuid: 3ce1c48b44fb4ba1ad64e107a3817cb3 + name: 'PlotWave Input Media Name Roll 4' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.12.1.4 + key: PlotWave.InputMediaName4 + delay: 30s + trends: '0' + value_type: TEXT + triggers: + - uuid: ce532ad1d7f647849d0dd6e2e84ac824 + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName4)<>"Paper 20 lb A3 (297 mm)"' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaName4)="Paper 20 lb A3 (297 mm)"' + name: 'Other paper size in the 4 roll {HOSTNAME}' + event_name: 'Other paper size in the 4 roll' + status: DISABLED + priority: WARNING + - uuid: 6497b382eb2448f78a15186c84ab43da + name: 'PlotWave Input Media Weight Roll 1' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.20.1.1 + key: PlotWave.InputMediaWeight1 + delay: 30s + trends: '0' + triggers: + - uuid: c8097ea52d3847d4947d80d8f022e3d4 + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight1)<>75' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight1)=75' + name: 'Chose a different paper weight in the 1 roll {HOSTNAME}' + status: DISABLED + priority: WARNING + - uuid: b59cdb9995b34f16a1663079ab87288e + name: 'PlotWave Input Media Weight Roll 2' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.20.1.2 + key: PlotWave.InputMediaWeight2 + delay: 30s + trends: '0' + triggers: + - uuid: 7fce22b8eba04dcda79af1f59384ea93 + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight2)<>75' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight2)=75' + name: 'Chose a different paper weight in the 2 roll {HOSTNAME}' + status: DISABLED + priority: WARNING + - uuid: 457dc87dbc0a407db1f0f8d15793020b + name: 'PlotWave Input Media Weight Roll 3' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.20.1.3 + key: PlotWave.InputMediaWeight3 + delay: 30s + trends: '0' + triggers: + - uuid: a5dbd1dd4abf4fc0b3a15bfc03177a2e + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight3)<>75' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight3)=75' + name: 'Chose a different paper weight in the 3 roll {HOSTNAME}' + status: DISABLED + priority: WARNING + - uuid: 34b65203ec4545a1a3892aa4054d5bf5 + name: 'PlotWave Input Media Weight Roll 4' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.20.1.4 + key: PlotWave.InputMediaWeight4 + delay: 30s + trends: '0' + triggers: + - uuid: d1bba92132404ca0bae8e6e7eda6788c + expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight4)<>75' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputMediaWeight4)=75' + name: 'Chose a different paper weight in the 4 roll {HOSTNAME}' + status: DISABLED + priority: WARNING + - uuid: 9c2204ca3c1e421c9e92237f08dc5d7f + name: 'PlotWave Input Status Roll 1' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.11.1.1 + key: PlotWave.InputStatus1 + delay: 30s + triggers: + - uuid: 779a1b6b737f4250b345404e0e3adeaa + expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus1)<>0' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus1)=0' + name: 'Papper in the 1 roll is over {HOSTNAME}' + event_name: 'Papper in the 1 roll is over' + priority: HIGH + - uuid: ec211390e0714465a41daa544c4a5338 + name: 'PlotWave Input Status Roll 2' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.11.1.2 + key: PlotWave.InputStatus2 + delay: 30s + triggers: + - uuid: 5bf94326f90c4d4b9128f4ce7bc85767 + expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus2)<>0' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus2)=0' + name: 'Papper in the 2 roll is over {HOSTNAME}' + event_name: 'Papper in the 2 roll is over' + priority: HIGH + - uuid: 5c58206535174ac5b39495841b5db42e + name: 'PlotWave Input Status Roll 3' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.11.1.3 + key: PlotWave.InputStatus3 + delay: 30s + triggers: + - uuid: 053d2fc76a384e9fa0feea4a0fd02e86 + expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus3)<>0' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus3)=0' + name: 'Papper in the 3 roll is over {HOSTNAME}' + event_name: 'Papper in the 3 roll is over' + priority: HIGH + - uuid: c8f0219c6f124e24a4a809ac9c00a6dc + name: 'PlotWave Input Status Roll 4' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.8.2.1.11.1.4 + key: PlotWave.InputStatus4 + delay: 30s + triggers: + - uuid: 0e8559a09d0143b8a6bd1c1ec8b8c3da + expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus4)<>0' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.InputStatus4)=0' + name: 'Papper in the 4 roll is over {HOSTNAME}' + event_name: 'Papper in the 4 roll is over' + priority: HIGH + - uuid: ca79994f8abe423cb1f4a5679c8c0023 + name: 'PlotWave IP' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.4.20.1.1. + key: PlotWave.IP + delay: 12h + trends: '0' + value_type: TEXT + - uuid: 2aa339ba1b5840a28545eedb866d6107 + name: 'PlotWave Mask' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.4.20.1.3. + key: PlotWave.Mask + delay: 6h + trends: '0' + value_type: TEXT + - uuid: 01278603ffd2487d95e0725213eeebe7 + name: 'PlotWave Printer Status' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.25.3.5.1.1.1 + key: PlotWave.PrinterStatus + delay: 5s + description: | + The current status of this printer device. + other(1) + unknown(2) + idle(3) + printing(4) + wamup(5) + triggers: + - uuid: b09d8a1edf2245ca9125c491be5300e5 + expression: 'last(/Template Canon PlotWave/PlotWave.PrinterStatus)=4' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.PrinterStatus)=3' + name: 'Plotwave is printing {HOSTNAME}' + status: DISABLED + priority: INFO + - uuid: 48146a8fc78c4e0c9c6a063b4b6d9676 + expression: 'last(/Template Canon PlotWave/PlotWave.PrinterStatus)=5' + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: 'last(/Template Canon PlotWave/PlotWave.PrinterStatus)=3' + name: 'Plotwave is wamping {HOSTNAME}' + priority: INFO + - uuid: 3184c184c97f4781aaf7ea17a1a70c79 + name: 'PlotWave Print Name' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.5.1.1.16.1 + key: PlotWave.PrintName + delay: 6h + trends: '0' + value_type: TEXT + - uuid: 7a69cbfe2d4a464982f6b3697e5dcdfb + name: 'PlotWave Serial Number' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.5.1.1.17.1 + key: PlotWave.SN + delay: 1d + trends: '0' + value_type: TEXT + triggers: + - uuid: 3f2b0372a4254c40bb3329e922d7dafa + expression: 'last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=4 and last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)<>1' + name: 'Jammed {HOSTNAME}' + event_name: 'Printing stopped 🤷 (Jam, Waste ink, etc.)' + priority: HIGH + graphs: + - uuid: ac750922e55644f981566a85e6f8ecf3 + name: 'Detected Error State 1 value' + yaxismax: '10' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - color: 1A7C11 + calc_fnc: ALL + item: + host: 'Template Canon PlotWave' + key: PlotWave.DetectedErrorState1 + - uuid: 3d6742d85bbf464e97902144f4cb7409 + name: 'Detected Error State 2 value' + yaxismax: '10' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - color: 1A7C11 + calc_fnc: ALL + item: + host: 'Template Canon PlotWave' + key: PlotWave.DetectedErrorState2 + - uuid: 477fe819a128457abe8add9e9ab72f38 + name: 'Detected Error State 3 value' + yaxismax: '10' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - color: 1A7C11 + calc_fnc: ALL + item: + host: 'Template Canon PlotWave' + key: PlotWave.DetectedErrorState3 + - uuid: 3f461b801ed14bd3b76d8665803f9a27 + name: 'Detected Error State 4 value' + yaxismax: '10' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - color: 1A7C11 + calc_fnc: ALL + item: + host: 'Template Canon PlotWave' + key: PlotWave.DetectedErrorState4 + - uuid: 281d348fbb6943c08bf42ffd55849c04 + name: PrinterStatus + yaxismin: '1' + yaxismax: '5' + show_legend: 'NO' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - color: 1A7C11 + calc_fnc: ALL + item: + host: 'Template Canon PlotWave' + key: PlotWave.PrinterStatus From 8a17c03967171274cbb6e846b5103e20025ad321 Mon Sep 17 00:00:00 2001 From: lmawizard <122643691+lmawizard@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:37:41 +0300 Subject: [PATCH 2/4] Create README.md --- .../template_canon_oce_plotwave/6.0/README.md | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Printers/Canon/template_canon_oce_plotwave/6.0/README.md diff --git a/Printers/Canon/template_canon_oce_plotwave/6.0/README.md b/Printers/Canon/template_canon_oce_plotwave/6.0/README.md new file mode 100644 index 000000000..452d138fc --- /dev/null +++ b/Printers/Canon/template_canon_oce_plotwave/6.0/README.md @@ -0,0 +1,87 @@ +## Overview + +100% Works on Canon PlotWave 5500 and Oce 550 +I recommend using alerts for the template + +## Author + +Burtsev Aleksei + +## Macros used + +There are no macros links in this template. + +## Template links + +There are no template links in this template. + +## Discovery rules + +There are no discovery rules in this template. + +## Items collected + +|Name|Description|Type|Key and additional info| +|----|-----------|----|----| +|PlotWave Detected Error State|

This object represents any error conditions detected by the printer.

|`SNMP agent`|.1.3.6.1.2.1.25.3.5.1.2.1

Update: 30s

| +|PlotWave Detected Error State: PlotWave Detected Error State 1 value|

1 element from PlotWave Detected Error State

|`Dependent item`|PlotWave Detected Error State| +|PlotWave Detected Error State: PlotWave Detected Error State 2 value|

2 element from PlotWave Detected Error State

|`Dependent item`|PlotWave Detected Error State| +|PlotWave Detected Error State: PlotWave Detected Error State 3 value|

3 element from PlotWave Detected Error State

|`Dependent item`|PlotWave Detected Error State| +|PlotWave Detected Error State: PlotWave Detected Error State 4 value|

4 element from PlotWave Detected Error State

|`Dependent item`|PlotWave Detected Error State| +|PlotWave Device Errors|

The number of errors detected on this device.

|`SNMP agent`|.1.3.6.1.2.1.25.3.2.1.6.1

Update: 30s

| +|PlotWave Device Status|

The current operational state

|`SNMP agent`|.1.3.6.1.2.1.25.3.2.1.5.1

Update: 30s

| +|PlotWave Input Media Name Roll 1|

Name of paper roll in 1 tray

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.12.1.1

Update: 30s

| +|PlotWave Input Media Name Roll 2|

Name of paper roll in 2 tray

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.12.1.2

Update: 30s

| +|PlotWave Input Media Name Roll 3|

Name of paper roll in 3 tray

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.12.1.3

Update: 30s

| +|PlotWave Input Media Name Roll 4|

Name of paper roll in 4 tray

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.12.1.4

Update: 30s

| +|PlotWave Input Media Weight Roll 1|

Weight of paper roll in 1 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.20.1.1

Update: 30s

| +|PlotWave Input Media Weight Roll 2|

Weight of paper roll in 2 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.20.1.2

Update: 30s

| +|PlotWave Input Media Weight Roll 3|

Weight of paper roll in 3 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.20.1.3

Update: 30s

| +|PlotWave Input Media Weight Roll 4|

Weight of paper roll in 4 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.20.1.4

Update: 30s

| +|PlotWave Input Status Roll 1|

Status of paper roll in 1 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.11.1.1

Update: 30s

| +|PlotWave Input Status Roll 2|

Status of paper roll in 2 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.11.1.2

Update: 30s

| +|PlotWave Input Status Roll 3|

Status of paper roll in 3 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.11.1.3

Update: 30s

| +|PlotWave Input Status Roll 4|

Status of paper roll in 4 roll

|`SNMP agent`|.1.3.6.1.2.1.43.8.2.1.11.1.4

Update: 30s

| +|PlotWave IP|

-

|`SNMP agent`|.1.3.6.1.2.1.4.20.1.1.

Update: 12h

| +|PlotWave Mask|

-

|`SNMP agent`|.1.3.6.1.2.1.4.20.1.3.

Update: 6h

| +|PlotWave Printer Status|

The current status of printer device

|`SNMP agent`|.1.3.6.1.2.1.25.3.5.1.1.1

Update: 5s

| +|PlotWave Print Name|

-

|`SNMP agent`|.1.3.6.1.2.1.43.5.1.1.16.1

Update: 6h

| +|PlotWave Serial Number|

-

|`SNMP agent`|.1.3.6.1.2.1.43.5.1.1.17.1

Update: 1d

| + + +## Triggers + +|Name|Description|Expression|Default status| +|----|-----------|----|----| +|Device Error {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DeviceErrors)>0|Enabled| +|Door Open {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=8|Disabled| +|Input Tray Empty {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState4)=4|Disabled| +|Input Tray Missing {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=8|Disabled| +|Jammed {HOSTNAME}|Printing stopped 🤷 (Jam, Waste ink, etc.)|last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=4 and last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)<>1|Enabled| +|Low Paper {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=8|Disabled| +|Low Toner {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=2|Enabled| +|Marker Supply Missing {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=2|Enabled| +|No Paper {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=4|Disabled| +|No Toner {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState1)=1|Enabled| +|Offline {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=2|Enabled| +|Other paper size in the 1 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaName1)<>"Paper 20 lb A0 (841 mm)"
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaName1)="Paper 20 lb A0 (841 mm)"|Enabled| +|Other paper size in the 2 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaName2)<>"Paper 20 lb A1 (594 mm)"
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaName2)="Paper 20 lb A1 (594 mm)"|Enabled| +|Other paper size in the 3 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaName3)<>"Paper 20 lb A2 (420 mm)"
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaName3)="Paper 20 lb A2 (420 mm)"|Enabled| +|Other paper size in the 4 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaName4)<>"Paper 20 lb A3 (297 mm)"
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaName4)="Paper 20 lb A3 (297 mm)"|Enabled| +|Output Full {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState4)=8|Disabled| +|Output Near Full {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=1|Enabled| +|Output Tray Missing {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState3)=4|Enabled| +|Overdue Prevent Maint {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState4)=2|Enabled| +|Papper in the 1 roll is over {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.InputStatus1)<>0
Recovery: last(/Template Canon PlotWave/PlotWave.InputStatus1)=0|Enabled| +|Papper in the 2 roll is over {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.InputStatus2)<>0
Recovery: last(/Template Canon PlotWave/PlotWave.InputStatus2)=0|Enabled| +|Papper in the 3 roll is over {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.InputStatus3)<>0
Recovery: last(/Template Canon PlotWave/PlotWave.InputStatus3)=0|Enabled| +|Papper in the 4 roll is over {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.InputStatus4)<>0
Recovery: last(/Template Canon PlotWave/PlotWave.InputStatus4)=0|Enabled| +|Plotwave is printing {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.PrinterStatus)=4
Recovery: last(/Template Canon PlotWave/PlotWave.PrinterStatus)=3|Disabled| +|Plotwave is wamping {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.PrinterStatus)=5
Recovery: last(/Template Canon PlotWave/PlotWave.PrinterStatus)=3|Enabled| +|Service Requested {HOSTNAME}|-----------|last(/Template Canon PlotWave/PlotWave.DetectedErrorState2)=1|Enabled| +|The Warning {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.DeviceStatus)=3
Recovery: last(/Template Canon PlotWave/PlotWave.DeviceStatus)=2|Enabled| +|Unknow Device Status {HOSTNAME}|-----------|Problem: last(/Template Canon PlotWave/PlotWave.DeviceStatus)=1
Recovery: last(/Template Canon PlotWave/PlotWave.DeviceStatus)=2|Enabled| +|Сhose a different paper weight in the 1 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaWeight1)<>75
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaWeight1)=75|Enabled| +|Сhose a different paper weight in the 2 roll {HOSTNAME}|!You need to set your value!| Problem: last(/Template Canon PlotWave/PlotWave.InputMediaWeight2)<>75
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaWeight2)=75|Enabled| +|Сhose a different paper weight in the 3 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaWeight3)<>75
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaWeight3)=75|Enabled| +|Сhose a different paper weight in the 4 roll {HOSTNAME}|!You need to set your value!|Problem: last(/Template Canon PlotWave/PlotWave.InputMediaWeight4)<>75
Recovery: last(/Template Canon PlotWave/PlotWave.InputMediaWeight4)=75|Enabled| From 5ecc1ff3a2a34612ed78ecff1028bae6b12fddad Mon Sep 17 00:00:00 2001 From: lmawizard <122643691+lmawizard@users.noreply.github.com> Date: Tue, 24 Oct 2023 16:38:35 +0300 Subject: [PATCH 3/4] Update README.md --- Printers/Canon/template_canon_oce_plotwave/6.0/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Printers/Canon/template_canon_oce_plotwave/6.0/README.md b/Printers/Canon/template_canon_oce_plotwave/6.0/README.md index 452d138fc..167fc1633 100644 --- a/Printers/Canon/template_canon_oce_plotwave/6.0/README.md +++ b/Printers/Canon/template_canon_oce_plotwave/6.0/README.md @@ -1,6 +1,7 @@ ## Overview 100% Works on Canon PlotWave 5500 and Oce 550 + I recommend using alerts for the template ## Author From d7af06e0f8eab0ec107a392c49c4bca6e8987fce Mon Sep 17 00:00:00 2001 From: lmawizard Date: Tue, 7 Nov 2023 08:51:40 +0300 Subject: [PATCH 4/4] Rename directory --- Printers/Canon/template_canon_oce_plotwave/{6.0 => 6.4}/README.md | 0 .../{6.0 => 6.4}/template_canon_oce_plotwave.yaml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Printers/Canon/template_canon_oce_plotwave/{6.0 => 6.4}/README.md (100%) rename Printers/Canon/template_canon_oce_plotwave/{6.0 => 6.4}/template_canon_oce_plotwave.yaml (100%) diff --git a/Printers/Canon/template_canon_oce_plotwave/6.0/README.md b/Printers/Canon/template_canon_oce_plotwave/6.4/README.md similarity index 100% rename from Printers/Canon/template_canon_oce_plotwave/6.0/README.md rename to Printers/Canon/template_canon_oce_plotwave/6.4/README.md diff --git a/Printers/Canon/template_canon_oce_plotwave/6.0/template_canon_oce_plotwave.yaml b/Printers/Canon/template_canon_oce_plotwave/6.4/template_canon_oce_plotwave.yaml similarity index 100% rename from Printers/Canon/template_canon_oce_plotwave/6.0/template_canon_oce_plotwave.yaml rename to Printers/Canon/template_canon_oce_plotwave/6.4/template_canon_oce_plotwave.yaml