-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ricoh Printer by SNMP.yaml
244 lines (243 loc) · 9.49 KB
/
Ricoh Printer by SNMP.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
zabbix_export:
version: '6.4'
template_groups:
- uuid: 60f1dce8720d41eab748470cd7d4746e
name: Printers
templates:
- uuid: a6b951472b14481eb80cd38740fc6356
template: 'SNMP Ricoh Printers'
name: 'SNMP Ricoh Printers'
templates:
- name: 'SNMP Generic'
groups:
- name: Printers
items:
- uuid: 7f5ac9d6982d4ce58e1b341f0ec875d6
name: Description
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.25.3.2.1.3.1
key: Description
delay: '60'
trends: '0'
value_type: TEXT
inventory_link: TYPE_FULL
tags:
- tag: Application
value: 'SNMP Enabled Printer'
- uuid: c377dba5b4dd432985cf5b548da59cf8
name: 'ICMP Status'
type: SIMPLE
key: icmpping
delay: 30s
history: 2d
trends: 5d
valuemap:
name: 'ICMP Status'
- uuid: 5b05da02cfb14d99b810c4d41ef9e5e8
name: 'Page Count'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.43.10.2.1.4.1.1
key: PageCount
delay: '60'
tags:
- tag: Application
value: 'SNMP Enabled Printer'
- uuid: 9ee1b2887866423084b243285b3221a2
name: 'Page Count / Min'
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.43.10.2.1.4.1.1
key: PageCountPerMinute
delay: '60'
value_type: FLOAT
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '60'
tags:
- tag: Application
value: 'SNMP Enabled Printer'
- uuid: 26ba2b48651d455284c3cd4e919da0ca
name: Status
type: SNMP_AGENT
snmp_oid: .1.3.6.1.2.1.25.3.2.1.5.1
key: PrinterStatus
delay: 10s
tags:
- tag: Application
value: 'SNMP Enabled Printer'
triggers:
- uuid: cf8a4bca77094953aac95bc5b5827cb9
expression: 'last(/SNMP Ricoh Printers/PrinterStatus)<>2 and last(/SNMP Ricoh Printers/PrinterStatus)<>1 and last(/SNMP Ricoh Printers/PrinterStatus)<>5'
name: 'Printer Error'
priority: WARNING
- uuid: 9d27970a0abc49dc80656292bc5070ae
expression: 'last(/SNMP Ricoh Printers/PrinterStatus)<>2 and last(/SNMP Ricoh Printers/PrinterStatus)<>3 and last(/SNMP Ricoh Printers/PrinterStatus)<>4'
name: 'Printer Unknown Error'
priority: HIGH
discovery_rules:
- uuid: 720850c2bd7f48fb91283bee108ab2e6
name: DetailCounters
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.367.3.2.1.2.19.5.1.5]'
key: DetailCountersID
delay: '300'
item_prototypes:
- uuid: 33453491b38f43feb063366a982993cc
name: 'DetailCounters[{#SNMPVALUE}]'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.4.1.367.3.2.1.2.19.5.1.9.{#SNMPINDEX}'
key: 'DetailCountersID[{#SNMPVALUE}]'
delay: '3600'
tags:
- tag: Application
value: 'SNMP Enabled Printer'
- uuid: 956ea7547b574206b61e48bb476543fb
name: Parts
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.43.6.1.1.2.1]'
key: PartsID
delay: '300'
item_prototypes:
- uuid: ccb7b521823d4d4db0f4b62ac3c46675
name: 'Part {#SNMPVALUE} Status'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.2.1.43.6.1.1.3.1.{#SNMPINDEX}'
key: 'PartStatus[{#SNMPVALUE}]'
delay: '300'
tags:
- tag: Application
value: 'SNMP Enabled Printer'
trigger_prototypes:
- uuid: 4f8b0eddc75842a9a8920fd7a78b8239
expression: 'last(/SNMP Ricoh Printers/PartStatus[{#SNMPVALUE}])<>4'
name: 'Cover Open'
priority: WARNING
- uuid: 6efd542f3aa444a39b8e760d0adea194
expression: 'last(/SNMP Ricoh Printers/PartStatus[{#SNMPVALUE}])<>4 and last(/SNMP Ricoh Printers/PartStatus[{#SNMPVALUE}])<>3'
name: 'Unknown: {ITEM.LASTVALUE}'
- uuid: 1fde2f3749944a44a49dd41146b3db54
name: Toners
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.367.3.2.1.2.24.1.1.2]'
key: TonersID
delay: '300'
item_prototypes:
- uuid: 498e0cb8c40144b1bb26c37920317fad
name: 'Tonor {#SNMPVALUE} Level'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.{#SNMPINDEX}'
key: 'TonerLevel[{#SNMPVALUE}]'
status: DISABLED
value_type: FLOAT
tags:
- tag: Application
value: 'SNMP Enabled Printer'
trigger_prototypes:
- uuid: 7900004928904de1a73ee03f67bae828
expression: 'last(/SNMP Ricoh Printers/TonerLevel[{#SNMPVALUE}])<10'
name: '{#SNMPVALUE} Critical: {ITEM.LASTVALUE}'
priority: HIGH
- uuid: 6589ff08b7184f75b47a943e4abd2e48
expression: 'last(/SNMP Ricoh Printers/TonerLevel[{#SNMPVALUE}])<30 and last(/SNMP Ricoh Printers/TonerLevel[{#SNMPVALUE}])>10'
name: '{#SNMPVALUE} Warning: {ITEM.LASTVALUE}'
priority: WARNING
graph_prototypes:
- uuid: be4a77397c2c4b44ba15c834873ce807
name: 'Tonor Level - {#SNMPVALUE}'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- color: 1A7C11
item:
host: 'SNMP Ricoh Printers'
key: 'TonerLevel[{#SNMPVALUE}]'
- uuid: 8d9aa070395a406e8b7a295e4bf68e12
name: Trays
type: SNMP_AGENT
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.2.1.43.8.2.1.13.1]'
key: TraysID
delay: '300'
item_prototypes:
- uuid: 27dd7f22a89b494b9dd2a486cf2ef3c1
name: 'Tray {#SNMPVALUE} Current Level (percentage)'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.2.1.43.8.2.1.10.1.{#SNMPINDEX}'
key: 'TrayCurrentLevelPercentage[{#SNMPVALUE}]'
delay: 20s
units: '%'
preprocessing:
- type: JAVASCRIPT
parameters:
- |
var number1 = value;
var number2 = 550;
results = (Math.round((number1 / number2) * 100));
return results;
tags:
- tag: Application
value: 'SNMP Enabled Printer'
- uuid: 5a18a9e5e85f46278d29f74f9676a8ed
name: 'Tray {#SNMPVALUE} Current Level'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.2.1.43.8.2.1.10.1.{#SNMPINDEX}'
key: 'TrayCurrentLevel[{#SNMPVALUE}]'
delay: 20s
tags:
- tag: Application
value: 'SNMP Enabled Printer'
- uuid: 4ff1614b558844a69b0fefffaebb9990
name: 'Tray {#SNMPVALUE} Max Level'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.2.1.43.8.2.1.9.1.{#SNMPINDEX}'
key: 'TrayMaxLevel[{#SNMPVALUE}]'
delay: '300'
history: 7d
trends: 7d
tags:
- tag: Application
value: 'SNMP Enabled Printer'
trigger_prototypes:
- uuid: 3228b53b64494984b1c9061f292bc1c7
expression: 'last(/SNMP Ricoh Printers/TrayCurrentLevel[{#SNMPVALUE}])<last(/SNMP Ricoh Printers/TrayMaxLevel[{#SNMPVALUE}])/4'
name: '{#SNMPVALUE} - Critical: {ITEM.LASTVALUE}'
priority: HIGH
- uuid: 9b2d532235d14e23a6f2a4f8a87ee1ba
expression: 'last(/SNMP Ricoh Printers/TrayCurrentLevel[{#SNMPVALUE}])<last(/SNMP Ricoh Printers/TrayMaxLevel[{#SNMPVALUE}])/2 and last(/SNMP Ricoh Printers/TrayCurrentLevel[{#SNMPVALUE}])>last(/SNMP Ricoh Printers/TrayMaxLevel[{#SNMPVALUE}])/4'
name: '{#SNMPVALUE} - Warning: {ITEM.LASTVALUE}'
priority: WARNING
graph_prototypes:
- uuid: 6ffdde6806a74bb784dcf2eae74adeb0
name: 'Tray Level - {#SNMPVALUE}'
graph_items:
- color: 1A7C11
item:
host: 'SNMP Ricoh Printers'
key: 'TrayCurrentLevel[{#SNMPVALUE}]'
- sortorder: '1'
color: F63100
item:
host: 'SNMP Ricoh Printers'
key: 'TrayMaxLevel[{#SNMPVALUE}]'
valuemaps:
- uuid: 027e245e76f845319d2ed580c2e7e9a5
name: 'ICMP Status'
mappings:
- value: '1'
newvalue: Up
- value: '2'
newvalue: Down
graphs:
- uuid: 1d1092874c2d4e9bb048d72b3b5a28e8
name: 'Print Pages / Minute'
show_triggers: 'NO'
show_legend: 'NO'
ymin_type_1: FIXED
graph_items:
- drawtype: FILLED_REGION
color: 1A7C11
item:
host: 'SNMP Ricoh Printers'
key: PageCountPerMinute