Skip to content

Commit

Permalink
Merge pull request #321 from AnilAntari/xerox
Browse files Browse the repository at this point in the history
New template for Xerox
  • Loading branch information
oscar120584 authored Feb 6, 2024
2 parents 0ab41a9 + 16cc008 commit 7889cf6
Show file tree
Hide file tree
Showing 6 changed files with 817 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Printers/Xerox/template_xerox_versalink_b405/6.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Printer Xerox VersaLink B405

## 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|
|----|-----------|----|----|
|Pages printed - total|<p>-</p>|`SNMP agent`|Pages_printed_total<p>Update: 30</p>|
|Printer location|<p>-</p>|`SNMP agent`|printer.location<p>Update: 30</p>|
|Cartridge toner level % - black|<p>-</p>|`Calculated`|black.cartridge.toner<p>Update: 30</p>|
|Printer model|<p>-</p>|`SNMP agent`|model<p>Update: 30</p>|
|Max cartridge toner level - black|<p>-</p>|`SNMP agent`|ink.black.max<p>Update: 30</p>|
|Serial number|<p>-</p>|`SNMP agent`|serial.number<p>Update: 30</p>|
|Current cartridge toner level - black|<p>-</p>|`SNMP agent`|ink.black.now<p>Update: 30</p>|
|Type of cartridge - black|<p>-</p>|`SNMP agent`|black.cartridge.type<p>Update: 30</p>|
|Current cartridge drum level|<p>-<p>|`SNMP agent`|ink.drum.now<p>Update: 30<p/>|
|Max cartridge drum level|<p>-<p>|`SNMP agent`|ink.drum.max<p>Update: 30<p/>|
|Cartridge drum level %|<p>-<p>|`Calculated`|cartridge.drum<p>Update: 30<p/>|
|Type of cartridge drum|<p>-<p>|`SNMP agent`|drum.cartridge.type<p>Update: 30<p/>|


## Triggers

There are no triggers in this template.

Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
zabbix_export:
version: '6.0'
date: '2024-01-17T13:03:44Z'
groups:
- uuid: 01efee55378144c2b6fe9d548ad57180
name: Printer
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 363c13b17ab640baa401673259766505
template: 'Printer Xerox VersaLink B405'
name: 'Printer Xerox VersaLink B405'
groups:
- name: Printer
- name: Templates
items:
- uuid: 7ff4cff7a70f4d54836a8d4532abe12a
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: d10455278ec44647beb9ac252e51d219
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: '30'
history: 7d
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Printer information'
- uuid: 416dc7a6a5ed428b83f7ba8fd355cc23
name: 'Cartridge drum level %'
type: CALCULATED
key: cartridge.drum
delay: '30'
history: 7d
units: '%'
params: '100*last(//ink.drum.now)/last(//ink.drum.max)'
- uuid: ab82518fd83f4364a46302010bfc54b9
name: 'Type of cartridge durm'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.43.11.1.1.6.1.6
key: drum.cartridge.type
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
- uuid: bab8d14477634c5c95151795f1e5493e
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: 0d2d12441f5b464284eb189cb41534fc
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: be626c69664741af95c5849bc57b51e3
name: 'Max cartridge drum level'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.43.11.1.1.8.1.6
key: ink.drum.max
delay: '30'
history: 7d
- uuid: 838d2dc82ff9478b937f115dabbbd622
name: 'Current cartridge drum level'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.43.11.1.1.9.1.6
key: ink.drum.now
delay: '30'
history: 7d
- uuid: f8a2955fcb0b4214a785ee49e297ba48
name: 'Printer model'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.25.3.2.1.3.1
key: model
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
inventory_link: TYPE
tags:
- tag: Application
value: 'Printer information'
- uuid: 4a196423491a4999bdf53cbcc1208a83
name: 'Pages printed - total'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.43.10.2.1.4.1.1
key: Pages_printed_total
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Pages printed'
- uuid: 62733ea0bf8e4897a22d20d96a0a4373
name: 'Printer location'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.6.0
key: printer.location
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Printer information'
- uuid: 805c6f3104e844d6a84ccfbe3832213f
name: 'Serial number'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.43.5.1.1.17.1
key: serial.number
delay: '30'
history: 7d
trends: '0'
value_type: TEXT
tags:
- tag: Application
value: 'Printer information'
dashboards:
- uuid: 4a63290678e346bbb4101422a216b9de
name: 'Toner level'
pages:
- widgets:
- type: PLAIN_TEXT
width: '24'
fields:
- type: ITEM
name: itemids
value:
host: 'Printer Xerox VersaLink B405'
key: black.cartridge.type
- type: INTEGER
name: show_as_html
value: '0'
- type: INTEGER
name: show_lines
value: '1'
- type: GRAPH_CLASSIC
'y': '2'
width: '24'
height: '6'
fields:
- type: GRAPH
name: graphid
value:
host: 'Printer Xerox VersaLink B405'
name: 'Black toner level'
- type: INTEGER
name: source_type
value: '0'
triggers:
- uuid: e66973f36f2c4d4f805c59c78a1f1308
expression: |
last(/Printer Xerox VersaLink B405/cartridge.drum)=0
and nodata(/Printer Xerox VersaLink B405/drum.cartridge.type,3w)=0
and nodata(/Printer Xerox VersaLink B405/model,3w)=0
and nodata(/Printer Xerox VersaLink B405/printer.location,3w)=0
and nodata(/Printer Xerox VersaLink B405/serial.number,3w)=0
name: 'Empty cartridge drum'
priority: HIGH
- uuid: 627ee4b3a6ae443da9c19075d1e47a37
expression: |
last(/Printer Xerox VersaLink B405/black.cartridge.toner)=0
and nodata(/Printer Xerox VersaLink B405/black.cartridge.type,3w)=0
and nodata(/Printer Xerox VersaLink B405/model,3w)=0
and nodata(/Printer Xerox VersaLink B405/printer.location,3w)=0
and nodata(/Printer Xerox VersaLink B405/serial.number,3w)=0
name: 'Empty cartridge toner - black'
priority: HIGH
- uuid: 73563dbe398949f28400e61908cdae3a
expression: |
last(/Printer Xerox VersaLink B405/cartridge.drum)<20
and nodata(/Printer Xerox VersaLink B405/drum.cartridge.type,3w)=0
and nodata(/Printer Xerox VersaLink B405/model,3w)=0
and nodata(/Printer Xerox VersaLink B405/printer.location,3w)=0
and nodata(/Printer Xerox VersaLink B405/serial.number,3w)=0
name: 'Low cartridge drum'
priority: INFO
dependencies:
- name: 'Empty cartridge drum'
expression: |
last(/Printer Xerox VersaLink B405/cartridge.drum)=0
and nodata(/Printer Xerox VersaLink B405/drum.cartridge.type,3w)=0
and nodata(/Printer Xerox VersaLink B405/model,3w)=0
and nodata(/Printer Xerox VersaLink B405/printer.location,3w)=0
and nodata(/Printer Xerox VersaLink B405/serial.number,3w)=0
- uuid: 43eae12002b54d999934f6916556cae2
expression: |
last(/Printer Xerox VersaLink B405/black.cartridge.toner)<20
and nodata(/Printer Xerox VersaLink B405/black.cartridge.type,3w)=0
and nodata(/Printer Xerox VersaLink B405/model,3w)=0
and nodata(/Printer Xerox VersaLink B405/printer.location,3w)=0
and nodata(/Printer Xerox VersaLink B405/serial.number,3w)=0
name: 'Low cartridge toner - black'
priority: INFO
dependencies:
- name: 'Empty cartridge toner - black'
expression: |
last(/Printer Xerox VersaLink B405/black.cartridge.toner)=0
and nodata(/Printer Xerox VersaLink B405/black.cartridge.type,3w)=0
and nodata(/Printer Xerox VersaLink B405/model,3w)=0
and nodata(/Printer Xerox VersaLink B405/printer.location,3w)=0
and nodata(/Printer Xerox VersaLink B405/serial.number,3w)=0
graphs:
- uuid: d566b970298844d1a90c8602843dada8
name: 'Black toner level'
width: '200'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: '000000'
item:
host: 'Printer Xerox VersaLink B405'
key: black.cartridge.toner
- uuid: 0b83a25f06e947ed8dcf555a999a7691
name: drum
graph_items:
- drawtype: GRADIENT_LINE
color: 1A7C11
calc_fnc: ALL
item:
host: 'Printer Xerox VersaLink B405'
key: cartridge.drum
35 changes: 35 additions & 0 deletions Printers/Xerox/template_xerox_workcentre_3345/6.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Printer Xerox WorkCentre 3345

## 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|
|----|-----------|----|----|
|Pages printed - total|<p>-</p>|`SNMP agent`|Pages_printed_total<p>Update: 30</p>|
|Printer location|<p>-</p>|`SNMP agent`|printer.location<p>Update: 30</p>|
|Cartridge toner level % - black|<p>-</p>|`Calculated`|black.cartridge.toner<p>Update: 30</p>|
|Printer model|<p>-</p>|`SNMP agent`|model<p>Update: 30</p>|
|Max cartridge toner level - black|<p>-</p>|`SNMP agent`|ink.black.max<p>Update: 30</p>|
|Serial number|<p>-</p>|`SNMP agent`|serial.number<p>Update: 30</p>|
|Current cartridge toner level - black|<p>-</p>|`SNMP agent`|ink.black.now<p>Update: 30</p>|
|Type of cartridge - black|<p>-</p>|`SNMP agent`|black.cartridge.type<p>Update: 30</p>|
|Current cartridge drum level|<p>-<p>|`SNMP agent`|ink.drum.now<p>Update: 30<p/>|
|Max cartridge drum level|<p>-<p>|`SNMP agent`|ink.drum.max<p>Update: 30<p/>|
|Cartridge drum level %|<p>-<p>|`Calculated`|cartridge.drum<p>Update: 30<p/>|


## Triggers

There are no triggers in this template.

Loading

0 comments on commit 7889cf6

Please sign in to comment.