Project

General

Profile

Download (19.4 KB) Statistics
| Branch: | Revision:

root / templates / Template_SNMP_Printer.xml @ master

1
<?xml version="1.0" encoding="UTF-8"?>
2
<zabbix_export>
3
    <version>2.0</version>
4
    <date>2015-02-12T23:51:34Z</date>
5
    <groups>
6
        <group>
7
            <name>Templates</name>
8
        </group>
9
        <group>
10
            <name>Utility Devices</name>
11
        </group>
12
    </groups>
13
    <templates>
14
        <template>
15
            <template>Template SNMP Printer</template>
16
            <name>Template SNMP Printer</name>
17
            <groups>
18
                <group>
19
                    <name>Templates</name>
20
                </group>
21
                <group>
22
                    <name>Utility Devices</name>
23
                </group>
24
            </groups>
25
            <applications>
26
                <application>
27
                    <name>Printer</name>
28
                </application>
29
            </applications>
30
            <items>
31
                <item>
32
                    <name>Page Count</name>
33
                    <type>1</type>
34
                    <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
35
                    <multiplier>0</multiplier>
36
                    <snmp_oid>Printer-MIB::prtMarkerLifeCount.1.1</snmp_oid>
37
                    <key>prtMarkerLifeCount</key>
38
                    <delay>1800</delay>
39
                    <history>7</history>
40
                    <trends>365</trends>
41
                    <status>0</status>
42
                    <value_type>3</value_type>
43
                    <allowed_hosts/>
44
                    <units/>
45
                    <delta>0</delta>
46
                    <snmpv3_contextname/>
47
                    <snmpv3_securityname/>
48
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
49
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
50
                    <snmpv3_authpassphrase/>
51
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
52
                    <snmpv3_privpassphrase/>
53
                    <formula>1</formula>
54
                    <delay_flex/>
55
                    <params/>
56
                    <ipmi_sensor/>
57
                    <data_type>0</data_type>
58
                    <authtype>0</authtype>
59
                    <username/>
60
                    <password/>
61
                    <publickey/>
62
                    <privatekey/>
63
                    <port/>
64
                    <description/>
65
                    <inventory_link>0</inventory_link>
66
                    <applications>
67
                        <application>
68
                            <name>Printer</name>
69
                        </application>
70
                    </applications>
71
                    <valuemap/>
72
                    <logtimefmt/>
73
                </item>
74
                <item>
75
                    <name>Power-On Count</name>
76
                    <type>1</type>
77
                    <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
78
                    <multiplier>0</multiplier>
79
                    <snmp_oid>Printer-MIB::prtMarkerPowerOnCount.1.1</snmp_oid>
80
                    <key>prtMarkerPowerOnCount</key>
81
                    <delay>86400</delay>
82
                    <history>7</history>
83
                    <trends>365</trends>
84
                    <status>0</status>
85
                    <value_type>3</value_type>
86
                    <allowed_hosts/>
87
                    <units/>
88
                    <delta>0</delta>
89
                    <snmpv3_contextname/>
90
                    <snmpv3_securityname/>
91
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
92
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
93
                    <snmpv3_authpassphrase/>
94
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
95
                    <snmpv3_privpassphrase/>
96
                    <formula>1</formula>
97
                    <delay_flex/>
98
                    <params/>
99
                    <ipmi_sensor/>
100
                    <data_type>0</data_type>
101
                    <authtype>0</authtype>
102
                    <username/>
103
                    <password/>
104
                    <publickey/>
105
                    <privatekey/>
106
                    <port/>
107
                    <description/>
108
                    <inventory_link>0</inventory_link>
109
                    <applications>
110
                        <application>
111
                            <name>Printer</name>
112
                        </application>
113
                    </applications>
114
                    <valuemap/>
115
                    <logtimefmt/>
116
                </item>
117
            </items>
118
            <discovery_rules>
119
                <discovery_rule>
120
                    <name>Toners</name>
121
                    <type>1</type>
122
                    <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
123
                    <snmp_oid>Printer-MIB::prtMarkerSuppliesType.1</snmp_oid>
124
                    <key>prtMarkerSuppliesType</key>
125
                    <delay>86400</delay>
126
                    <status>0</status>
127
                    <allowed_hosts/>
128
                    <snmpv3_contextname/>
129
                    <snmpv3_securityname/>
130
                    <snmpv3_securitylevel>0</snmpv3_securitylevel>
131
                    <snmpv3_authprotocol>0</snmpv3_authprotocol>
132
                    <snmpv3_authpassphrase/>
133
                    <snmpv3_privprotocol>0</snmpv3_privprotocol>
134
                    <snmpv3_privpassphrase/>
135
                    <delay_flex/>
136
                    <params/>
137
                    <ipmi_sensor/>
138
                    <authtype>0</authtype>
139
                    <username/>
140
                    <password/>
141
                    <publickey/>
142
                    <privatekey/>
143
                    <port/>
144
                    <filter>{#SNMPVALUE}:^3$</filter>
145
                    <lifetime>30</lifetime>
146
                    <description/>
147
                    <item_prototypes>
148
                        <item_prototype>
149
                            <name>Toner {#SNMPINDEX} Description</name>
150
                            <type>1</type>
151
                            <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
152
                            <multiplier>0</multiplier>
153
                            <snmp_oid>Printer-MIB::prtMarkerSuppliesDescription.1.{#SNMPINDEX}</snmp_oid>
154
                            <key>prtMarkerSuppliesDescription[{#SNMPINDEX}]</key>
155
                            <delay>1800</delay>
156
                            <history>30</history>
157
                            <trends>365</trends>
158
                            <status>0</status>
159
                            <value_type>1</value_type>
160
                            <allowed_hosts/>
161
                            <units/>
162
                            <delta>0</delta>
163
                            <snmpv3_contextname/>
164
                            <snmpv3_securityname/>
165
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
166
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
167
                            <snmpv3_authpassphrase/>
168
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
169
                            <snmpv3_privpassphrase/>
170
                            <formula>1</formula>
171
                            <delay_flex/>
172
                            <params/>
173
                            <ipmi_sensor/>
174
                            <data_type>0</data_type>
175
                            <authtype>0</authtype>
176
                            <username/>
177
                            <password/>
178
                            <publickey/>
179
                            <privatekey/>
180
                            <port/>
181
                            <description/>
182
                            <inventory_link>0</inventory_link>
183
                            <applications>
184
                                <application>
185
                                    <name>Printer</name>
186
                                </application>
187
                            </applications>
188
                            <valuemap/>
189
                            <logtimefmt/>
190
                        </item_prototype>
191
                        <item_prototype>
192
                            <name>Toner {#SNMPINDEX} Level</name>
193
                            <type>1</type>
194
                            <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
195
                            <multiplier>0</multiplier>
196
                            <snmp_oid>Printer-MIB::prtMarkerSuppliesLevel.1.{#SNMPINDEX}</snmp_oid>
197
                            <key>prtMarkerSuppliesLevel[{#SNMPINDEX}]</key>
198
                            <delay>1800</delay>
199
                            <history>7</history>
200
                            <trends>365</trends>
201
                            <status>0</status>
202
                            <value_type>3</value_type>
203
                            <allowed_hosts/>
204
                            <units/>
205
                            <delta>0</delta>
206
                            <snmpv3_contextname/>
207
                            <snmpv3_securityname/>
208
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
209
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
210
                            <snmpv3_authpassphrase/>
211
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
212
                            <snmpv3_privpassphrase/>
213
                            <formula>1</formula>
214
                            <delay_flex/>
215
                            <params/>
216
                            <ipmi_sensor/>
217
                            <data_type>0</data_type>
218
                            <authtype>0</authtype>
219
                            <username/>
220
                            <password/>
221
                            <publickey/>
222
                            <privatekey/>
223
                            <port/>
224
                            <description/>
225
                            <inventory_link>0</inventory_link>
226
                            <applications>
227
                                <application>
228
                                    <name>Printer</name>
229
                                </application>
230
                            </applications>
231
                            <valuemap/>
232
                            <logtimefmt/>
233
                        </item_prototype>
234
                        <item_prototype>
235
                            <name>Toner {#SNMPINDEX} Level in %</name>
236
                            <type>15</type>
237
                            <snmp_community/>
238
                            <multiplier>0</multiplier>
239
                            <snmp_oid/>
240
                            <key>ink_level[{#SNMPINDEX}]</key>
241
                            <delay>1800</delay>
242
                            <history>7</history>
243
                            <trends>365</trends>
244
                            <status>0</status>
245
                            <value_type>3</value_type>
246
                            <allowed_hosts/>
247
                            <units>%</units>
248
                            <delta>0</delta>
249
                            <snmpv3_contextname/>
250
                            <snmpv3_securityname/>
251
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
252
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
253
                            <snmpv3_authpassphrase/>
254
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
255
                            <snmpv3_privpassphrase/>
256
                            <formula>1</formula>
257
                            <delay_flex/>
258
                            <params>last(&quot;prtMarkerSuppliesLevel[{#SNMPINDEX}]&quot;) * 100 / last(&quot;prtMarkerSuppliesMaxCapacity[{#SNMPINDEX}]&quot;)</params>
259
                            <ipmi_sensor/>
260
                            <data_type>0</data_type>
261
                            <authtype>0</authtype>
262
                            <username/>
263
                            <password/>
264
                            <publickey/>
265
                            <privatekey/>
266
                            <port/>
267
                            <description/>
268
                            <inventory_link>0</inventory_link>
269
                            <applications>
270
                                <application>
271
                                    <name>Printer</name>
272
                                </application>
273
                            </applications>
274
                            <valuemap/>
275
                            <logtimefmt/>
276
                        </item_prototype>
277
                        <item_prototype>
278
                            <name>Toner {#SNMPINDEX} Max Level</name>
279
                            <type>1</type>
280
                            <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
281
                            <multiplier>0</multiplier>
282
                            <snmp_oid>Printer-MIB::prtMarkerSuppliesMaxCapacity.1.{#SNMPINDEX}</snmp_oid>
283
                            <key>prtMarkerSuppliesMaxCapacity[{#SNMPINDEX}]</key>
284
                            <delay>1800</delay>
285
                            <history>7</history>
286
                            <trends>365</trends>
287
                            <status>0</status>
288
                            <value_type>3</value_type>
289
                            <allowed_hosts/>
290
                            <units/>
291
                            <delta>0</delta>
292
                            <snmpv3_contextname/>
293
                            <snmpv3_securityname/>
294
                            <snmpv3_securitylevel>0</snmpv3_securitylevel>
295
                            <snmpv3_authprotocol>0</snmpv3_authprotocol>
296
                            <snmpv3_authpassphrase/>
297
                            <snmpv3_privprotocol>0</snmpv3_privprotocol>
298
                            <snmpv3_privpassphrase/>
299
                            <formula>1</formula>
300
                            <delay_flex/>
301
                            <params/>
302
                            <ipmi_sensor/>
303
                            <data_type>0</data_type>
304
                            <authtype>0</authtype>
305
                            <username/>
306
                            <password/>
307
                            <publickey/>
308
                            <privatekey/>
309
                            <port/>
310
                            <description/>
311
                            <inventory_link>0</inventory_link>
312
                            <applications>
313
                                <application>
314
                                    <name>Printer</name>
315
                                </application>
316
                            </applications>
317
                            <valuemap/>
318
                            <logtimefmt/>
319
                        </item_prototype>
320
                    </item_prototypes>
321
                    <trigger_prototypes/>
322
                    <graph_prototypes>
323
                        <graph_prototype>
324
                            <name>Ink Level for {{HOST.HOST1}:prtMarkerSuppliesDescription[{#SNMPINDEX}].last()}</name>
325
                            <width>900</width>
326
                            <height>200</height>
327
                            <yaxismin>0.0000</yaxismin>
328
                            <yaxismax>100.0000</yaxismax>
329
                            <show_work_period>1</show_work_period>
330
                            <show_triggers>1</show_triggers>
331
                            <type>0</type>
332
                            <show_legend>1</show_legend>
333
                            <show_3d>0</show_3d>
334
                            <percent_left>0.0000</percent_left>
335
                            <percent_right>0.0000</percent_right>
336
                            <ymin_type_1>1</ymin_type_1>
337
                            <ymax_type_1>1</ymax_type_1>
338
                            <ymin_item_1>0</ymin_item_1>
339
                            <ymax_item_1>0</ymax_item_1>
340
                            <graph_items>
341
                                <graph_item>
342
                                    <sortorder>0</sortorder>
343
                                    <drawtype>0</drawtype>
344
                                    <color>0000AA</color>
345
                                    <yaxisside>0</yaxisside>
346
                                    <calc_fnc>2</calc_fnc>
347
                                    <type>0</type>
348
                                    <item>
349
                                        <host>Template SNMP Printer</host>
350
                                        <key>ink_level[{#SNMPINDEX}]</key>
351
                                    </item>
352
                                </graph_item>
353
                            </graph_items>
354
                        </graph_prototype>
355
                    </graph_prototypes>
356
                    <host_prototypes/>
357
                </discovery_rule>
358
            </discovery_rules>
359
            <macros/>
360
            <templates/>
361
            <screens>
362
                <screen>
363
                    <name>Printer</name>
364
                    <hsize>1</hsize>
365
                    <vsize>1</vsize>
366
                    <screen_items>
367
                        <screen_item>
368
                            <resourcetype>0</resourcetype>
369
                            <width>500</width>
370
                            <height>100</height>
371
                            <x>0</x>
372
                            <y>0</y>
373
                            <colspan>1</colspan>
374
                            <rowspan>1</rowspan>
375
                            <elements>0</elements>
376
                            <valign>0</valign>
377
                            <halign>0</halign>
378
                            <style>0</style>
379
                            <url/>
380
                            <dynamic>0</dynamic>
381
                            <sort_triggers>0</sort_triggers>
382
                            <resource>
383
                                <name>Printer Usage</name>
384
                                <host>Template SNMP Printer</host>
385
                            </resource>
386
                            <application/>
387
                        </screen_item>
388
                    </screen_items>
389
                </screen>
390
            </screens>
391
        </template>
392
    </templates>
393
    <graphs>
394
        <graph>
395
            <name>Printer Usage</name>
396
            <width>900</width>
397
            <height>200</height>
398
            <yaxismin>0.0000</yaxismin>
399
            <yaxismax>100.0000</yaxismax>
400
            <show_work_period>0</show_work_period>
401
            <show_triggers>0</show_triggers>
402
            <type>0</type>
403
            <show_legend>1</show_legend>
404
            <show_3d>0</show_3d>
405
            <percent_left>0.0000</percent_left>
406
            <percent_right>0.0000</percent_right>
407
            <ymin_type_1>1</ymin_type_1>
408
            <ymax_type_1>0</ymax_type_1>
409
            <ymin_item_1>0</ymin_item_1>
410
            <ymax_item_1>0</ymax_item_1>
411
            <graph_items>
412
                <graph_item>
413
                    <sortorder>0</sortorder>
414
                    <drawtype>0</drawtype>
415
                    <color>9999FF</color>
416
                    <yaxisside>0</yaxisside>
417
                    <calc_fnc>2</calc_fnc>
418
                    <type>0</type>
419
                    <item>
420
                        <host>Template SNMP Printer</host>
421
                        <key>prtMarkerPowerOnCount</key>
422
                    </item>
423
                </graph_item>
424
                <graph_item>
425
                    <sortorder>1</sortorder>
426
                    <drawtype>5</drawtype>
427
                    <color>00C800</color>
428
                    <yaxisside>0</yaxisside>
429
                    <calc_fnc>2</calc_fnc>
430
                    <type>0</type>
431
                    <item>
432
                        <host>Template SNMP Printer</host>
433
                        <key>prtMarkerLifeCount</key>
434
                    </item>
435
                </graph_item>
436
            </graph_items>
437
        </graph>
438
    </graphs>
439
</zabbix_export>
(20-20/24)