From 240922974acb072e1b7965f33e21d64acbaf8543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20G=C3=B3rski?= Date: Wed, 20 Apr 2022 23:28:43 +0200 Subject: [PATCH 1/3] Xerox B215 Template --- .../Xerox/template_xerox_b215/6.0/README.md | 37 +++ .../6.0/template_xerox_b215.yaml | 272 ++++++++++++++++++ 2 files changed, 309 insertions(+) create mode 100644 Printers/Xerox/template_xerox_b215/6.0/README.md create mode 100644 Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml diff --git a/Printers/Xerox/template_xerox_b215/6.0/README.md b/Printers/Xerox/template_xerox_b215/6.0/README.md new file mode 100644 index 000000000..e1194b5f8 --- /dev/null +++ b/Printers/Xerox/template_xerox_b215/6.0/README.md @@ -0,0 +1,37 @@ +# Printer Xerox B215 + +## 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| +|----|-----------|----|----| +|Type of drum - black|

-

|`SNMP agent`|black.drum.type

Update: 21600

| +|Current cartridge toner level - black|

-

|`SNMP agent`|ink.black.now

Update: 30

| +|Printer location|

-

|`SNMP agent`|printer.location

Update: 21600

| +|Serial number|

-

|`SNMP agent`|serial.number

Update: 21600

| +|Cartridge toner level % - black|

-

|`Calculated`|black.cartridge.toner

Update: 30

| +|Current cartridge Drum level - black|

-

|`SNMP agent`|drum.black.now

Update: 30

| +|Pages printed - black|

-

|`SNMP agent`|pages.printed.black

Update: 10800

| +|Max cartridge Drum level - black|

-

|`SNMP agent`|drum.black.max

Update: 30

| +|Printer model|

-

|`SNMP agent`|model

Update: 21600

| +|Cartridge drum level % - black|

-

|`Calculated`|black.cartridge.drum

Update: 30

| +|Max cartridge Toner level - black|

-

|`SNMP agent`|ink.black.max

Update: 30

| +|Pages printed - total|

-

|`SNMP agent`|pages.printed.total

Update: 10800

| +|Type of cartridge - black|

-

|`SNMP agent`|black.cartridge.type

Update: 21600

| + + +## Triggers + +There are no triggers in this template. + diff --git a/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml b/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml new file mode 100644 index 000000000..9acda7a83 --- /dev/null +++ b/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml @@ -0,0 +1,272 @@ +zabbix_export: + version: '6.0' + date: '2022-04-20T21:13:00Z' + groups: + - + uuid: 7df96b18c230490a9a0a9e2307226338 + name: Templates + templates: + - + uuid: 5b3a62d23bcf4d36be58c3b1c3ca37dc + template: 'Xerox B215' + name: 'Xerox B215' + groups: + - + name: Templates + items: + - + uuid: 614b7858221a4c5fb83e821d29d88668 + name: 'Cartridge drum level % - black' + type: CALCULATED + key: black.cartridge.drum + delay: '30' + history: 7d + units: '%' + params: '100*last(//drum.black.now)/last(//drum.black.max)' + tags: + - + tag: Application + value: 'Consumables level %' + - + uuid: 38576b622b4e4105b83d920f2f9ce43d + name: 'Cartridge toner level % - black' + type: CALCULATED + key: black.cartridge.toner + delay: '30' + history: 7d + units: '%' + params: '100*last(//ink.black.now)/last(//ink.black.max)' + tags: + - + tag: Application + value: 'Consumables level %' + - + uuid: 0805b15a0f574daca61f6ebad6f6ab25 + name: 'Type of cartridge - black' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.11.1.1.6.1.1 + key: black.cartridge.type + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + - + uuid: 646f05be98ee41c582817e0651ed39ec + name: 'Type of drum - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.6.1.2 + key: black.drum.type + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + - + uuid: e96903624e7f4514ad9e95528abfddb0 + name: 'Max cartridge Drum level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.2 + key: drum.black.max + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: 72f0c62961c648f39d87ef9004b11ae6 + name: 'Current cartridge Drum level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.2 + key: drum.black.now + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: b4d486ccce1e4dbb8c203e8c5779e5bd + name: 'Max cartridge Toner level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.1 + key: ink.black.max + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: 4bf56345cfad434eb0cf0229760147fb + name: 'Current cartridge toner level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.1 + key: ink.black.now + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: 24e8cfd33b834cee8b0ab5f772e8d380 + name: 'Printer model' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.25.3.2.1.3.1 + key: model + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + - + uuid: 04453508c33744b69f67525598f9faa6 + name: 'Pages printed - black' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.34 + key: pages.printed.black + delay: '3600' + history: 30d + units: pages + tags: + - + tag: Application + value: 'Pages printed' + - + uuid: 0755dc7e322446aa91b5b72e8d3ab3dd + name: 'Pages printed - total' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.1 + key: pages.printed.total + delay: '3600' + history: 30d + units: pages + tags: + - + tag: Application + value: 'Pages printed' + - + uuid: 4a0e8a4a6de641818b4bd03598449e33 + name: 'Printer location' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.6.0 + key: printer.location + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + inventory_link: TYPE + tags: + - + tag: Application + value: 'Printer information' + - + uuid: 68b8081155d740dcb298a6b78b4f2ee9 + name: 'Serial number' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.5.1.1.17.1 + key: serial.number + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + triggers: + - + uuid: 20533659990d45a8a8e98b70fb268ac8 + expression: | + last(/Xerox B215/black.cartridge.drum)=0 + and nodata(/Xerox B215/black.drum.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Empty cartridge drum - black' + priority: HIGH + - + uuid: 9ac9e2af8907429c9d17950a27117456 + expression: | + last(/Xerox B215/black.cartridge.toner)=0 + and nodata(/Xerox B215/black.cartridge.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Empty cartridge toner - black' + priority: HIGH + - + uuid: bc2c529e7b02482998a03f5a3a17c738 + expression: | + last(/Xerox B215/black.cartridge.drum)<20 + and nodata(/Xerox B215/black.drum.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Low cartridge drum - black' + priority: INFO + dependencies: + - + name: 'Empty cartridge drum - black' + expression: | + last(/Xerox B215/black.cartridge.drum)=0 + and nodata(/Xerox B215/black.drum.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + - + uuid: 2797b2a19e6e4f0d97832f6fabfd2a78 + expression: | + last(/Xerox B215/black.cartridge.toner)<20 + and nodata(/Xerox B215/black.cartridge.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Low cartridge toner - black' + priority: INFO + dependencies: + - + name: 'Empty cartridge toner - black' + expression: | + last(/Xerox B215/black.cartridge.toner)=0 + and nodata(/Xerox B215/black.cartridge.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + graphs: + - + uuid: a661b0edaa1b4397847da7252a016d12 + name: 'Black drum level' + width: '200' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + color: '000000' + item: + host: 'Xerox B215' + key: black.cartridge.drum + - + uuid: 92cef15b43164020953f13ff5eaf2887 + name: 'Black toner level' + width: '200' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: '000000' + item: + host: 'Xerox B215' + key: black.cartridge.toner From 6317a1e9094f854901b0178c3216934c8a05d39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20G=C3=B3rski?= Date: Wed, 20 Apr 2022 23:32:41 +0200 Subject: [PATCH 2/3] ERrors --- .../Xerox/template_xerox_b215/6.0/README.md | 37 --- .../6.0/template_xerox_b215.yaml | 272 ------------------ 2 files changed, 309 deletions(-) delete mode 100644 Printers/Xerox/template_xerox_b215/6.0/README.md delete mode 100644 Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml diff --git a/Printers/Xerox/template_xerox_b215/6.0/README.md b/Printers/Xerox/template_xerox_b215/6.0/README.md deleted file mode 100644 index e1194b5f8..000000000 --- a/Printers/Xerox/template_xerox_b215/6.0/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# Printer Xerox B215 - -## 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| -|----|-----------|----|----| -|Type of drum - black|

-

|`SNMP agent`|black.drum.type

Update: 21600

| -|Current cartridge toner level - black|

-

|`SNMP agent`|ink.black.now

Update: 30

| -|Printer location|

-

|`SNMP agent`|printer.location

Update: 21600

| -|Serial number|

-

|`SNMP agent`|serial.number

Update: 21600

| -|Cartridge toner level % - black|

-

|`Calculated`|black.cartridge.toner

Update: 30

| -|Current cartridge Drum level - black|

-

|`SNMP agent`|drum.black.now

Update: 30

| -|Pages printed - black|

-

|`SNMP agent`|pages.printed.black

Update: 10800

| -|Max cartridge Drum level - black|

-

|`SNMP agent`|drum.black.max

Update: 30

| -|Printer model|

-

|`SNMP agent`|model

Update: 21600

| -|Cartridge drum level % - black|

-

|`Calculated`|black.cartridge.drum

Update: 30

| -|Max cartridge Toner level - black|

-

|`SNMP agent`|ink.black.max

Update: 30

| -|Pages printed - total|

-

|`SNMP agent`|pages.printed.total

Update: 10800

| -|Type of cartridge - black|

-

|`SNMP agent`|black.cartridge.type

Update: 21600

| - - -## Triggers - -There are no triggers in this template. - diff --git a/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml b/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml deleted file mode 100644 index 9acda7a83..000000000 --- a/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml +++ /dev/null @@ -1,272 +0,0 @@ -zabbix_export: - version: '6.0' - date: '2022-04-20T21:13:00Z' - groups: - - - uuid: 7df96b18c230490a9a0a9e2307226338 - name: Templates - templates: - - - uuid: 5b3a62d23bcf4d36be58c3b1c3ca37dc - template: 'Xerox B215' - name: 'Xerox B215' - groups: - - - name: Templates - items: - - - uuid: 614b7858221a4c5fb83e821d29d88668 - name: 'Cartridge drum level % - black' - type: CALCULATED - key: black.cartridge.drum - delay: '30' - history: 7d - units: '%' - params: '100*last(//drum.black.now)/last(//drum.black.max)' - tags: - - - tag: Application - value: 'Consumables level %' - - - uuid: 38576b622b4e4105b83d920f2f9ce43d - name: 'Cartridge toner level % - black' - type: CALCULATED - key: black.cartridge.toner - delay: '30' - history: 7d - units: '%' - params: '100*last(//ink.black.now)/last(//ink.black.max)' - tags: - - - tag: Application - value: 'Consumables level %' - - - uuid: 0805b15a0f574daca61f6ebad6f6ab25 - name: 'Type of cartridge - black' - type: SNMP_AGENT - snmp_oid: .1.3.6.1.2.1.43.11.1.1.6.1.1 - key: black.cartridge.type - delay: '3600' - history: 7d - trends: '0' - value_type: TEXT - tags: - - - tag: Application - value: 'Printer information' - - - uuid: 646f05be98ee41c582817e0651ed39ec - name: 'Type of drum - black' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.43.11.1.1.6.1.2 - key: black.drum.type - delay: '3600' - history: 7d - trends: '0' - value_type: TEXT - tags: - - - tag: Application - value: 'Printer information' - - - uuid: e96903624e7f4514ad9e95528abfddb0 - name: 'Max cartridge Drum level - black' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.2 - key: drum.black.max - delay: '30' - history: 7d - tags: - - - tag: Application - value: 'Consumables level' - - - uuid: 72f0c62961c648f39d87ef9004b11ae6 - name: 'Current cartridge Drum level - black' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.2 - key: drum.black.now - delay: '30' - history: 7d - tags: - - - tag: Application - value: 'Consumables level' - - - uuid: b4d486ccce1e4dbb8c203e8c5779e5bd - name: 'Max cartridge Toner level - black' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.1 - key: ink.black.max - delay: '30' - history: 7d - tags: - - - tag: Application - value: 'Consumables level' - - - uuid: 4bf56345cfad434eb0cf0229760147fb - name: 'Current cartridge toner level - black' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.1 - key: ink.black.now - delay: '30' - history: 7d - tags: - - - tag: Application - value: 'Consumables level' - - - uuid: 24e8cfd33b834cee8b0ab5f772e8d380 - name: 'Printer model' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.25.3.2.1.3.1 - key: model - delay: '3600' - history: 7d - trends: '0' - value_type: TEXT - tags: - - - tag: Application - value: 'Printer information' - - - uuid: 04453508c33744b69f67525598f9faa6 - name: 'Pages printed - black' - type: SNMP_AGENT - snmp_oid: .1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.34 - key: pages.printed.black - delay: '3600' - history: 30d - units: pages - tags: - - - tag: Application - value: 'Pages printed' - - - uuid: 0755dc7e322446aa91b5b72e8d3ab3dd - name: 'Pages printed - total' - type: SNMP_AGENT - snmp_oid: .1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.1 - key: pages.printed.total - delay: '3600' - history: 30d - units: pages - tags: - - - tag: Application - value: 'Pages printed' - - - uuid: 4a0e8a4a6de641818b4bd03598449e33 - name: 'Printer location' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.1.6.0 - key: printer.location - delay: '3600' - history: 7d - trends: '0' - value_type: TEXT - inventory_link: TYPE - tags: - - - tag: Application - value: 'Printer information' - - - uuid: 68b8081155d740dcb298a6b78b4f2ee9 - name: 'Serial number' - type: SNMP_AGENT - snmp_oid: 1.3.6.1.2.1.43.5.1.1.17.1 - key: serial.number - delay: '3600' - history: 7d - trends: '0' - value_type: TEXT - tags: - - - tag: Application - value: 'Printer information' - triggers: - - - uuid: 20533659990d45a8a8e98b70fb268ac8 - expression: | - last(/Xerox B215/black.cartridge.drum)=0 - and nodata(/Xerox B215/black.drum.type,3w)=0 - and nodata(/Xerox B215/model,3w)=0 - and nodata(/Xerox B215/serial.number,3w)=0 - and nodata(/Xerox B215/printer.location,3w)=0 - name: 'Empty cartridge drum - black' - priority: HIGH - - - uuid: 9ac9e2af8907429c9d17950a27117456 - expression: | - last(/Xerox B215/black.cartridge.toner)=0 - and nodata(/Xerox B215/black.cartridge.type,3w)=0 - and nodata(/Xerox B215/model,3w)=0 - and nodata(/Xerox B215/serial.number,3w)=0 - and nodata(/Xerox B215/printer.location,3w)=0 - name: 'Empty cartridge toner - black' - priority: HIGH - - - uuid: bc2c529e7b02482998a03f5a3a17c738 - expression: | - last(/Xerox B215/black.cartridge.drum)<20 - and nodata(/Xerox B215/black.drum.type,3w)=0 - and nodata(/Xerox B215/model,3w)=0 - and nodata(/Xerox B215/serial.number,3w)=0 - and nodata(/Xerox B215/printer.location,3w)=0 - name: 'Low cartridge drum - black' - priority: INFO - dependencies: - - - name: 'Empty cartridge drum - black' - expression: | - last(/Xerox B215/black.cartridge.drum)=0 - and nodata(/Xerox B215/black.drum.type,3w)=0 - and nodata(/Xerox B215/model,3w)=0 - and nodata(/Xerox B215/serial.number,3w)=0 - and nodata(/Xerox B215/printer.location,3w)=0 - - - uuid: 2797b2a19e6e4f0d97832f6fabfd2a78 - expression: | - last(/Xerox B215/black.cartridge.toner)<20 - and nodata(/Xerox B215/black.cartridge.type,3w)=0 - and nodata(/Xerox B215/model,3w)=0 - and nodata(/Xerox B215/serial.number,3w)=0 - and nodata(/Xerox B215/printer.location,3w)=0 - name: 'Low cartridge toner - black' - priority: INFO - dependencies: - - - name: 'Empty cartridge toner - black' - expression: | - last(/Xerox B215/black.cartridge.toner)=0 - and nodata(/Xerox B215/black.cartridge.type,3w)=0 - and nodata(/Xerox B215/model,3w)=0 - and nodata(/Xerox B215/serial.number,3w)=0 - and nodata(/Xerox B215/printer.location,3w)=0 - graphs: - - - uuid: a661b0edaa1b4397847da7252a016d12 - name: 'Black drum level' - width: '200' - ymin_type_1: FIXED - ymax_type_1: FIXED - graph_items: - - - color: '000000' - item: - host: 'Xerox B215' - key: black.cartridge.drum - - - uuid: 92cef15b43164020953f13ff5eaf2887 - name: 'Black toner level' - width: '200' - ymin_type_1: FIXED - ymax_type_1: FIXED - graph_items: - - - drawtype: GRADIENT_LINE - color: '000000' - item: - host: 'Xerox B215' - key: black.cartridge.toner From f1d8444252ea2037bc167ca5243aef8a4bad91ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20G=C3=B3rski?= Date: Wed, 20 Apr 2022 23:34:23 +0200 Subject: [PATCH 3/3] Xerox B215 Template for Zabbix 6.0 --- .../Xerox/template_xerox_b215/6.0/README.md | 37 +++ .../6.0/template_xerox_b215.yaml | 272 ++++++++++++++++++ 2 files changed, 309 insertions(+) create mode 100644 Printers/Xerox/template_xerox_b215/6.0/README.md create mode 100644 Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml diff --git a/Printers/Xerox/template_xerox_b215/6.0/README.md b/Printers/Xerox/template_xerox_b215/6.0/README.md new file mode 100644 index 000000000..e1194b5f8 --- /dev/null +++ b/Printers/Xerox/template_xerox_b215/6.0/README.md @@ -0,0 +1,37 @@ +# Printer Xerox B215 + +## 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| +|----|-----------|----|----| +|Type of drum - black|

-

|`SNMP agent`|black.drum.type

Update: 21600

| +|Current cartridge toner level - black|

-

|`SNMP agent`|ink.black.now

Update: 30

| +|Printer location|

-

|`SNMP agent`|printer.location

Update: 21600

| +|Serial number|

-

|`SNMP agent`|serial.number

Update: 21600

| +|Cartridge toner level % - black|

-

|`Calculated`|black.cartridge.toner

Update: 30

| +|Current cartridge Drum level - black|

-

|`SNMP agent`|drum.black.now

Update: 30

| +|Pages printed - black|

-

|`SNMP agent`|pages.printed.black

Update: 10800

| +|Max cartridge Drum level - black|

-

|`SNMP agent`|drum.black.max

Update: 30

| +|Printer model|

-

|`SNMP agent`|model

Update: 21600

| +|Cartridge drum level % - black|

-

|`Calculated`|black.cartridge.drum

Update: 30

| +|Max cartridge Toner level - black|

-

|`SNMP agent`|ink.black.max

Update: 30

| +|Pages printed - total|

-

|`SNMP agent`|pages.printed.total

Update: 10800

| +|Type of cartridge - black|

-

|`SNMP agent`|black.cartridge.type

Update: 21600

| + + +## Triggers + +There are no triggers in this template. + diff --git a/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml b/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml new file mode 100644 index 000000000..9acda7a83 --- /dev/null +++ b/Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml @@ -0,0 +1,272 @@ +zabbix_export: + version: '6.0' + date: '2022-04-20T21:13:00Z' + groups: + - + uuid: 7df96b18c230490a9a0a9e2307226338 + name: Templates + templates: + - + uuid: 5b3a62d23bcf4d36be58c3b1c3ca37dc + template: 'Xerox B215' + name: 'Xerox B215' + groups: + - + name: Templates + items: + - + uuid: 614b7858221a4c5fb83e821d29d88668 + name: 'Cartridge drum level % - black' + type: CALCULATED + key: black.cartridge.drum + delay: '30' + history: 7d + units: '%' + params: '100*last(//drum.black.now)/last(//drum.black.max)' + tags: + - + tag: Application + value: 'Consumables level %' + - + uuid: 38576b622b4e4105b83d920f2f9ce43d + name: 'Cartridge toner level % - black' + type: CALCULATED + key: black.cartridge.toner + delay: '30' + history: 7d + units: '%' + params: '100*last(//ink.black.now)/last(//ink.black.max)' + tags: + - + tag: Application + value: 'Consumables level %' + - + uuid: 0805b15a0f574daca61f6ebad6f6ab25 + name: 'Type of cartridge - black' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.2.1.43.11.1.1.6.1.1 + key: black.cartridge.type + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + - + uuid: 646f05be98ee41c582817e0651ed39ec + name: 'Type of drum - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.6.1.2 + key: black.drum.type + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + - + uuid: e96903624e7f4514ad9e95528abfddb0 + name: 'Max cartridge Drum level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.2 + key: drum.black.max + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: 72f0c62961c648f39d87ef9004b11ae6 + name: 'Current cartridge Drum level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.2 + key: drum.black.now + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: b4d486ccce1e4dbb8c203e8c5779e5bd + name: 'Max cartridge Toner level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.1 + key: ink.black.max + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: 4bf56345cfad434eb0cf0229760147fb + name: 'Current cartridge toner level - black' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.1 + key: ink.black.now + delay: '30' + history: 7d + tags: + - + tag: Application + value: 'Consumables level' + - + uuid: 24e8cfd33b834cee8b0ab5f772e8d380 + name: 'Printer model' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.25.3.2.1.3.1 + key: model + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + - + uuid: 04453508c33744b69f67525598f9faa6 + name: 'Pages printed - black' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.34 + key: pages.printed.black + delay: '3600' + history: 30d + units: pages + tags: + - + tag: Application + value: 'Pages printed' + - + uuid: 0755dc7e322446aa91b5b72e8d3ab3dd + name: 'Pages printed - total' + type: SNMP_AGENT + snmp_oid: .1.3.6.1.4.1.253.8.53.13.2.1.6.1.20.1 + key: pages.printed.total + delay: '3600' + history: 30d + units: pages + tags: + - + tag: Application + value: 'Pages printed' + - + uuid: 4a0e8a4a6de641818b4bd03598449e33 + name: 'Printer location' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.1.6.0 + key: printer.location + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + inventory_link: TYPE + tags: + - + tag: Application + value: 'Printer information' + - + uuid: 68b8081155d740dcb298a6b78b4f2ee9 + name: 'Serial number' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.2.1.43.5.1.1.17.1 + key: serial.number + delay: '3600' + history: 7d + trends: '0' + value_type: TEXT + tags: + - + tag: Application + value: 'Printer information' + triggers: + - + uuid: 20533659990d45a8a8e98b70fb268ac8 + expression: | + last(/Xerox B215/black.cartridge.drum)=0 + and nodata(/Xerox B215/black.drum.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Empty cartridge drum - black' + priority: HIGH + - + uuid: 9ac9e2af8907429c9d17950a27117456 + expression: | + last(/Xerox B215/black.cartridge.toner)=0 + and nodata(/Xerox B215/black.cartridge.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Empty cartridge toner - black' + priority: HIGH + - + uuid: bc2c529e7b02482998a03f5a3a17c738 + expression: | + last(/Xerox B215/black.cartridge.drum)<20 + and nodata(/Xerox B215/black.drum.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Low cartridge drum - black' + priority: INFO + dependencies: + - + name: 'Empty cartridge drum - black' + expression: | + last(/Xerox B215/black.cartridge.drum)=0 + and nodata(/Xerox B215/black.drum.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + - + uuid: 2797b2a19e6e4f0d97832f6fabfd2a78 + expression: | + last(/Xerox B215/black.cartridge.toner)<20 + and nodata(/Xerox B215/black.cartridge.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + name: 'Low cartridge toner - black' + priority: INFO + dependencies: + - + name: 'Empty cartridge toner - black' + expression: | + last(/Xerox B215/black.cartridge.toner)=0 + and nodata(/Xerox B215/black.cartridge.type,3w)=0 + and nodata(/Xerox B215/model,3w)=0 + and nodata(/Xerox B215/serial.number,3w)=0 + and nodata(/Xerox B215/printer.location,3w)=0 + graphs: + - + uuid: a661b0edaa1b4397847da7252a016d12 + name: 'Black drum level' + width: '200' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + color: '000000' + item: + host: 'Xerox B215' + key: black.cartridge.drum + - + uuid: 92cef15b43164020953f13ff5eaf2887 + name: 'Black toner level' + width: '200' + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - + drawtype: GRADIENT_LINE + color: '000000' + item: + host: 'Xerox B215' + key: black.cartridge.toner