Skip to content

Commit

Permalink
Xerox B215 Template for Zabbix 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sledzik1984 committed Apr 20, 2022
1 parent 6317a1e commit f1d8444
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Printers/Xerox/template_xerox_b215/6.0/README.md
Original file line number Diff line number Diff line change
@@ -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|<p>-</p>|`SNMP agent`|black.drum.type<p>Update: 21600</p>|
|Current cartridge toner level - black|<p>-</p>|`SNMP agent`|ink.black.now<p>Update: 30</p>|
|Printer location|<p>-</p>|`SNMP agent`|printer.location<p>Update: 21600</p>|
|Serial number|<p>-</p>|`SNMP agent`|serial.number<p>Update: 21600</p>|
|Cartridge toner level % - black|<p>-</p>|`Calculated`|black.cartridge.toner<p>Update: 30</p>|
|Current cartridge Drum level - black|<p>-</p>|`SNMP agent`|drum.black.now<p>Update: 30</p>|
|Pages printed - black|<p>-</p>|`SNMP agent`|pages.printed.black<p>Update: 10800</p>|
|Max cartridge Drum level - black|<p>-</p>|`SNMP agent`|drum.black.max<p>Update: 30</p>|
|Printer model|<p>-</p>|`SNMP agent`|model<p>Update: 21600</p>|
|Cartridge drum level % - black|<p>-</p>|`Calculated`|black.cartridge.drum<p>Update: 30</p>|
|Max cartridge Toner level - black|<p>-</p>|`SNMP agent`|ink.black.max<p>Update: 30</p>|
|Pages printed - total|<p>-</p>|`SNMP agent`|pages.printed.total<p>Update: 10800</p>|
|Type of cartridge - black|<p>-</p>|`SNMP agent`|black.cartridge.type<p>Update: 21600</p>|


## Triggers

There are no triggers in this template.

272 changes: 272 additions & 0 deletions Printers/Xerox/template_xerox_b215/6.0/template_xerox_b215.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f1d8444

Please sign in to comment.