-
Notifications
You must be signed in to change notification settings - Fork 23
/
zbx_export_templates.xml
284 lines (284 loc) · 12.6 KB
/
zbx_export_templates.xml
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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.0</version>
<date>2017-10-26T15:02:29Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template Windows Taches Planifiees</template>
<name>Template Windows Taches Planifiées</name>
<description>Discover and monitor all Task from "Task Scheduler Library" with subfolders indicate in powershell script.</description>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Tache planifiee</name>
</application>
</applications>
<items/>
<discovery_rules>
<discovery_rule>
<name>Discovery Task Scheduler</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>TaskSchedulerMonitoring[discovertasks]</key>
<delay>7200</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<delay_flex/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>0</evaltype>
<formula/>
<conditions/>
</filter>
<lifetime>0</lifetime>
<description>Discover all Task at "Task Scheduler Libraray" with Subfolders indicate in powershell script.</description>
<item_prototypes>
<item_prototype>
<name>Task: {#APPTASKS}: Last Result</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}]</key>
<delay>120</delay>
<history>7</history>
<trends>90</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<multiplier>0</multiplier>
<formula>1</formula>
<delta>0</delta>
<delay_flex/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Last Result of Task, numeric value
in most cases 0 = succesfull</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Tache planifiee</name>
</application>
</applications>
<valuemap>
<name>scheduledtask</name>
</valuemap>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
<item_prototype>
<name>Task: {#APPTASKS}: Last Run Time</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>TaskSchedulerMonitoring[TaskLastRunTime,{#APPTASKS}]</key>
<delay>120</delay>
<history>7</history>
<trends>90</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>unixtime</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<multiplier>0</multiplier>
<formula>1</formula>
<delta>0</delta>
<delay_flex/>
<authtype>0</authtype>
<data_type>0</data_type>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Last Run Time of Task as an unixtimestamp</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Tache planifiee</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
<item_prototype>
<name>Task: {#APPTASKS}: Next Run Time</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>TaskSchedulerMonitoring[TaskNextRunTime,{#APPTASKS}]</key>
<delay>120</delay>
<history>7</history>
<trends>90</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>unixtime</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<multiplier>0</multiplier>
<formula>1</formula>
<delta>0</delta>
<delay_flex/>
<data_type>0</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description>Next Run Time of Task as an unixtimestamp</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Tache planifiee</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<application_prototypes/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template Windows Taches Planifiees:TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}].last()}<>0 and {Template Windows Taches Planifiees:TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}].last()}<>267009 and {Template Windows Taches Planifiees:TaskSchedulerMonitoring[TaskLastResult,{#APPTASKS}].last()}<>1</expression>
<name>Dernier lancement de {#APPTASKS} Erreur !</name>
<url/>
<status>0</status>
<priority>4</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
</discovery_rule>
</discovery_rules>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<value_maps>
<value_map>
<name>scheduledtask</name>
<mappings>
<mapping>
<value>0</value>
<newvalue>Succès</newvalue>
</mapping>
<mapping>
<value>267008</value>
<newvalue>La tâche est prête à fonctionner à l'heure prévue suivante</newvalue>
</mapping>
<mapping>
<value>267009</value>
<newvalue>La tâche est en cours d'exécution</newvalue>
</mapping>
<mapping>
<value>267011</value>
<newvalue>La tâche n'est pas encore terminée</newvalue>
</mapping>
<mapping>
<value>267012</value>
<newvalue>Il n'y a plus d'opérations programmées pour cette tâche</newvalue>
</mapping>
<mapping>
<value>267014</value>
<newvalue>La tâche est terminée</newvalue>
</mapping>
<mapping>
<value>2147943645</value>
<newvalue>Le service n'est pas disponible</newvalue>
</mapping>
<mapping>
<value>2147750671</value>
<newvalue>Identifiants corrompus</newvalue>
</mapping>
<mapping>
<value>2147750687</value>
<newvalue>Une instance de cette tâche est déjà en cours d'exécution</newvalue>
</mapping>
<mapping>
<value>2147942667</value>
<newvalue>Le répertoire «démarrer dans» ne peut être trouvé</newvalue>
</mapping>
<mapping>
<value>2147942402</value>
<newvalue>Un des fichiers n'est pas disponible</newvalue>
</mapping>
<mapping>
<value>3228369022</value>
<newvalue>Exception logicielle inconnue</newvalue>
</mapping>
<mapping>
<value>1</value>
<newvalue>Fonction incorrecte ou inconnue appelée</newvalue>
</mapping>
<mapping>
<value>2</value>
<newvalue>Fichier non trouvé</newvalue>
</mapping>
<mapping>
<value>10</value>
<newvalue>Environnement Incorrect</newvalue>
</mapping>
</mappings>
</value_map>
</value_maps>
</zabbix_export>