diff -pruN 1:5.0.2+dfsg-1/build/mingw/Makefile 1:5.0.4+dfsg-1/build/mingw/Makefile
--- 1:5.0.2+dfsg-1/build/mingw/Makefile	2020-07-06 09:54:32.000000000 +0000
+++ 1:5.0.4+dfsg-1/build/mingw/Makefile	2020-09-28 12:07:20.000000000 +0000
@@ -33,7 +33,9 @@ OBJS = \
 	$(OUTPUTDIR)\eventlog.o \
 	$(TARGETDIR)\resource.syso
 
-CFLAGS := $(CFLAGS) -O2 -g -DUNICODE -DHAVE_STDINT_H=1 -I$(TOPDIR)\build\win32\include -I$(TOPDIR)\build\mingw -I$(TOPDIR)\include
+CFLAGS := $(CFLAGS) -O2 -g -DHAVE_STDINT_H=1 -DZBX_BUILD_AGENT2=1  -DHAVE_THREAD_LOCAL=1 \
+	-I$(TOPDIR)\build\win32\include -I$(TOPDIR)\build\mingw -I$(TOPDIR)\include
+
 RFLAGS := $(RFLAGS) --input-format=rc -O coff
 GOPATH := $(GOPATH);$(TOPDIR)\go
 TAGS :=
@@ -83,61 +85,61 @@ GOLDFLAGS += -X main.confDefault=zabbix_
 all: $(TARGETBIN)
 
 $(OUTPUTDIR)\misc.o: $(TOPDIR)\src\libs\zbxcommon\misc.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\iprange.o: $(TOPDIR)\src\libs\zbxcommon\iprange.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\str.o: $(TOPDIR)\src\libs\zbxcommon\str.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\file.o: $(TOPDIR)\src\libs\zbxcommon\file.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\alias.o: $(TOPDIR)\src\libs\zbxcommon\alias.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\tls_version.o: $(TOPDIR)\src\libs\zbxcrypto\tls_version.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\fatal.o: $(TOPDIR)\src\libs\zbxwin32\fatal.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\disk.o: $(TOPDIR)\src\libs\zbxwin32\disk.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\threads.o: $(TOPDIR)\src\libs\zbxsys\threads.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\md5.o: $(TOPDIR)\src\libs\zbxcrypto\md5.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\sysinfo.o: $(TOPDIR)\src\libs\zbxsysinfo\sysinfo.c
-	$(CC) $(CFLAGS) -DWITH_COMMON_METRICS -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -DWITH_COMMON_METRICS -c $^ -o $@
 
 $(OUTPUTDIR)\sysinfo_system.o: $(TOPDIR)\src\libs\zbxsysinfo\common\system.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\sysinfo_dns.o: $(TOPDIR)\src\libs\zbxsysinfo\common\dns.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\sysinfo_dir.o: $(TOPDIR)\src\libs\zbxsysinfo\common\dir.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\vector.o: $(TOPDIR)\src\libs\zbxalgo\vector.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\algodefs.o: $(TOPDIR)\src\libs\zbxalgo\algodefs.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\zbxregexp.o: $(TOPDIR)\src\libs\zbxregexp\zbxregexp.c
-	$(CC) $(CFLAGS) -DPCRE_STATIC -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -DPCRE_STATIC -c $^ -o $@
 
 $(OUTPUTDIR)\logfiles.o: $(TOPDIR)\src\zabbix_agent\logfiles\logfiles.c
-	$(CC) $(CFLAGS) -c $^ -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -o $@
 
 $(OUTPUTDIR)\eventlog.o: $(TOPDIR)\src\zabbix_agent\eventlog.c
-	$(CC) $(CFLAGS) -c $^ -I$(TOPDIR)\go\win64 -o $@
+	$(CC) $(CFLAGS) -DUNICODE -c $^ -I$(TOPDIR)\go\win64 -o $@
 
 $(TARGETDIR)\resource.syso: $(TOPDIR)\build\win32\project\resource.rc
 	$(WINDRES) $^ $(RFLAGS) -D _WINDOWS -D ZABBIX_AGENT2 -o $@
diff -pruN 1:5.0.2+dfsg-1/ChangeLog 1:5.0.4+dfsg-1/ChangeLog
--- 1:5.0.2+dfsg-1/ChangeLog	2020-07-13 07:56:33.000000000 +0000
+++ 1:5.0.4+dfsg-1/ChangeLog	2020-09-28 12:07:20.000000000 +0000
@@ -1,3 +1,169 @@
+Changes for 5.0.4
+
+5.0.4rc1 was released as 5.0.4 without any changes
+
+--------------------------------------------------------------------------------
+Changes for 5.0.4rc1
+
+New features:
+...G...... [ZBXNEXT-6023] added Windows service support for Zabbix agent 2 (esneiders)
+...G...... [ZBXNEXT-6019] added Oracle Database plugin (vadimipatov)
+........S. [ZBXNEXT-6139] added GetHeaders method to CurlHttpRequest javascript object (wiper)
+.........T [ZBXNEXT-6116] added SysAid media type (afayantsev)
+.......PS. [ZBXNEXT-6167] added diaginfo runtime command to log internal diagnostic information (wiper)
+..F....... [ZBXNEXT-6106] added Host context menu to hosts listed on 'Web monitoring' page (kustalovs)
+.........T [ZBXNEXT-6065] added SolarWinds Service Desk webhook (tuskov)
+.........T [ZBXNEXT-6117] added media "TOPdesk" (mchudinov)
+.........T [ZBXNEXT-5540] added LLD rules for stand-alone and CAPsMAN APs (mchudinov)
+.........T [ZBXCTR-10] added iLert media type (roman-ilert)
+
+Bug fixes:
+........S. [ZBX-17993] fixed ZabbixWeb Test Item for Admin is not working (arimdjonoks)
+.........T [ZBX-13384] fixed minor template issues to follow guidelines (tuskov)
+.D..I..... [ZBX-18114] fixed documentation for Agent2 PersistentBuffer (akozlovs)
+.........T [ZBX-17842] updated VMware template to follow guidelines (tuskov)
+.......PS. [ZBX-17848] fixed fping interval detection, added log prints of detected options in debug mode, re-detect options every hour (dimir)
+.........T [ZBX-18341] removed media_jira_with_CF_example.xml and moved example with custom fields example to readme (tuskov)
+.........T [ZBX-18131] added support of single-select, checkbox and radio button customfield types and "__zbx" tag filter for labels in Jira webhook (tuskov)
+...G...... [ZBX-18065] add help flag to Zabbix Agent 2 (esneiders)
+.......PS. [ZBX-17906] fixed HTTP agent JSON output when using HTTP/2; thanks to Mike Noordermeer for the patch (viktors)
+..F....... [ZBX-18206] fixed incorrect housekeeping form behaviour (agriscenko)
+..F....... [ZBX-18167] fixed filter block in lld overrides popup (rlataria)
+........S. [ZBX-18174] fixed oracle errors for host macro updates when linking templates (arimdjonoks)
+........S. [ZBX-18188] increased age and duration related macro resolution to seconds (viktors)
+..F....... [ZBX-18152] fixed incorrect selected menu option for template screens page (vmaksimovs)
+.......PS. [ZBX-18340] added runtime command diaginfo option to command line help messages (wiper)
+..F....... [ZBX-18250] changed link to "Web monitoring" page in context menu with filtering parameters (kustalovs)
+........S. [ZBX-18170] fixed LLD override for applications (viktors, wiper)
+.......PS. [ZBX-15904] added check of required cache size for vmware event messages (asestakovs)
+.......PS. [ZBX-18121] fixed SSH monitoring when compiled with libssh; thanks to MATSUDA Daiki for the patch (Andris, viktors)
+...G...... [ZBX-17927] fixed Agent2 user-defined parameter key testing (viktors)
+.........T [ZBX-18314] fixed description of URI field in Template DB MySQL by Zabbix agent 2 (mchudinov)
+..F....... [ZBX-18067] fixed using outdated dynamic host when editing dynamic widgets on dashboard (kustalovs)
+..F....... [ZBX-18261] fixed performance of the "Latest data" screen with partitioned history tables (Sasha)
+...G...... [ZBX-18322] enabled Memcached and MySQL plugins for Windows (vadimipatov)
+.........T [ZBX-17982] added non-trigger event types support to webhooks (tuskov)
+.........T [ZBX-18190] removed triggers for items Log growths, Log shrinks for MSSQL ODBC template (mchudinov)
+.........T [ZBX-18122] fixed russian character in setup section and templates for Oracle ODBC and PostgreSQL agent2 (afayantsev)
+..F....... [ZBX-18074] fixed unresolved macros in item names in data overview table (talbergs)
+...G...... [ZBX-18195] changed log level increase command for Agent 2 to match Agent 1 (esneiders)
+...G...... [ZBX-17984] added support of ipv6 and unix sockets for memcached plugin (vadimipatov)
+........S. [ZBX-18189] fixed crash when performing housekeeping with disabled value cache (viktors)
+A......... [ZBX-18181] fixed undefined index when importing host with non-existing interface (Ivo)
+.........T [ZBX-14503] updated JMX template to follow guidelines (tuskov)
+.........T [ZBX-18196] added overriding of triggers for IPMI Threshold sensors discovery (mchudinov)
+.........T [ZBX-18021] changed Opsgenie media to handle extra options Tags and Teams (mchudinov)
+..F....... [ZBX-18050] removed proxy name from host breadcrumbs (rlataria)
+..F....... [ZBX-18202] added new default item keys for item type "Zabbix aggregate" (agriscenko)
+..F....... [ZBX-18124] fixed discovered host group prototype saving during import (miks)
+..F....... [ZBX-17692] fixed column sizes and paddings for items in graph edit form (vmaksimovs)
+..F....... [ZBX-17812] fixed incorrect copying of severeties in Problem widgets (vmaksimovs)
+..F....... [ZBX-17886] fixed SNMP type item test form not sending and resolving interface macros (Ivo)
+..F....... [ZBX-18183] fixed displaying negative time in convertUnitsS function (averza)
+.........T [ZBX-18103] fixed host connection macro in Slack media type (vjaceslavs)
+.........T [ZBX-18249] fixed Oracle ODBC Template issues (ychukina)
+.........T [ZBX-18072] fixed Discord API version in Discord media type (vjaceslavs)
+A......... [ZBX-17952] fixed compression availability not being checked when deleting history (talbergs)
+.........T [ZBX-17981] fixed Discord endpoint validation (vjaceslavs)
+
+--------------------------------------------------------------------------------
+Changes for 5.0.3
+
+5.0.3rc2 was released as 5.0.3 without any changes
+
+--------------------------------------------------------------------------------
+Changes for 5.0.3rc2
+
+Bug fixes:
+..F....... [ZBX-18261] fixed Latest data performance by allowing to filter items with data only if hosts are selected as well (averza)
+A......... [ZBX-13789] fixed SQL errors with Oracle backend due to incorrect use of the USING statement (Sasha)
+
+--------------------------------------------------------------------------------
+Changes for 5.0.3rc1
+
+New features:
+...G...... [ZBXNEXT-6080] add telnet support for net.tcp.service/.perf key and enable it on linux/darwin (esneiders)
+...G...... [ZBXNEXT-6101] add native linux vfs.fs.inode[fs,<mode>] metric support to agent2 (esneiders)
+...G...... [ZBXNEXT-6102] add native linux vfs.fs.get metric support to agent2 (esneiders)
+...G...... [ZBXNEXT-6103] add native linux vfs.fs.discovery metric support to agent2 (esneiders)
+...G...... [ZBXNEXT-6100] add native linux vfs.fs.size[fs,<mode>] metric support to agent2 (esneiders)
+.........T [ZBXNEXT-6010] added template "Template DB Oracle by ODBC" (ychukina)
+.........T [ZBXCTR-12] SIGNL4 update to close alerts in SIGNL4 when closed in Zabbix (rons4)
+.......PS. [ZBXNEXT-6004] added host info to vmware event message log (asestakovs)
+.......PS. [ZBXNEXT-5903] added vmware datacenters discovery (asestakovs)
+........S. [ZBXNEXT-6042] optimized trigger, calculated item processing by resolving user macros during configuration cache synchronization (wiper)
+
+Bug fixes:
+.........T [ZBX-17785] fixed dbstat query for postgresql v12 (afayantsev)
+..F....... [ZBX-18204] fixed lost password in ssh remote command operation form data (talbergs)
+A......... [ZBX-18046] improved error message generation performance of user macro and item key parser (vmurzins)
+........S. [ZBX-18105] fixed use on uninitialised variable (viktors)
+........S. [ZBX-18014] added ODBC empty query check (viktors)
+..F....... [ZBX-18160] fixed fatal error in items.php and host_discovery.php (rlataria)
+A......... [ZBX-13383] improved performance of the trigger and trigger prototype inheritance (Sasha)
+..F....... [ZBX-18092] reimplemented item folding based on application names and improved summary for each application in latest data view (averza, miks)
+A......... [ZBX-13789] improved performance of "Problems" widget with MySQL backend by removing DISTINCT modifier from SQL statements with tables joined by primary keys (Sasha)
+...G...... [ZBX-18214] added collecting of physical CPU utilization data on IBM AIX and modified system.cpu.util[] (Andris)
+...G...... [ZBX-17974] implement timeouts for WMI queries (arimdjonoks)
+..F....... [ZBX-18149] fixed discovered hosts showing links to host prototypes which should not possible (Ivo)
+..F....... [ZBX-18132] added OpenSSL extension check in frontend setup and SAML authentication form (Ivo)
+........S. [ZBX-18169] fixed housekeeper not deleting history and trends for deleted items if storage period is not overridden (vso)
+A.F....... [ZBX-17468] fixed excess audit log record being added on host status update (talbergs)
+...G...... [ZBX-16998] improved agent binary compatibility by removing __thread attribute when not building agent2 (wiper)
+...G...... [ZBX-17815] fixed connection timeout when persistent buffer enabled (asestakovs)
+..F....... [ZBX-18106] fixed map navigation tree widget copying (miks)
+A.F....... [ZBX-18012] fixed undefined index error in history manager and added error message in charts when Elasticsearch requests fails (miks)
+A......... [ZBX-18076] fixed PHP notice in hostinterface API (miks)
+..F....... [ZBX-18000] added red label for disabled media types in user profile (rlataria)
+..F....... [ZBX-17996] fixed ip/dns field width in host interface (rlataria)
+A......... [ZBX-18075] fixed runtime error when creating a host via API (agriscenko)
+...G...... [ZBX-17814] fixed memory leaks in the agent persistent buffer (arimdjonoks)
+..F....... [ZBX-17973] fixed saving widget refresh rate in user profile (kustalovs)
+..F....... [ZBX-15927] removed problem calculation for dependent triggers when master trigger is in problem state (kustalovs)
+..F....... [ZBX-17933] fixed runtime error in maps (agriscenko)
+..F....... [ZBX-18063] fixed usage of unsupported parameter in API call (miks)
+..F....... [ZBX-18126] fixed incorrect labels in action operations dialog (miks)
+..F....... [ZBX-18060] fixed inaccessible user be displayed as accessible in slide show properties screen (miks)
+..F....PS. [ZBX-18147] fixed wrong character set detection logic for Oracle DB (yurii)
+.........T [ZBX-18115] added {$MSSQL.INSTANCE} macro and changed queries and item preprocessing for support MS SQL instance name (mchudinov)
+..F....... [ZBX-17653] fixed new widget placeholder behavior and dashboard height calculation in edit mode (averza, kustalovs)
+..F....... [ZBX-16819] added link to hosts linked to each template in templates list (miks)
+...G...... [ZBX-18023] fixed format of agent2 version number (MVekslers)
+A......... [ZBX-18071] fixed slow SQL query when filtering items with latest data available (averza)
+..F....... [ZBX-17898] fixed JavaScript errors on pasting widgets (averza)
+........S. [ZBX-17569] fixed calculating items not allowing negative values be corrected in the preprocessing (arimdjonoks)
+..F....... [ZBX-18036] fixed endpoint URL for Elasticsearch API requests (miks)
+..F....... [ZBX-18068] fixed incorrect function call and redundant code (miks)
+...G...... [ZBX-8081] fixed 'cmdline' parameter truncation on Solaris 11.3 and later (viktors, wiper)
+........S. [ZBX-18014] fixed memory leak when action message does not have to be sent (viktors)
+..F....... [ZBX-15117] fixed graph configuration with large amount of items (talbergs)
+........S. [ZBX-18069] fixed server exit when trying to execute IPMI script without IPMI pollers (wiper)
+..F....... [ZBX-17820] fixed classic graph widget default header (talbergs)
+..F....... [ZBX-18025] fixed availability report link (talbergs)
+..F....... [ZBX-17977] fixed port filter not preserved in Monitoring -> Hosts across refresh (talbergs)
+A......... [ZBX-17960] fixed undefined index in trends API (talbergs)
+..F....... [ZBX-18032] fixed host address and port values are not preserved in item test form (talbergs)
+..F....... [ZBX-18031] fixed missing "loading" state in Monitoring → Latest data and Monitoring → Hosts (talbergs)
+..F....... [ZBX-17925] fixed graph image flicker during update in screens (talbergs)
+A.F....... [ZBX-17825] fixed dynamic item switching for graph prototype widget (talbergs)
+.........T [ZBX-18054] changed preprocessing for nginx.version (mchudinov)
+.........T [ZBX-17903] fixed the trigger condition for net.if.status in "Template Module Windows network", changed the wmi query in the master item, filters and preprocessing of LLD rule (mchudinov)
+.........T [ZBX-17994] fixed the configuration example in documentation of Template App Nginx (mchudinov)
+..F....... [ZBX-17682] fixed button disable state in template item list and discovery list (rlataria)
+..F....... [ZBX-17821] fixed default header for inaccessible iterator widget content (talbergs)
+..F....... [ZBX-17858] fixed host group filter in templates general popup (miks)
+..F....... [ZBX-18001] fixed graph prototype widget paging (miks)
+..F....... [ZBX-17924] fixed php errors in "System information" window for MySQL (talbergs)
+..F....... [ZBX-17997] fixed user media passwords appearing in plain text in audit log (kustalovs)
+..F....... [ZBX-17968] fixed z-index issue in floating widget header (rlataria)
+..F....... [ZBX-17827] fixed broken layout of the notification popup window (kustalovs)
+A.F....... [ZBX-18009] fixed non-masked secret macros in audit log (kustalovs)
+..F....... [ZBX-17908] fixed too wide popup error messages (kustalovs)
+..F....... [ZBX-17782] fixed PHP errors occurring during history search using Elasticsearch (Ivo)
+...G...... [ZBX-17917] changed vm.memory.size keys on Solaris to get memory usage statistics from kstat (wiper)
+...G...... [ZBX-18029] fixed cpu counter wraparound handling on Solaris (wiper)
+
+--------------------------------------------------------------------------------
 Changes for 5.0.2
 
 5.0.2rc1 was released as 5.0.2 without any changes
@@ -22,6 +188,8 @@ A.F.....S. [ZBXNEXT-5847] added logging
 .........T [ZBXNEXT-5905] added "Template App Etcd by HTTP" (ychukina)
 
 Bug fixes:
+.........T [ZBX-17989] fixed server version for pgsql.replication.status (afayantsev)
+..F....... [ZBX-18057] fixed security vulnerability CVE-2020-15803 (Stored XSS attack on URL widget) (Ivo, talbergs)
 A......... [ZBX-17931] fixed dependent discovery rule deletion when deleting master item (vmurzins)
 .......PS. [ZBX-17624] fixed misleading error message in case of not available datastorage for vmware.hv.datastore.read and vmware.hv.datastore.write metrics (MVekslers)
 A.F....... [ZBX-17715] fixed filtering and sorting of the Latest Data (averza)
@@ -209,7 +377,7 @@ A.F....PS. [ZBXNEXT-2297] added user def
 .........T [ZBXCTR-1] added Telegram media type (ableev)
 .........T [ZBXNEXT-5824] added media "Redmine" (afayantsev)
 ..F.I..... [ZBXNEXT-5861] added {EVENT.DURATION} macro to subject of message templates (MVekslers)
-..F.....S. [ZBXNEXT-5848] Expand acknowledge message maximum size to more than 256 characters (arimdjonoks)
+A.F.....S. [ZBXNEXT-5848] increased acknowledge message maximum size to 2048 characters (arimdjonoks)
 ..F.I..... [ZBXNEXT-5702] improved UI performance for large installations (miks, talbergs)
 .........T [ZBXNEXT-5599] Added MS Teams media type (tuskov)
 .........T [ZBXNEXT-5715] Added Jira media type (tuskov)
@@ -1576,11 +1744,82 @@ A.F.I...S. [ZBXNEXT-4853,ZBXNEXT-517] ad
 ..F.....S. [ZBXNEXT-1282,ZBXNEXT-4730] added changes to introduce regex based matching for auto-registration (vasilijs, viktors)
 
 --------------------------------------------------------------------------------
+Changes for 4.0.25
+
+4.0.25rc1 was released as 4.0.25 without any changes
+
+--------------------------------------------------------------------------------
+Changes for 4.0.25rc1
+
+Bug fixes:
+.........T [ZBX-17842] updated VMware template to follow guidelines (tuskov)
+.......PS. [ZBX-17848] fixed fping interval detection, added log prints of detected options in debug mode, re-detect options every hour (dimir)
+........S. [ZBX-18188] increased age and duration related macro resolution to seconds (viktors)
+........S. [ZBX-15651] fixed handling of overlapping IP addresses in network discovery received from single Zabbix proxy (vso)
+..F....... [ZBX-18326] fixed unsupported code for internet explorer (rlataria)
+.......PS. [ZBX-15904] added check of required cache size for vmware event messages (asestakovs)
+.......PS. [ZBX-18121] fixed SSH monitoring when compiled with libssh; thanks to MATSUDA Daiki for the patch (Andris, viktors)
+.........T [ZBX-14503] updated JMX template to follow guidelines (tuskov)
+........S. [ZBX-18189] fixed crash when performing housekeeping with disabled value cache (viktors)
+A......... [ZBX-18181] fixed undefined index when importing host with non-existing interface (Ivo)
+..F....... [ZBX-18050] removed proxy name from host breadcrumbs (rlataria)
+..F....... [ZBX-18202] added new default item keys for item type "Zabbix aggregate" (agriscenko)
+..F....... [ZBX-18124] fixed discovered host group prototype saving during import (miks)
+
+--------------------------------------------------------------------------------
+Changes for 4.0.24
+
+4.0.24rc2 was released as 4.0.24 without any changes
+
+--------------------------------------------------------------------------------
+Changes for 4.0.24rc2
+
+Bug fixes:
+A......... [ZBX-13789] fixed SQL errors with Oracle backend due to incorrect use of the USING statement (Sasha)
+
+--------------------------------------------------------------------------------
+Changes for 4.0.24rc1
+
+Bug fixes:
+A......... [ZBX-18046] improved error message generation performance of user macro and item key parser (vmurzins)
+........S. [ZBX-18105] fixed use on uninitialised variable (viktors)
+........S. [ZBX-18014] added ODBC empty query check (viktors)
+..F....... [ZBX-18160] fixed fatal error in items.php and host_discovery.php (rlataria)
+A......... [ZBX-13383] improved performance of the trigger and trigger prototype inheritance (Sasha)
+...G...... [ZBX-17974] implement timeouts for WMI queries (arimdjonoks)
+A......... [ZBX-13789] improved performance of "Problems" widget with MySQL backend by removing DISTINCT modifier from SQL statements with tables joined by primary keys (Sasha)
+A.F....... [ZBX-17468] fixed excess audit log record being added on host status update (talbergs)
+A......... [ZBX-18076] fixed PHP notice and multiple undefined index errors in hostinterface API (miks)
+..F....... [ZBX-18000] added red label for disabled media types in user profile (rlataria)
+A......... [ZBX-18075] fixed runtime error when creating a host via API (agriscenko)
+..F....... [ZBX-15927] removed problem calculation for dependent triggers when master trigger is in problem state (kustalovs)
+..F....... [ZBX-18063] fixed usage of unsupported parameter in API call (miks)
+..F....... [ZBX-18060] fixed inaccessible user be displayed as accessible in slide show properties screen (miks)
+.......PS. [ZBX-17252] fixed building of Zabbix daemons with link time optimization (vso)
+
+--------------------------------------------------------------------------------
+Changes for 4.0.23
+
+4.0.23rc1 was released as 4.0.23 without any changes
+
+--------------------------------------------------------------------------------
 Changes for 4.0.23rc1
 
 New features:
+.......PS. [ZBXNEXT-6004] added host info to vmware event message log (asestakovs)
+.......PS. [ZBXNEXT-5903] added vmware datacenters discovery (asestakovs)
 
 Bug fixes:
+...G...... [ZBX-8081] fixed 'cmdline' parameter truncation on Solaris 11.3 and later (viktors, wiper)
+........S. [ZBX-18014] fixed memory leak when action message does not have to be sent (viktors)
+..F....... [ZBX-15117] fixed graph configuration with large amount of items (talbergs)
+........S. [ZBX-18069] fixed server exit when trying to execute IPMI script without IPMI pollers (wiper)
+A......... [ZBX-17960] fixed undefined index in trends API (talbergs)
+..F....... [ZBX-17682] fixed button disable state in template item list and discovery list (rlataria)
+..F....... [ZBX-17820] fixed classic graph widget default header (talbergs)
+..F....... [ZBX-17924] fixed php errors in "System information" window for MySQL (talbergs)
+...G...... [ZBX-17917] changed vm.memory.size keys on Solaris to get memory usage statistics from kstat (wiper)
+...G...... [ZBX-18029] fixed cpu counter wraparound handling on Solaris (wiper)
 .......PS. [ZBX-17624] fixed misleading error message in case of not available datastorage for vmware.hv.datastore.read and vmware.hv.datastore.write metrics (MVekslers)
 A.F....... [ZBX-17860] fixed host prototype import (rlataria)
 ...G...... [ZBX-17922] removed mtime check when matching files on disk with the cached list, this should reduce chances of log files being scanned again after system time changes (wiper)
@@ -1597,6 +1836,7 @@ New features:
 ........S. [ZBXNEXT-3588] improved Zabbix server performance when evaluating trigger, discovery, autoregistration and internal actions (vso)
 
 Bug fixes:
+..F....... [ZBX-18057] fixed security vulnerability CVE-2020-15803 (Stored XSS attack on URL widget) (Ivo, talbergs)
 .......PS. [ZBX-17720] exclude disabled items from preprocessing configuration sync (wiper)
 ........S. [ZBX-17851] fixed possible deadlocks when deleting escalations (wiper)
 .....J.... [ZBX-17406] fixed null value for a field of CompositeData in JMX discovery (arimdjonoks)
@@ -4488,6 +4728,7 @@ Changes for 3.0.32rc1
 New features:
 
 Bug fixes:
+..F....... [ZBX-18057] fixed security vulnerability CVE-2020-15803 (Stored XSS attack on URL widget) (Ivo, talbergs)
 
 --------------------------------------------------------------------------------
 Changes for 3.0.31
diff -pruN 1:5.0.2+dfsg-1/configure 1:5.0.4+dfsg-1/configure
--- 1:5.0.2+dfsg-1/configure	2020-07-13 07:56:36.000000000 +0000
+++ 1:5.0.4+dfsg-1/configure	2020-09-28 12:07:22.000000000 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for Zabbix 5.0.2.
+# Generated by GNU Autoconf 2.69 for Zabbix 5.0.4.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='Zabbix'
 PACKAGE_TARNAME='zabbix'
-PACKAGE_VERSION='5.0.2'
-PACKAGE_STRING='Zabbix 5.0.2'
+PACKAGE_VERSION='5.0.4'
+PACKAGE_STRING='Zabbix 5.0.4'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1455,7 +1455,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures Zabbix 5.0.2 to adapt to many kinds of systems.
+\`configure' configures Zabbix 5.0.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1526,7 +1526,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of Zabbix 5.0.2:";;
+     short | recursive ) echo "Configuration of Zabbix 5.0.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1734,7 +1734,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-Zabbix configure 5.0.2
+Zabbix configure 5.0.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2336,7 +2336,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by Zabbix $as_me 5.0.2, which was
+It was created by Zabbix $as_me 5.0.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3200,7 +3200,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='zabbix'
- VERSION='5.0.2'
+ VERSION='5.0.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -11999,6 +11999,9 @@ test -n "$GO" || GO="no"
 	if test "x$GO" = "xno"; then
 		as_fn_error $? "Unable to find \"go\" executable in path" "$LINENO" 5
 	fi
+
+$as_echo "#define ZBX_BUILD_AGENT2 1" >>confdefs.h
+
 fi
 
 if test "x$java" = "xyes"; then
@@ -14347,7 +14350,7 @@ esac
 
 
 
-ac_config_files="$ac_config_files Makefile database/Makefile database/mysql/Makefile database/oracle/Makefile database/postgresql/Makefile database/sqlite3/Makefile misc/Makefile src/Makefile src/go/Makefile src/libs/Makefile src/libs/zbxlog/Makefile src/libs/zbxalgo/Makefile src/libs/zbxmemory/Makefile src/libs/zbxcrypto/Makefile src/libs/zbxconf/Makefile src/libs/zbxdbcache/Makefile src/libs/zbxdbhigh/Makefile src/libs/zbxmedia/Makefile src/libs/zbxsysinfo/Makefile src/libs/zbxcommon/Makefile src/libs/zbxsysinfo/agent/Makefile src/libs/zbxsysinfo/common/Makefile src/libs/zbxsysinfo/simple/Makefile src/libs/zbxsysinfo/linux/Makefile src/libs/zbxsysinfo/aix/Makefile src/libs/zbxsysinfo/freebsd/Makefile src/libs/zbxsysinfo/hpux/Makefile src/libs/zbxsysinfo/openbsd/Makefile src/libs/zbxsysinfo/osx/Makefile src/libs/zbxsysinfo/solaris/Makefile src/libs/zbxsysinfo/osf/Makefile src/libs/zbxsysinfo/netbsd/Makefile src/libs/zbxsysinfo/unknown/Makefile src/libs/zbxnix/Makefile src/libs/zbxsys/Makefile src/libs/zbxcomms/Makefile src/libs/zbxcommshigh/Makefile src/libs/zbxdb/Makefile src/libs/zbxdbupgrade/Makefile src/libs/zbxjson/Makefile src/libs/zbxhttp/Makefile src/libs/zbxserver/Makefile src/libs/zbxicmpping/Makefile src/libs/zbxexec/Makefile src/libs/zbxself/Makefile src/libs/zbxmodules/Makefile src/libs/zbxregexp/Makefile src/libs/zbxtasks/Makefile src/libs/zbxipcservice/Makefile src/libs/zbxhistory/Makefile src/libs/zbxcompress/Makefile src/libs/zbxembed/Makefile src/libs/zbxprometheus/Makefile src/zabbix_agent/Makefile src/zabbix_agent/logfiles/Makefile src/zabbix_get/Makefile src/zabbix_js/Makefile src/zabbix_sender/Makefile src/zabbix_server/Makefile src/zabbix_server/alerter/Makefile src/zabbix_server/dbsyncer/Makefile src/zabbix_server/dbconfig/Makefile src/zabbix_server/discoverer/Makefile src/zabbix_server/housekeeper/Makefile src/zabbix_server/httppoller/Makefile src/zabbix_server/pinger/Makefile src/zabbix_server/poller/Makefile src/zabbix_server/snmptrapper/Makefile src/zabbix_server/timer/Makefile src/zabbix_server/trapper/Makefile src/zabbix_server/escalator/Makefile src/zabbix_server/proxypoller/Makefile src/zabbix_server/selfmon/Makefile src/zabbix_server/vmware/Makefile src/zabbix_server/taskmanager/Makefile src/zabbix_server/ipmi/Makefile src/zabbix_server/odbc/Makefile src/zabbix_server/scripts/Makefile src/zabbix_server/preprocessor/Makefile src/zabbix_server/lld/Makefile src/zabbix_proxy/Makefile src/zabbix_proxy/heart/Makefile src/zabbix_proxy/housekeeper/Makefile src/zabbix_proxy/proxyconfig/Makefile src/zabbix_proxy/datasender/Makefile src/zabbix_proxy/taskmanager/Makefile src/zabbix_java/Makefile man/Makefile"
+ac_config_files="$ac_config_files Makefile database/Makefile database/mysql/Makefile database/oracle/Makefile database/postgresql/Makefile database/sqlite3/Makefile misc/Makefile src/Makefile src/go/Makefile src/libs/Makefile src/libs/zbxlog/Makefile src/libs/zbxalgo/Makefile src/libs/zbxmemory/Makefile src/libs/zbxcrypto/Makefile src/libs/zbxconf/Makefile src/libs/zbxdbcache/Makefile src/libs/zbxdbhigh/Makefile src/libs/zbxmedia/Makefile src/libs/zbxsysinfo/Makefile src/libs/zbxcommon/Makefile src/libs/zbxsysinfo/agent/Makefile src/libs/zbxsysinfo/common/Makefile src/libs/zbxsysinfo/simple/Makefile src/libs/zbxsysinfo/linux/Makefile src/libs/zbxsysinfo/aix/Makefile src/libs/zbxsysinfo/freebsd/Makefile src/libs/zbxsysinfo/hpux/Makefile src/libs/zbxsysinfo/openbsd/Makefile src/libs/zbxsysinfo/osx/Makefile src/libs/zbxsysinfo/solaris/Makefile src/libs/zbxsysinfo/osf/Makefile src/libs/zbxsysinfo/netbsd/Makefile src/libs/zbxsysinfo/unknown/Makefile src/libs/zbxnix/Makefile src/libs/zbxsys/Makefile src/libs/zbxcomms/Makefile src/libs/zbxcommshigh/Makefile src/libs/zbxdb/Makefile src/libs/zbxdbupgrade/Makefile src/libs/zbxjson/Makefile src/libs/zbxhttp/Makefile src/libs/zbxserver/Makefile src/libs/zbxicmpping/Makefile src/libs/zbxexec/Makefile src/libs/zbxself/Makefile src/libs/zbxmodules/Makefile src/libs/zbxregexp/Makefile src/libs/zbxtasks/Makefile src/libs/zbxipcservice/Makefile src/libs/zbxhistory/Makefile src/libs/zbxcompress/Makefile src/libs/zbxembed/Makefile src/libs/zbxprometheus/Makefile src/libs/zbxdiag/Makefile src/zabbix_agent/Makefile src/zabbix_agent/logfiles/Makefile src/zabbix_get/Makefile src/zabbix_js/Makefile src/zabbix_sender/Makefile src/zabbix_server/Makefile src/zabbix_server/alerter/Makefile src/zabbix_server/dbsyncer/Makefile src/zabbix_server/dbconfig/Makefile src/zabbix_server/discoverer/Makefile src/zabbix_server/housekeeper/Makefile src/zabbix_server/httppoller/Makefile src/zabbix_server/pinger/Makefile src/zabbix_server/poller/Makefile src/zabbix_server/snmptrapper/Makefile src/zabbix_server/timer/Makefile src/zabbix_server/trapper/Makefile src/zabbix_server/escalator/Makefile src/zabbix_server/proxypoller/Makefile src/zabbix_server/selfmon/Makefile src/zabbix_server/vmware/Makefile src/zabbix_server/taskmanager/Makefile src/zabbix_server/ipmi/Makefile src/zabbix_server/odbc/Makefile src/zabbix_server/scripts/Makefile src/zabbix_server/preprocessor/Makefile src/zabbix_server/lld/Makefile src/zabbix_proxy/Makefile src/zabbix_proxy/heart/Makefile src/zabbix_proxy/housekeeper/Makefile src/zabbix_proxy/proxyconfig/Makefile src/zabbix_proxy/datasender/Makefile src/zabbix_proxy/taskmanager/Makefile src/zabbix_java/Makefile man/Makefile"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -14926,7 +14929,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by Zabbix $as_me 5.0.2, which was
+This file was extended by Zabbix $as_me 5.0.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14992,7 +14995,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-Zabbix config.status 5.0.2
+Zabbix config.status 5.0.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
@@ -15176,6 +15179,7 @@ do
     "src/libs/zbxcompress/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/zbxcompress/Makefile" ;;
     "src/libs/zbxembed/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/zbxembed/Makefile" ;;
     "src/libs/zbxprometheus/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/zbxprometheus/Makefile" ;;
+    "src/libs/zbxdiag/Makefile") CONFIG_FILES="$CONFIG_FILES src/libs/zbxdiag/Makefile" ;;
     "src/zabbix_agent/Makefile") CONFIG_FILES="$CONFIG_FILES src/zabbix_agent/Makefile" ;;
     "src/zabbix_agent/logfiles/Makefile") CONFIG_FILES="$CONFIG_FILES src/zabbix_agent/logfiles/Makefile" ;;
     "src/zabbix_get/Makefile") CONFIG_FILES="$CONFIG_FILES src/zabbix_get/Makefile" ;;
diff -pruN 1:5.0.2+dfsg-1/configure.ac 1:5.0.4+dfsg-1/configure.ac
--- 1:5.0.2+dfsg-1/configure.ac	2020-07-13 07:56:33.000000000 +0000
+++ 1:5.0.4+dfsg-1/configure.ac	2020-09-28 12:07:20.000000000 +0000
@@ -19,7 +19,7 @@ dnl
 
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT([Zabbix],[5.0.2])
+AC_INIT([Zabbix],[5.0.4])
 AC_CONFIG_SRCDIR(src/zabbix_server/server.c)
 AM_INIT_AUTOMAKE([subdir-objects filename-length-max=99])
 
@@ -1731,6 +1731,7 @@ if test "x$agent2" = "xyes"; then
 	if test "x$GO" = "xno"; then
 		AC_MSG_ERROR([Unable to find "go" executable in path])
 	fi
+	AC_DEFINE(ZBX_BUILD_AGENT2,1,[Define to 1 if Agent2 is being built.])
 fi
 
 if test "x$java" = "xyes"; then
@@ -1993,6 +1994,7 @@ AC_OUTPUT([
 	src/libs/zbxcompress/Makefile
 	src/libs/zbxembed/Makefile
 	src/libs/zbxprometheus/Makefile
+	src/libs/zbxdiag/Makefile
 	src/zabbix_agent/Makefile
 	src/zabbix_agent/logfiles/Makefile
 	src/zabbix_get/Makefile
diff -pruN 1:5.0.2+dfsg-1/database/mysql/data.sql 1:5.0.4+dfsg-1/database/mysql/data.sql
--- 1:5.0.2+dfsg-1/database/mysql/data.sql	2020-07-13 07:56:51.000000000 +0000
+++ 1:5.0.4+dfsg-1/database/mysql/data.sql	2020-09-28 12:07:37.000000000 +0000
@@ -19,14 +19,14 @@ INSERT INTO `dchecks` (`dcheckid`,`drule
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('1','0','Email','mail.example.com','example.com','zabbix@example.com','','','','','0','25','0','0','0','0','','1','3','10s','0','','30s','0','0','','','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('3','2','SMS','','','','','/dev/ttyS0','','','0','25','0','0','0','0','','1','3','10s','1','','30s','0','0','','','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('4','0','Email (HTML)','mail.example.com','example.com','zabbix@example.com','','','','','0','25','0','0','0','0','','1','3','10s','1','','30s','0','0','','','');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('5','4','Mattermost','','','','','','','','0','25','0','0','0','0','','1','1','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', \'#7499FF\', \'#FFC859\',\r\n    \'#FFA059\', \'#E97659\', \'#E45959\'\r\n];\r\n\r\nvar RESOLVE_COLOR = \'#009900\';\r\n\r\nvar SEND_MODE_HANDLERS = {\r\n    alarm: handlerAlarm,\r\n    event: handlerEvent\r\n};\r\n\r\nvar EVENT_STATUS = {\r\n    PROBLEM: \'PROBLEM\',\r\n    UPDATE: \'UPDATE\',\r\n    RESOLVE: \'OK\'\r\n};\r\n\r\nif (!String.prototype.format) {\r\n    String.prototype.format = function() {\r\n        var args = arguments;\r\n\r\n        return this.replace(/{(\\d+)}/g, function(match, number) {\r\n            return number in args\r\n                ? args[number]\r\n                : match\r\n            ;\r\n        });\r\n    };\r\n}\r\n\r\nfunction isEventProblem(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 0\r\n    ;\r\n}\r\n\r\nfunction isEventUpdate(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 1\r\n    ;\r\n}\r\n\r\nfunction isEventResolve(params) {\r\n    return params.event_value == 0;\r\n}\r\n\r\nfunction getPermalink(mattermost_url, team_name, postid) {\r\n    return \'{0}/{1}/pl/{2}\'.format(\r\n        mattermost_url.replace(/\\/+$/, \'\'),\r\n        team_name,\r\n        postid\r\n    );\r\n}\r\n\r\nfunction getChannel(send_to) {\r\n    switch (true) {\r\n        case /.+\\/#.+/.test(send_to):\r\n            return getChannelByName(send_to);\r\n\r\n        case /@.+/.test(send_to):\r\n            return getDirectChannel(send_to);\r\n\r\n        default:\r\n            return getChannelByID(send_to);\r\n    }\r\n}\r\n\r\nfunction getChannelByName(send_to) {\r\n    var team_chan = send_to\r\n        .trim()\r\n        .split(\'/#\');\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.channel_byname.format(team_chan[0], team_chan[1]),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getDirectChannel(send_to) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var teamUser = send_to\r\n            .trim()\r\n            .split(\'/@\'),\r\n        bot = getBotUser(),\r\n        user = getUserByName(teamUser[1]);\r\n\r\n    var resp = JSON.parse(req.Post(\r\n        Mattermost.direct_channel,\r\n        JSON.stringify([bot.id, user.id])\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 201) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    resp.team_name = teamUser[0];\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getChannelByID(channelID) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.get_channel.format(channelID),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getBotUser() {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.bot_user,\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getUserByName(userName) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.format(userName),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getTeamByID(teamID) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.get_team.format(teamID),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction createProblemURL(zabbix_url, triggerid, eventid) {\r\n    var problem_url = \'{0}/tr_events.php?triggerid{1}&eventid={2}\'\r\n        .format(\r\n            zabbix_url,\r\n            triggerid,\r\n            eventid\r\n        );\r\n\r\n    return problem_url;\r\n}\r\n\r\nfunction getTagValue(event_tags, key) {\r\n    var pattern = new RegExp(\'(\' + key + \':.+)\');\r\n    var tagValue = event_tags\r\n        .split(\',\')\r\n        .filter(function (v) {\r\n            return v.match(pattern);\r\n        })\r\n        .map(function (v) {\r\n            return v.split(\':\')[1];\r\n        })[0]\r\n        || 0;\r\n\r\n    return tagValue;\r\n}\r\n\r\nfunction handlerAlarm(req, params) {\r\n    var channel = getChannel(params.send_to);\r\n    var fields = {\r\n        channel_id: channel.id,\r\n        props: {}\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        var team_name = channel.team_name\r\n            ? channel.team_name\r\n            : getTeamByID(channel.team_id).name;\r\n\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.PROBLEM,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(\r\n            Mattermost.post_message,\r\n            JSON.stringify(fields)\r\n        )\r\n        );\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n        result.tags.__mattermost_post_id = resp.id;\r\n        result.tags.__mattermost_channel_id = channel.id;\r\n        result.tags.__mattermost_channel_name = channel.name;\r\n        result.tags.__mattermost_message_link = getPermalink(\r\n            params.mattermost_url,\r\n            team_name,\r\n            resp.id\r\n        );\r\n\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.root_id = getTagValue(params.event_tags, \'mattermost_post_id\');\r\n        fields.message = params.event_update_message || \'\';\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.UPDATE,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id),\r\n                true\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(\r\n            Mattermost.post_message, JSON.stringify(fields)\r\n        )\r\n        );\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.channel_id = getTagValue(params.event_tags, \'mattermost_channel_id\');\r\n        fields.id = getTagValue(params.event_tags, \'mattermost_post_id\');\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.RESOLVE,\r\n                RESOLVE_COLOR,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        var post_id = getTagValue(params.event_tags, \'mattermost_post_id\');\r\n\r\n        resp = JSON.parse(req.Put(\r\n            Mattermost.chat_update.format(post_id),\r\n            JSON.stringify(fields)\r\n        )\r\n        );\r\n\r\n        if (req.Status() != 200) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n    }\r\n}\r\n\r\nfunction handlerEvent(req, params) {\r\n    var channel = getChannel(params.send_to);\r\n    var fields = {\r\n        channel_id: channel.id,\r\n        props: {}\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        var team_name = channel.team_name\r\n            ? channel.team_name\r\n            : getTeamByID(channel.team_id).name;\r\n\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.PROBLEM,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(Mattermost.post_message, JSON.stringify(fields)));\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n        result.tags.__mattermost_channel_name = channel.name;\r\n        result.tags.__mattermost_message_link = getPermalink(\r\n            params.mattermost_url,\r\n            team_name,\r\n            resp.id\r\n        );\r\n\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.message = params.event_update_message || \'\';\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.UPDATE,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id),\r\n                false\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Mattermost.post_message, JSON.stringify(fields)));\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.RESOLVE,\r\n                RESOLVE_COLOR,\r\n                params.event_recovery_date,\r\n                params.event_recovery_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Mattermost.post_message, JSON.stringify(fields)));\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n    }\r\n}\r\n\r\nfunction createMessage(\r\n    status,\r\n    event_severity_color,\r\n    event_date,\r\n    event_time,\r\n    problem_url,\r\n    isShort\r\n) {\r\n    var message = {\r\n        fallbac: \'{0} #{1}: {2}\'.format(status, params.event_id, params.event_name),\r\n        title: \'{0} #{1}: {2}\'.format(status, params.event_id, params.event_name),\r\n        color: event_severity_color,\r\n        title_link: problem_url,\r\n        footer: problem_url,\r\n\r\n        fields: [\r\n            {\r\n                title: \'Host\',\r\n                value: \'{0} [{1}]\'.format(params.host_name, params.host_ip),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Event time\',\r\n                value: \'{0} {1}\'.format(event_date, event_time),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Severity\',\r\n                value: params.event_severity,\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Opdata\',\r\n                value: params.event_opdata,\r\n                short: true\r\n            }\r\n        ],\r\n    };\r\n\r\n    if (!isShort) {\r\n        message.fields.push(\r\n            {\r\n                title: \'Event tags\',\r\n                value: \'`{0}`\'.format(params.event_tags.replace(/__.+?:(.+?,|.+)/g, \'\') || \'None\'),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Trigger description\',\r\n                value: params.trigger_description,\r\n                short: true\r\n            }\r\n        );\r\n    }\r\n\r\n    return message;\r\n}\r\n\r\nfunction validateParams(params) {\r\n    if (typeof params.bot_token !== \'string\' || params.bot_token.trim() === \'\') {\r\n        throw \'Field "bot_token" cannot be empty\';\r\n    }\r\n\r\n    if (isNaN(params.event_id)) {\r\n        throw \'Field "event_id" is not a number\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        throw \'Incorrect "event_nseverity" parameter given: \' + params.event_nseverity + \'\\nMust be 0-5.\';\r\n    }\r\n\r\n    if (typeof params.event_severity !== \'string\' || params.event_severity.trim() === \'\') {\r\n        throw \'Field "event_severity" cannot be empty\';\r\n    }\r\n\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\') {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (typeof params.host_ip !== \'string\' || params.host_ip.trim() === \'\') {\r\n        throw \'Field "host_ip" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.host_name !== \'string\' || params.host_name.trim() === \'\') {\r\n        throw \'Field "host_name" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.mattermost_url !== \'string\' || params.mattermost_url.trim() === \'\') {\r\n        throw \'Field "mattermost_url" cannot be empty\';\r\n    }\r\n\r\n    if (!/^(http|https):\\/\\/.+/.test(params.mattermost_url)) {\r\n        throw \'Field "mattermost_url" must contain a schema\';\r\n    }\r\n\r\n    if ([\'alarm\', \'event\'].indexOf(params.send_mode) === -1) {\r\n        throw \'Incorrect "send_mode" parameter given: \' + params.send_mode + \'\\nMust be "alarm" or "event".\';\r\n    }\r\n\r\n    if (typeof params.send_to !== \'string\' || params.send_to.trim() === \'\') {\r\n        throw \'Field "send_to" cannot be empty\';\r\n    }\r\n\r\n    if (isNaN(params.trigger_id)) {\r\n        throw \'field "trigger_id" is not a number\';\r\n    }\r\n\r\n    if (typeof params.zabbix_url !== \'string\' || params.zabbix_url.trim() === \'\') {\r\n        throw \'Field "zabbix_url" cannot be empty\';\r\n    }\r\n\r\n    if (!/^(http|https):\\/\\/.+/.test(params.zabbix_url)) {\r\n        throw \'Field "zabbix_url" must contain a schema\';\r\n    }\r\n\r\n}\r\n\r\ntry {\r\n    var params = JSON.parse(value);\r\n\r\n    validateParams(params);\r\n\r\n    var req = new CurlHttpRequest(),\r\n        fields = {},\r\n        result = {tags: {}};\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json; charset=utf-8\');\r\n    req.AddHeader(\'Authorization: Bearer \' + params.bot_token);\r\n\r\n    params.mattermost_url = params.mattermost_url.replace(/\\/+$/, \'\');\r\n    params.zabbix_url = params.zabbix_url.replace(/\\/+$/, \'\');\r\n\r\n    var APIEndpoint = params.mattermost_url + \'/api/v4/\';\r\n\r\n    var Mattermost = {\r\n        post_message: APIEndpoint + \'posts\',\r\n        get_channel: APIEndpoint + \'channels/{0}\',\r\n        get_team: APIEndpoint + \'teams/{0}\',\r\n        chat_update: APIEndpoint + \'posts/{0}\',\r\n        direct_channel: APIEndpoint + \'channels/direct\',\r\n        channel_byname: APIEndpoint + \'teams/name/{0}/channels/name/{1}\',\r\n        user_byname: APIEndpoint + \'users/username/{0}\',\r\n        bot_user: APIEndpoint + \'users/me\'\r\n\r\n    };\r\n\r\n    params.send_mode = params.send_mode.toLowerCase();\r\n    params.send_mode = params.send_mode in SEND_MODE_HANDLERS\r\n        ? params.send_mode\r\n        : \'alarm\';\r\n\r\n    SEND_MODE_HANDLERS[params.send_mode](req, params);\r\n\r\n    return JSON.stringify(result);\r\n\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ Mattermost Webhook ] Mattermost notification failed: \' + error);\r\n    throw \'Mattermost notification failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__mattermost_message_link}','Open in Mattermost: {EVENT.TAGS.__mattermost_channel_name}','');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('6','4','Opsgenie','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','try {\r\n    var result = {tags: {}},\r\n        params = JSON.parse(value),\r\n        req = new CurlHttpRequest(),\r\n        fields = {},\r\n        url = params.url,\r\n        severity;\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json\');\r\n    req.AddHeader(\'Authorization: GenieKey \' + params.token);\r\n\r\n    // Zabbix: 0 - Not classified, 1 - Information, 2 - Warning, 3 - Average, 4 - High, 5 - Disaster.\r\n    // Opsgenie: P5 Informational, P4 Low, P3 Moderate, P2 High, P1 Critical.\r\n    if ((params.severity == 0) || (params.severity == 1))\r\n        severity = \'P5\';\r\n    else if (params.severity == 2)\r\n        severity = \'P4\';\r\n    else if (params.severity == 3)\r\n        severity = \'P3\';\r\n    else if (params.severity == 4)\r\n        severity = \'P2\';\r\n    else if (params.severity == 5)\r\n        severity = \'P1\';\r\n\r\n    if ((params.eventvalue == 1) && (params.eventupdate == 0)) {\r\n        fields.message = params.subject;\r\n        fields.alias = params.eventid;\r\n        fields.description = params.message;\r\n        fields.details = {\'Zabbix server\': params.zbxurl, Problem: params.zbxurl +\r\n            \'/tr_events.php?triggerid=\' + params.triggerid + \'&eventid=\' + params.eventid};\r\n        fields.source = \'Zabbix\';\r\n        fields.priority = severity;\r\n    }\r\n    else if ((params.eventvalue == 1) && (params.eventupdate == 1)) {\r\n        if (params.eventaction.includes(\'acknowledged\'))\r\n            url = url + \'/\' + params.eventid + \'/acknowledge?identifierType=alias\' ;\r\n        else\r\n            url = url + \'/\' + params.eventid + \'/notes?identifierType=alias\';\r\n        fields.user = params.user;\r\n        fields.note = params.message;\r\n    }\r\n    else if (params.eventvalue == 0) {\r\n        url = url + \'/\' + params.eventid + \'/close?identifierType=alias\'\r\n        fields.note = params.message;\r\n    }\r\n\r\n    var resp = req.Post(url,\r\n        JSON.stringify(fields)\r\n    );\r\n\r\n    if (req.Status() != 202) {\r\n        throw JSON.parse(resp).message;\r\n    }\r\n\r\n    resp = JSON.parse(resp);\r\n\r\n    if ((params.eventvalue == 1) && (params.eventupdate == 0)) {\r\n        url = params.url + \'/\' + params.eventid + \'?identifierType=alias\';\r\n        resp = req.Get(url);\r\n        resp = JSON.parse(resp);\r\n        result.tags.opsgenie_issue_key = params.web + \'/alert/detail/\' + resp.data.id + \'/details\';\r\n    }\r\n\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'Opsgenie notification failed : \' + error);\r\n    throw \'Opsgenie notification failed : \' + error;\r\n\r\n}\r\n\r\nreturn JSON.stringify(result);','30s','1','1','{EVENT.TAGS.opsgenie_issue_key}','Alert in Opsgenie','Please refer to https://docs.opsgenie.com/docs/alert-api and https://www.zabbix.com/documentation/current/manual/config/notifications/media/webhook#example_scripts.\r\n  \r\nSet global macro {$ZABBIX.URL} with your Zabbix server URL.\r\nAdd dedicated user with media type "Opsgenie".\r\nChange the values of the variables url (https://api.opsgenie.com/v2/alerts or https://api.eu.opsgenie.com/v2/alerts),\r\nweb (for example, https://myzabbix.app.opsgenie.com), token.');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('7','4','PagerDuty','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','try {\r\n\r\n    var params = JSON.parse(value),\r\n        req = new CurlHttpRequest(),\r\n        fields = {},\r\n        resp = \'\';\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    if (isNaN(parseInt(params.eventid)) || params.eventid < 1) {\r\n        throw \'incorrect value for variable "eventid". The value must be a positive number.\';\r\n    }\r\n    if (params.eventname.length < 1) {\r\n        throw \'incorrect value for variable "eventname". The value must be a non-empty string.\';\r\n    }\r\n    if (params.hostname.length < 1) {\r\n        throw \'incorrect value for variable "eventname". The value must be a non-empty string.\';\r\n    }\r\n    if (isNaN(parseInt(params.severity)) || (params.severity < 0 && params.severity > 5)) {\r\n        throw \'incorrect value for variable "severity". The value must be a number 0..5.\';\r\n    }\r\n    if (isNaN(parseInt(params.triggerid)) || params.triggerid < 1) {\r\n        throw \'incorrect value for variable "triggerid". The value must be a positive number.\';\r\n    }\r\n    if (params.eventack != \'Yes\' && params.eventack != \'No\') {\r\n        throw \'incorrect value for variable "eventack". The value must be Yes or No.\';\r\n    }\r\n    if (isNaN(parseInt(params.eventupdate)) || (params.eventupdate < 0 || params.eventupdate > 1)) {\r\n        throw \'incorrect value for variable "eventupdate". The value must be 0 or 1.\';\r\n    }\r\n    if (isNaN(parseInt(params.eventvalue)) || (params.eventvalue < 0 || params.eventvalue > 1)) {\r\n        throw \'incorrect value for variable "eventvalue". The value must be 0 or 1.\';\r\n    }\r\n\r\n    // Correspondence between the PagerDuty and Zabbix severity level\r\n    var severityMapping = [\r\n        \'info\',    // Not classified\r\n        \'info\',    // Information\r\n        \'warning\', // Warning\r\n        \'warning\', // Average\r\n        \'error\',   // High\r\n        \'critical\' // Disaster\r\n    ];\r\n\r\n    req.AddHeader(\'Content-Type: application/json\');\r\n\r\n    fields.routing_key = params.token;\r\n    fields.dedup_key = params.eventid;\r\n\r\n    if ((params.eventvalue == 1) && (params.eventupdate == 0)) {\r\n        fields.event_action = \'trigger\';\r\n        fields.payload = {\r\n            summary: params.eventname,\r\n            source: params.hostname + \' : \' + params.hostip,\r\n            severity: severityMapping[params.severity],\r\n            custom_details: {\r\n                \'Event date\': params.eventdate,\r\n                \'Event time\': params.eventtime,\r\n                \'Trigger description\': params.triggerdesc,\r\n                \'Trigger opdata\': params.triggeropdata,\r\n                \'Event tags\': params.eventtags,\r\n                \'Event host\': params.hostname,\r\n                \'Event host ip\': params.hostip\r\n            }\r\n        };\r\n        fields.links = [{\r\n            href: params.url + \'/tr_events.php?triggerid=\' + params.triggerid + \'&eventid=\' + params.eventid,\r\n            text: \'Event link\'\r\n        }];\r\n        fields.client = \'Zabbix\';\r\n        fields.client_url = params.url;\r\n    }\r\n    else if ((params.eventvalue == 1) && (params.eventupdate == 1) && (params.eventack == \'Yes\'))\r\n        fields.event_action = \'acknowledge\';\r\n    else if (params.eventvalue == 0)\r\n        fields.event_action = \'resolve\';\r\n    else\r\n        throw \'incorrect values. Update message without ack will not be sent.\';\r\n\r\n    Zabbix.Log(4, \'[PagerDuty Webhook] Sending request:\' + JSON.stringify(fields));\r\n    resp = req.Post(\'https://events.pagerduty.com/v2/enqueue\',\r\n        JSON.stringify(fields)\r\n    );\r\n    Zabbix.Log(4, \'[PagerDuty Webhook] Receiving response:\' + resp);\r\n\r\n    try {\r\n        resp = JSON.parse(resp);\r\n    }\r\n    catch (error) {\r\n        throw \'incorrect response. PagerDuty returned a non-JSON object.\';\r\n    }\r\n\r\n    if (req.Status() != 202) {\r\n        if (typeof resp === \'object\' && typeof resp.errors === \'object\' && typeof resp.errors[0] === \'string\') {\r\n            throw resp.errors[0];\r\n        }\r\n        else {\r\n            throw \'Unknown error.\';\r\n        }\r\n    }\r\n\r\n    if (resp.status != \'success\') {\r\n        throw \'Unknown error.\';\r\n    }\r\n\r\n    return \'OK\';\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[PagerDuty Webhook] Notification failed : \' + error);\r\n    throw \'PagerDuty notification failed : \' + error;\r\n}','30s','0','0','','','Please refer to https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2 and https://www.zabbix.com/documentation/current/manual/config/notifications/media/webhook#example_scripts.\r\n  \r\nSet global macro {$ZABBIX.URL} with your Zabbix server URL.\r\nAdd a dedicated user with the media type "PagerDuty" and place the integration key in the "token" parameter to integrate into the service.');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('8','4','Pushover','','','','','','','','0','25','0','0','0','0','','0','3','10s','1','try {\r\n    var params = JSON.parse(value),\r\n        request = new CurlHttpRequest(),\r\n        data,\r\n        response;\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        request.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    if (isNaN(params.priority) || params.priority < -2 || params.priority > 2) {\r\n        throw \'field "priority" should be -2..2\';\r\n    }\r\n\r\n    if (isNaN(params.triggerid)) {\r\n        throw \'field "triggerid" is not a number\';\r\n    }\r\n\r\n    if (isNaN(params.eventid)) {\r\n        throw \'field "eventid" is not a number\';\r\n    }\r\n\r\n    if (typeof params.message !== \'string\' || params.message.trim() === \'\') {\r\n        throw \'field "message" cannot be empty\';\r\n    }\r\n\r\n    data = {\r\n        token: params.token,\r\n        user: params.user,\r\n        title: params.title,\r\n        message: params.message,\r\n        url: params.url + \'/tr_events.php?triggerid=\' + params.triggerid + \'&eventid=\' + params.eventid,\r\n        url_title: params.url_title,\r\n        priority: params.priority\r\n    };\r\n\r\n    if (params.priority == 2) {\r\n        if (isNaN(params.retry) || params.retry < 30) {\r\n            throw \'field "retry" should be a number with value of at least 30 if "priority" is set to 2\';\r\n        }\r\n\r\n        if (isNaN(params.expire) || params.expire > 10800) {\r\n            throw \'field "expire" should be a number with value of at most 10800 if "priority" is set to 2\';\r\n        }\r\n\r\n        data.retry = params.retry;\r\n        data.expire = params.expire;\r\n    }\r\n\r\n    data = JSON.stringify(data);\r\n    Zabbix.Log(4, \'[ Pushover Webhook ] Sending request: \' + params.endpoint + \'\\n\' + data);\r\n\r\n    request.AddHeader(\'Content-Type: application/json\');\r\n    response = request.Post(params.endpoint, data);\r\n\r\n    Zabbix.Log(4, \'[ Pushover Webhook ] Received response with status code \' + request.Status() + \'\\n\' + response);\r\n\r\n    if (response !== null) {\r\n        try {\r\n            response = JSON.parse(response);\r\n        }\r\n        catch (error) {\r\n            Zabbix.Log(4, \'[ Pushover Webhook ] Failed to parse response received from Pushover\');\r\n            response = null;\r\n        }\r\n    }\r\n\r\n    if (request.Status() != 200 || response === null || typeof response !== \'object\' || response.status !== 1) {\r\n        if (response !== null && typeof response === \'object\' && typeof response.errors === \'object\'\r\n                && typeof response.errors[0] === \'string\') {\r\n            throw response.errors[0];\r\n        }\r\n        else {\r\n            throw \'Unknown error. Check debug log for more information.\';\r\n        }\r\n    }\r\n\r\n    return \'OK\';\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ Pushover Webhook ] Pushover notification failed: \' + error);\r\n    throw \'Pushover notification failed: \' + error;\r\n}','30s','0','0','','','Please refer to setup guide here: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/pushover\r\n\r\nSet token parameter with to your Pushover application key.\r\nWhen assigning Pushover media to the Zabbix user - add user key into send to field.');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('9','4','Slack','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', \'#7499FF\', \'#FFC859\',\r\n    \'#FFA059\', \'#E97659\', \'#E45959\'\r\n];\r\n\r\nvar RESOLVE_COLOR = \'#009900\';\r\n\r\nvar SLACK_MODE_HANDLERS = {\r\n    alarm: handlerAlarm,\r\n    event: handlerEvent\r\n};\r\n\r\nvar EVENT_STATUS = {\r\n    PROBLEM: \'PROBLEM\',\r\n    UPDATE: \'UPDATE\',\r\n    RESOLVE: \'OK\'\r\n};\r\n\r\nif (!String.prototype.format) {\r\n    String.prototype.format = function() {\r\n        var args = arguments;\r\n\r\n        return this.replace(/{(\\d+)}/g, function(match, number) {\r\n            return number in args\r\n                ? args[number]\r\n                : match\r\n            ;\r\n        });\r\n    };\r\n}\r\n\r\nfunction isEventProblem(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 0\r\n    ;\r\n}\r\n\r\nfunction isEventUpdate(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 1\r\n    ;\r\n}\r\n\r\nfunction isEventResolve(params) {\r\n    return params.event_value == 0;\r\n}\r\n\r\nfunction getPermalink(channelId, messageTimestamp) {\r\n    var req = new CurlHttpRequest();\r\n\r\n    req.AddHeader(\'Content-Type: application/x-www-form-urlencoded; charset=utf-8\');\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        \'{0}?token={1}&channel={2}&message_ts={3}\'.format(\r\n            Slack.getPermalink,\r\n            params.bot_token,\r\n            channelId,\r\n            messageTimestamp\r\n        )\r\n    ));\r\n\r\n    if (req.Status != 200 && !resp.ok) {\r\n        throw resp.error;\r\n    }\r\n\r\n    return resp.permalink;\r\n}\r\n\r\nfunction createProblemURL(zabbix_url, triggerid, eventid) {\r\n    var problem_url = \'{0}/tr_events.php?triggerid={1}&eventid={2}\'\r\n        .format(\r\n            zabbix_url.replace(/\\/+$/, \'\'),\r\n            triggerid,\r\n            eventid\r\n        );\r\n\r\n    return problem_url;\r\n}\r\n\r\nfunction getTagValue(event_tags, key) {\r\n    var pattern = new RegExp(\'(\' + key + \':.+)\');\r\n    var tag_value = event_tags\r\n        .split(\',\')\r\n        .filter(function (v) {\r\n            return v.match(pattern);\r\n        })\r\n        .map(function (v) {\r\n            return v.split(\':\')[1];\r\n        })[0]\r\n        || 0;\r\n\r\n    return tag_value;\r\n}\r\n\r\nfunction handlerAlarm(params) {\r\n    var fields = {\r\n        channel: params.channel,\r\n        as_user: params.slack_as_user,\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.PROBLEM,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n        result.tags.__message_ts = resp.ts;\r\n        result.tags.__channel_id = resp.channel;\r\n        result.tags.__channel_name = params.channel;\r\n        result.tags.__message_link = getPermalink(resp.channel, resp.ts);\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.thread_ts = getTagValue(params.event_tags, \'message_ts\');\r\n        fields.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.UPDATE,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id),\r\n                true,\r\n                params.event_update_message\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.channel = getTagValue(params.event_tags, \'channel_id\');\r\n        fields.text = \'\';\r\n        fields.ts = getTagValue(params.event_tags, \'message_ts\');\r\n        fields.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.RESOLVE,\r\n                RESOLVE_COLOR,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.chatUpdate, JSON.stringify(fields)));\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n    }\r\n}\r\n\r\nfunction handlerEvent(params) {\r\n    var fields = {\r\n        channel: params.channel,\r\n        as_user: params.slack_as_user\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.PROBLEM,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n        result.tags.__channel_name = params.channel;\r\n        result.tags.__message_link = getPermalink(resp.channel, resp.ts);\r\n\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.UPDATE,\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id),\r\n                false,\r\n                params.event_update_message\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                EVENT_STATUS.RESOLVE,\r\n                RESOLVE_COLOR,\r\n                params.event_recovery_date,\r\n                params.event_recovery_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id)\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n    }\r\n}\r\n\r\nfunction createMessage(\r\n    status,\r\n    event_severity_color,\r\n    event_date,\r\n    event_time,\r\n    problem_url,\r\n    isShort,\r\n    messageText\r\n) {\r\n    var message = {\r\n        fallback: \'{0}: {1}\'.format(status, params.event_name),\r\n        title: \'{0}: {1}\'.format(status, params.event_name),\r\n        color: event_severity_color,\r\n        title_link: problem_url,\r\n        pretext: messageText || \'\',\r\n\r\n        fields: [\r\n            {\r\n                title: \'Host\',\r\n                value: \'{0} [{1}]\'.format(params.host_name, params.host_ip),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Event time\',\r\n                value: \'{0} {1}\'.format(event_date, event_time),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Severity\',\r\n                value: params.event_severity,\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Opdata\',\r\n                value: params.event_opdata,\r\n                short: true\r\n            }\r\n        ],\r\n    };\r\n\r\n    if (!isShort) {\r\n        message[\'actions\'] = [\r\n            {\r\n                type: \'button\',\r\n                text: \'Open in Zabbix\',\r\n                url: problem_url\r\n            }\r\n        ];\r\n\r\n        message.fields.push(\r\n            {\r\n                title: \'Event tags\',\r\n                value: params.event_tags.replace(/__.+?:(.+?,|.+)/g, \'\') || \'None\',\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Trigger description\',\r\n                value: params.trigger_description,\r\n                short: true\r\n            }\r\n        );\r\n    }\r\n\r\n    return message;\r\n}\r\n\r\nfunction validateParams(params) {\r\n    if (typeof params.bot_token !== \'string\' || params.bot_token.trim() === \'\') {\r\n        throw \'Field "bot_token" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.channel !== \'string\' || params.channel.trim() === \'\') {\r\n        throw \'Field "channel" cannot be empty\';\r\n    }\r\n\r\n    if (isNaN(params.event_id)) {\r\n        throw \'Field "event_id" is not a number\';\r\n    }\r\n\r\n    if (!~[0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity))) {\r\n        throw \'Incorrect "event_nseverity" parameter given: \' + params.event_nseverity + \'\\nMust be 0-5.\';\r\n    }\r\n\r\n    if (typeof params.event_severity !== \'string\' || params.event_severity.trim() === \'\') {\r\n        throw \'Field "event_severity" cannot be empty\';\r\n    }\r\n\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\') {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (typeof params.host_ip !== \'string\' || params.host_ip.trim() === \'\') {\r\n        throw \'Field "host_ip" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.host_name !== \'string\' || params.host_name.trim() === \'\') {\r\n        throw \'Field "host_name" cannot be empty\';\r\n    }\r\n\r\n    if (!~[\'true\', \'false\'].indexOf(params.slack_as_user.toLowerCase())) {\r\n        throw \'Incorrect "slack_as_user" parameter given: \' + params.slack_as_user + \'\\nMust be "true" or "false".\';\r\n    }\r\n\r\n    if (!~[\'alarm\', \'event\'].indexOf(params.slack_mode)) {\r\n        throw \'Incorrect "slack_mode" parameter given: \' + params.slack_mode + \'\\nMust be "alarm" or "event".\';\r\n    }\r\n\r\n    if (isNaN(params.trigger_id)) {\r\n        throw \'field "trigger_id" is not a number\';\r\n    }\r\n\r\n    if (typeof params.zabbix_url !== \'string\' || params.zabbix_url.trim() === \'\') {\r\n        throw \'Field "zabbix_url" cannot be empty\';\r\n    }\r\n\r\n    if (!/^(http|https):\\/\\/.+/.test(params.zabbix_url)) {\r\n        throw \'Field "zabbix_url" must contain a schema\';\r\n    }\r\n}\r\n\r\ntry {\r\n    var params = JSON.parse(value);\r\n\r\n    validateParams(params);\r\n\r\n    var req = new CurlHttpRequest(),\r\n        result = {tags: {}};\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json; charset=utf-8\');\r\n    req.AddHeader(\'Authorization: Bearer \' + params.bot_token);\r\n\r\n    var slack_endpoint = \'https://slack.com/api/\';\r\n\r\n    var Slack = {\r\n        postMessage: slack_endpoint + \'chat.postMessage\',\r\n        getPermalink: slack_endpoint + \'chat.getPermalink\',\r\n        chatUpdate: slack_endpoint + \'chat.update\'\r\n    };\r\n\r\n    params.slack_mode = params.slack_mode.toLowerCase();\r\n    params.slack_mode = params.slack_mode in SLACK_MODE_HANDLERS\r\n        ? params.slack_mode\r\n        : \'alarm\';\r\n\r\n    SLACK_MODE_HANDLERS[params.slack_mode](params);\r\n\r\n    return JSON.stringify(result);\r\n\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ Mattermost Webhook ] Slack notification failed : \' + error);\r\n    throw \'Slack notification failed : \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__message_link}','Open in Slack: {EVENT.TAGS.__channel_name}','');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('10','4','Discord','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', // Not classified.\r\n    \'#7499FF\', // Information.\r\n    \'#FFC859\', // Warning.\r\n    \'#FFA059\', // Average.\r\n    \'#E97659\', // High.\r\n    \'#E45959\', // Disaster.\r\n    \'#009900\'  // Resolved.\r\n];\r\n\r\nfunction stringTruncate(str, len) {\r\n    return str.length > len ? str.substring(0, len - 3) + \'...\' : str;\r\n}\r\n\r\ntry {\r\n    Zabbix.Log(4, \'[ Discord Webhook ] Executed with params: \' + value);\r\n\r\n    var params = JSON.parse(value);\r\n\r\n    if (!params.discord_endpoint) {\r\n        throw \'Cannot get discord_endpoint\';\r\n    }\r\n    else if (!params.discord_endpoint.startsWith(\'https://discordapp.com/api/webhooks\')) {\r\n        throw \'Invalid Discord webhook URL: \' + params.discord_endpoint;\r\n    }\r\n    else {\r\n        params.discord_endpoint = params.discord_endpoint.replace(\'/api/\', \'/api/v1000/\') + \'?wait=True\';\r\n    }\r\n\r\n    params.zabbix_url = (params.zabbix_url.endsWith(\'/\'))\r\n        ? params.zabbix_url.slice(0, -1) : params.zabbix_url;\r\n\r\n    if (!(params.event_value == 0 || params.event_value == 1)) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (!(params.event_update_status == 0 || params.event_update_status == 1)) {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value == 0) {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    if (!SEVERITY_COLORS[params.event_nseverity]) {\r\n        throw \'Incorrect "event_nseverity" parameter given: \' + params.event_nseverity + \'\\nMust be 0-5.\';\r\n    }\r\n\r\n    var color = parseInt(SEVERITY_COLORS[params.event_nseverity].replace(\'#\', \'\'), 16),\r\n        fields = [],\r\n        body = {\r\n            embeds: [\r\n                {\r\n                    color: color || 0,\r\n                    url: params.zabbix_url + \'/tr_events.php?triggerid=\' +\r\n                        params.trigger_id + \'&eventid=\' + params.event_id\r\n                }\r\n            ]\r\n        };\r\n\r\n    // Default message from {ALERT.MESSAGE}.\r\n    if (params.use_default_message.toLowerCase() == \'true\') {\r\n        body.embeds[0].title = stringTruncate(params.alert_subject, 256);\r\n        body.embeds[0].description = stringTruncate(params.alert_message, 2048);\r\n    }\r\n    else {\r\n        fields.push(\r\n            {\r\n                name: \'Host\',\r\n                value: params.host_name + \' [\' + params.host_ip + \']\'\r\n            }\r\n        );\r\n\r\n        // Resolved message.\r\n        if (params.event_value == 0) {\r\n            body.embeds[0].title = stringTruncate(\'OK: \' + params.event_name, 256);\r\n            fields.push(\r\n                {\r\n                    name: \'Recovery time\',\r\n                    value: params.event_recovery_time + \' \' + params.event_recovery_date,\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        // Problem message.\r\n        else if (params.event_update_status == 0) {\r\n            body.embeds[0].title = stringTruncate(\'PROBLEM: \' + params.event_name, 256);\r\n            fields.push(\r\n                {\r\n                    name: \'Event time\',\r\n                    value: params.event_time + \' \' + params.event_date,\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        // Update message.\r\n        else if (params.event_update_status == 1) {\r\n            body.embeds[0].title = stringTruncate(\'UPDATE: \' + params.event_name, 256);\r\n            body.embeds[0].description = params.event_update_user + \' \' + params.event_update_action + \'.\';\r\n\r\n            if (params.event_update_message) {\r\n                body.embeds[0].description += \' Comment:\\n>>> \' + params.event_update_message;\r\n            }\r\n\r\n            body.embeds[0].description = stringTruncate(body.embeds[0].description, 2048);\r\n\r\n            fields.push(\r\n                {\r\n                    name: \'Event update time\',\r\n                    value: params.event_update_time + \' \' + params.event_update_date,\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        fields.push(\r\n            {\r\n                name: \'Severity\',\r\n                value: params.event_severity,\r\n                inline: \'True\'\r\n            }\r\n        );\r\n\r\n        if (params.event_opdata) {\r\n            fields.push(\r\n                {\r\n                    name: \'Operational data\',\r\n                    value: stringTruncate(params.event_opdata, 1024),\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        if (params.event_value == 1 && params.event_update_status == 0 && params.trigger_description) {\r\n            fields.push(\r\n                {\r\n                    name: \'Trigger description\',\r\n                    value: stringTruncate(params.trigger_description, 1024)\r\n                }\r\n            );\r\n        }\r\n\r\n        body.embeds[0].footer = {\r\n            text: \'Event ID: \' + params.event_id\r\n        };\r\n\r\n        if (params.event_tags) {\r\n            body.embeds[0].footer.text += \'\\nEvent tags: \' + params.event_tags;\r\n        }\r\n        body.embeds[0].footer.text = stringTruncate(body.embeds[0].footer.text, 2048);\r\n    }\r\n\r\n    if (fields.length > 0) {\r\n        body.embeds[0].fields = fields;\r\n    }\r\n\r\n    var req = new CurlHttpRequest();\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json\');\r\n\r\n    var resp = req.Post(params.discord_endpoint, JSON.stringify(body)),\r\n        data = JSON.parse(resp);\r\n\r\n    Zabbix.Log(4, \'[ Discord Webhook ] JSON: \' + JSON.stringify(body));\r\n    Zabbix.Log(4, \'[ Discord Webhook ] Response: \' + resp);\r\n\r\n    if (data.id) {\r\n        return resp;\r\n    }\r\n    else {\r\n        var message = ((typeof data.message === \'string\') ? data.message : \'Unknown error\');\r\n\r\n        Zabbix.Log(3, \'[ Discord Webhook ] FAILED with response: \' + resp);\r\n        throw message + \'. For more details check zabbix server log.\';\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Discord Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','0','0','','','');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('11','4','SIGNL4','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','// SIGNL4 Webhook\r\ntry {\r\n    var response,\r\n        payload,\r\n        params = JSON.parse(value),\r\n        endpoint = \'https://connect.signl4.com/webhook/\',\r\n        request = new CurlHttpRequest();\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        request.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    if (typeof params.teamsecret === \'string\' && params.teamsecret.trim() !== \'\') {\r\n        endpoint += params.teamsecret;\r\n        delete params.teamsecret;\r\n    }\r\n    else {\r\n        throw \'The team secret of your SIGNL4 team cannot be empty.\';\r\n    }\r\n\r\n    if (typeof params.Severity === \'string\' && params.Severity === \'{EVENT.SEVERITY}\') {\r\n        params.Severity = \'Not classified\';\r\n    }\r\n\r\nif (typeof params.User === \'string\' && params.User === \'{USER.FULLNAME}\') {\r\n        params.User = \'\';\r\n    }\r\n\r\nif (typeof params.Event_Update_Action === \'string\' && params.Event_Update_Action === \'{EVENT.UPDATE.ACTION}\') {\r\n        params.Event_Update_Action = \'\';\r\n    }\r\n\r\n// Assamble X-S4-ExternalID for two-way integration\r\n// Format: "ZabbixEventID: 222 ZabbixURL: https://your-zabbix-server/zabbix/"\r\nparams[\'X-S4-ExternalID\'] = \'ZabbixEventID: \' + params.Event_ID;\r\nif (typeof params.Zabbix_URL === \'string\' && params.Zabbix_URL.indexOf(\'http\') == 0) {\r\n// Make sure the URL ends with \'/\'\r\nif (params.Zabbix_URL.charAt(params.Zabbix_URL.length - 1) != \'/\') {\r\nparams.Zabbix_URL = params.Zabbix_URL + \'/\';\r\n}\r\n\r\nparams[\'X-S4-ExternalID\'] = params[\'X-S4-ExternalID\'] + \' ZabbixURL: \' +  params.Zabbix_URL;\r\n\r\n// Add Link parameter\r\nparams[\'Link\'] = params.Zabbix_URL + "tr_events.php?triggerid="+params.Trigger_ID + "&eventid=" + params.Event_ID;\r\n}\r\n\r\n    payload = JSON.stringify(params);\r\n    Zabbix.Log(4, \'[ SIGNL4 Webhook ] Sending request: \' + payload);\r\n\r\n    request.AddHeader(\'Content-Type: application/json\');\r\n    response = request.Post(endpoint, \'payload=\' + payload);\r\n\r\n    Zabbix.Log(4, \'[ SIGNL4 Webhook ] Received response with status code \' +\r\n            request.Status() + \'\\n\' + response\r\n    );\r\n\r\n    if (request.Status() !== 201) {\r\n        throw \'Request failed with status code \' + request.Status() +\r\n                \'. Check debug log for more information.\';\r\n    }\r\n\r\n    return \'OK\';\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ SIGNL4 Webhook ] ERROR: \' + error);\r\n\r\n    throw \'Sending failed: \' + error;\r\n}','30s','0','0','','','SIGNL4 is a mobile alert notification app for powerful alerting, alert management and mobile assignment of work items. It offers alerting via app push, SMS and voice calls including escalations, tracking, and duty scheduling.\r\n\r\nGet the app at https://www.signl4.com.');
-INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('12','4','Jira','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Jira = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Jira.params = params;\r\n        if (typeof Jira.params.url === \'string\') {\r\n            if (!Jira.params.url.endsWith(\'/\')) {\r\n                Jira.params.url += \'/\';\r\n            }\r\n\r\n            Jira.params.url += \'rest/api/latest/\';\r\n        }\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        Jira.HTTPProxy = HTTPProxy;\r\n    },\r\n\r\n    setTags: function(event_tags_json) {\r\n        if (typeof event_tags_json !== \'undefined\' && event_tags_json !== \'\'\r\n            && event_tags_json !== \'{EVENT.TAGSJSON}\') {\r\n            try {\r\n                var tags = JSON.parse(event_tags_json),\r\n                    label;\r\n\r\n                Jira.labels = [];\r\n\r\n                tags.forEach(function (tag) {\r\n                    if (typeof tag.tag !== \'undefined\' && typeof tag.value !== \'undefined\' ) {\r\n                        label = (tag.tag + (tag.value ? (\':\' + tag.value) : \'\')).replace(/\\s/g, \'_\');\r\n                        if (label.length < 256) {\r\n                            Jira.labels.push(label);\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n            catch (error) {\r\n                // Code is not missing here.\r\n            }\r\n        }\r\n    },\r\n\r\n    escapeMarkup: function (str) {\r\n        var length = str.length,\r\n            result = \'\',\r\n            markup = [\'{\', \'|\', \'}\', \'~\', \'_\', \'\\\\\', \'[\', \']\', \'^\', \'<\', \'>\', \'?\', \'!\', \'#\', \'+\', \'*\', \'&\'];\r\n\r\n        for (var i = 0; i < length; i++) {\r\n            var char = str[i];\r\n\r\n            result += (markup.indexOf(char) !== -1) ? (\'&#\' + str[i].charCodeAt() + \';\') : char;\r\n        }\r\n\r\n        return result;\r\n    },\r\n\r\n    addCustomFields: function (data, fields) {\r\n        if (typeof fields === \'object\' && Object.keys(fields).length) {\r\n            var schema = Jira.getSchema(),\r\n                path = [\'projects\', 0, \'issuetypes\', 0, \'fields\'],\r\n                field;\r\n\r\n            while ((field = path.shift()) !== undefined) {\r\n                schema = schema[field];\r\n                if (typeof schema === \'undefined\') {\r\n                    schema = null;\r\n                    break;\r\n                }\r\n            }\r\n\r\n            if (schema) {\r\n                Object.keys(fields)\r\n                    .forEach(function(field) {\r\n                        data.fields[field] = fields[field];\r\n\r\n                        if (typeof schema[field] === \'object\' && typeof schema[field].schema === \'object\'\r\n                            && (schema[field].schema.type === \'number\' || schema[field].schema.type === \'datetime\')) {\r\n                            switch (schema[field].schema.type) {\r\n                                case \'number\':\r\n                                    data.fields[field] = parseInt(fields[field]);\r\n                                    break;\r\n\r\n                                case \'datetime\':\r\n                                    if (fields[field].match(/\\d+[.-]\\d+[.-]\\d+T\\d+:\\d+:\\d+/) !== null) {\r\n                                        data.fields[field] = fields[field].replace(/\\./g, \'-\');\r\n                                    }\r\n                                    else {\r\n                                        delete data.fields[field];\r\n                                    }\r\n                                    break;\r\n                            }\r\n                        }\r\n                    });\r\n            }\r\n            else {\r\n                Zabbix.Log(4, \'[ Jira Webhook ] Failed to retrieve field schema.\');\r\n            }\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'user\', \'password\', \'project_key\', \'issue_type\'].forEach(function (field) {\r\n            if (typeof Jira.params !== \'object\' || typeof Jira.params[field] === \'undefined\'\r\n                || Jira.params[field] === \'\' ) {\r\n                throw \'Required Jira param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Jira.params.url + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Authorization: Basic \' + btoa(Jira.params.user + \':\' + Jira.params.password));\r\n\r\n        if (typeof Jira.HTTPProxy !== \'undefined\' && Jira.HTTPProxy !== \'\') {\r\n            request.SetProxy(Jira.HTTPProxy);\r\n        }\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Webhook ] Sending request: \' + url + ((typeof data === \'string\') ? (\'\\n\' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Webhook ] Received response with status code \' + request.Status() + \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ Jira Webhook ] Failed to parse response received from Jira\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.errors !== \'undefined\'\r\n                && Object.keys(response.errors).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errors);\r\n            }\r\n            else if (response !== null && typeof response.errorMessages !== \'undefined\'\r\n                && Object.keys(response.errorMessages).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errorMessages);\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    getSchema: function() {\r\n        var result = Jira.request(\'get\', \'issue/createmeta?expand=projects.issuetypes.fields&projectKeys=\' +\r\n                Jira.params.project_key + \'&issuetypeNames=\' + Jira.params.issue_type);\r\n\r\n        return result.response;\r\n    },\r\n\r\n    createIssue: function(summary, description, fields) {\r\n        var data = {\r\n            fields: {\r\n                project: {\r\n                    key: Jira.params.project_key\r\n                },\r\n                issuetype: {\r\n                    name: Jira.params.issue_type\r\n                },\r\n                summary: summary,\r\n                description: description\r\n            }\r\n        };\r\n\r\n        if (Jira.labels && Jira.labels.length > 0) {\r\n            data.fields.labels = Jira.labels;\r\n        }\r\n        var result = Jira.request(\'post\', \'issue\', Jira.addCustomFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\' || typeof result.response.key === \'undefined\') {\r\n            throw \'Cannot create Jira issue. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.key;\r\n    },\r\n\r\n    updateIssue: function(summary, fields, update) {\r\n        var data = {fields: {}};\r\n\r\n        if (summary) {\r\n            data.fields.summary = summary;\r\n        }\r\n\r\n        Jira.request(\'put\', \'issue/\' + Jira.params.issue_key, Jira.addCustomFields(data, fields));\r\n        Jira.commentIssue(update);\r\n    },\r\n\r\n    commentIssue: function(update) {\r\n        var data = {};\r\n\r\n        if (typeof update === \'string\') {\r\n            data.body = update;\r\n            Jira.request(\'post\', \'issue/\' + Jira.params.issue_key + \'/comment\', data);\r\n        }\r\n        else if (update.status === \'1\') {\r\n            data.body = update.user + \' \' + update.action + \'.\';\r\n\r\n            if (update.message) {\r\n                data.body += \'\\nMessage: {quote}\' + Jira.escapeMarkup(update.message) + \'{quote}\';\r\n            }\r\n\r\n            Jira.request(\'post\', \'issue/\' + Jira.params.issue_key + \'/comment\', data);\r\n        }\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        fields = {},\r\n        jira = {},\r\n        update = {},\r\n        result = {tags: {}},\r\n        required_params = [\'alert_subject\', \'summary\', \'event_recovery_value\', \'event_source\', \'event_value\'];\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'jira_\')) {\r\n                jira[key.substring(5)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'customfield_\')) {\r\n                fields[key] = params[key];\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key] === \'\') {\r\n                throw \'Parameter "\' + key + \'" can\\\'t be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_recovery_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    Jira.setParams(jira);\r\n    Jira.setProxy(params.HTTPProxy);\r\n    Jira.setTags(params.event_tags_json);\r\n\r\n    // Create issue for non trigger-based events.\r\n    if (params.event_source !== \'0\' && params.event_recovery_value !== \'0\') {\r\n        Jira.createIssue(params.alert_subject, params.alert_message);\r\n    }\r\n    // Create issue for trigger-based events.\r\n    else if (params.event_value === \'1\' && update.status === \'0\' && !jira.issue_key.startsWith(jira.project_key)) {\r\n        var key = Jira.createIssue(params.alert_subject,\r\n            (Object.keys(fields).length ? params.trigger_description : params.alert_message), fields);\r\n\r\n\r\n        result.tags.__zbx_jira_issuekey = key;\r\n        result.tags.__zbx_jira_issuelink = params.jira_url +\r\n            (params.jira_url.endsWith(\'/\') ? \'\' : \'/\') + \'browse/\' + key;\r\n    }\r\n    // Update created issue for trigger-based event.\r\n    else {\r\n        if (!jira.issue_key.startsWith(jira.project_key)) {\r\n            throw \'Incorrect Issue key given: \' + jira.issue_key;\r\n        }\r\n        Jira.updateIssue(params.alert_subject, fields,\r\n            ((params.event_value === \'0\' && !Object.keys(fields).length)\r\n                ? params.alert_message : update));\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Jira Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_jira_issuelink}','Jira: {EVENT.TAGS.__zbx_jira_issuekey}','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('5','4','Mattermost','','','','','','','','0','25','0','0','0','0','','1','1','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', \'#7499FF\', \'#FFC859\',\r\n    \'#FFA059\', \'#E97659\', \'#E45959\'\r\n];\r\n\r\nvar RESOLVE_COLOR = \'#009900\';\r\n\r\nvar SEND_MODE_HANDLERS = {\r\n    alarm: handlerAlarm,\r\n    event: handlerEvent\r\n};\r\n\r\nif (!String.prototype.format) {\r\n    String.prototype.format = function() {\r\n        var args = arguments;\r\n\r\n        return this.replace(/{(\\d+)}/g, function(match, number) {\r\n            return number in args\r\n                ? args[number]\r\n                : match\r\n            ;\r\n        });\r\n    };\r\n}\r\n\r\nfunction isEventProblem(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 0\r\n    ;\r\n}\r\n\r\nfunction isEventUpdate(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 1\r\n    ;\r\n}\r\n\r\nfunction isEventResolve(params) {\r\n    return params.event_value == 0;\r\n}\r\n\r\nfunction getPermalink(mattermost_url, team_name, postid) {\r\n    return \'{0}/{1}/pl/{2}\'.format(\r\n        mattermost_url.replace(/\\/+$/, \'\'),\r\n        team_name,\r\n        postid\r\n    );\r\n}\r\n\r\nfunction getChannel(send_to) {\r\n    switch (true) {\r\n        case /.+\\/#.+/.test(send_to):\r\n            return getChannelByName(send_to);\r\n\r\n        case /@.+/.test(send_to):\r\n            return getDirectChannel(send_to);\r\n\r\n        default:\r\n            return getChannelByID(send_to);\r\n    }\r\n}\r\n\r\nfunction getChannelByName(send_to) {\r\n    var team_chan = send_to\r\n        .trim()\r\n        .split(\'/#\');\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.channel_byname.format(team_chan[0], team_chan[1]),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getDirectChannel(send_to) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var teamUser = send_to\r\n            .trim()\r\n            .split(\'/@\'),\r\n        bot = getBotUser(),\r\n        user = getUserByName(teamUser[1]);\r\n\r\n    var resp = JSON.parse(req.Post(\r\n        Mattermost.direct_channel,\r\n        JSON.stringify([bot.id, user.id])\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 201) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    resp.team_name = teamUser[0];\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getChannelByID(channelID) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.get_channel.format(channelID),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getBotUser() {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.bot_user,\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getUserByName(userName) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.user_byname.format(userName),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction getTeamByID(teamID) {\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Call {0}({1})\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(arguments)\r\n    ));\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        Mattermost.get_team.format(teamID),\r\n        JSON.stringify(fields)\r\n    )\r\n    );\r\n\r\n    Zabbix.Log(5, \'[ Mattermost Webhook ] Result {0}: {1}\'.format(\r\n        arguments.callee.name,\r\n        JSON.stringify(resp)\r\n    ));\r\n\r\n    if (req.Status() != 200) {\r\n        throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n    }\r\n\r\n    return resp;\r\n}\r\n\r\nfunction createProblemURL(zabbix_url, triggerid, eventid, event_source) {\r\n    var problem_url = \'\';\r\n    if (event_source === \'0\') {\r\n        problem_url = \'{0}/tr_events.php?triggerid={1}&eventid={2}\'\r\n            .format(\r\n                zabbix_url,\r\n                triggerid,\r\n                eventid\r\n            );\r\n    }\r\n    else {\r\n        problem_url = zabbix_url;\r\n    }\r\n\r\n    return problem_url;\r\n}\r\n\r\nfunction getTagValue(event_tags, key) {\r\n    var pattern = new RegExp(\'(\' + key + \':.+)\');\r\n    var tagValue = event_tags\r\n        .split(\',\')\r\n        .filter(function (v) {\r\n            return v.match(pattern);\r\n        })\r\n        .map(function (v) {\r\n            return v.split(\':\')[1];\r\n        })[0]\r\n        || 0;\r\n\r\n    return tagValue;\r\n}\r\n\r\nfunction handlerAlarm(req, params) {\r\n    var channel = getChannel(params.send_to);\r\n    var fields = {\r\n        channel_id: channel.id,\r\n        props: {}\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        var team_name = channel.team_name\r\n            ? channel.team_name\r\n            : getTeamByID(channel.team_id).name;\r\n\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(\r\n            Mattermost.post_message,\r\n            JSON.stringify(fields)\r\n        )\r\n        );\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n        result.tags.__mattermost_post_id = resp.id;\r\n        result.tags.__mattermost_channel_id = channel.id;\r\n        result.tags.__mattermost_channel_name = channel.name;\r\n        result.tags.__mattermost_message_link = getPermalink(\r\n            params.mattermost_url,\r\n            team_name,\r\n            resp.id\r\n        );\r\n\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.root_id = getTagValue(params.event_tags, \'mattermost_post_id\');\r\n\r\n        if (params.event_source === \'0\') {}\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source),\r\n                true\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(\r\n            Mattermost.post_message, JSON.stringify(fields)\r\n        )\r\n        );\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.channel_id = getTagValue(params.event_tags, \'mattermost_channel_id\');\r\n        fields.id = getTagValue(params.event_tags, \'mattermost_post_id\');\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                RESOLVE_COLOR,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        var post_id = getTagValue(params.event_tags, \'mattermost_post_id\');\r\n\r\n        resp = JSON.parse(req.Put(\r\n            Mattermost.chat_update.format(post_id),\r\n            JSON.stringify(fields)\r\n        )\r\n        );\r\n\r\n        if (req.Status() != 200) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n    }\r\n}\r\n\r\nfunction handlerEvent(req, params) {\r\n    var channel = getChannel(params.send_to);\r\n    var fields = {\r\n        channel_id: channel.id,\r\n        props: {}\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        var team_name = channel.team_name\r\n            ? channel.team_name\r\n            : getTeamByID(channel.team_id).name;\r\n\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(Mattermost.post_message, JSON.stringify(fields)));\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n        result.tags.__mattermost_channel_name = channel.name;\r\n        result.tags.__mattermost_message_link = getPermalink(\r\n            params.mattermost_url,\r\n            team_name,\r\n            resp.id\r\n        );\r\n\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source),\r\n                false\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Mattermost.post_message, JSON.stringify(fields)));\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.props.attachments = [\r\n            createMessage(\r\n                RESOLVE_COLOR,\r\n                params.event_recovery_date,\r\n                params.event_recovery_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Mattermost.post_message, JSON.stringify(fields)));\r\n\r\n        if (req.Status() != 201) {\r\n            throw \'[{0}] {1}\'.format(resp.status_code, resp.message);\r\n        }\r\n    }\r\n}\r\n\r\nfunction createMessage(\r\n    event_severity_color,\r\n    event_date,\r\n    event_time,\r\n    problem_url,\r\n    isShort\r\n) {\r\n    var message = {\r\n        fallbac: params.alert_subject,\r\n        title: params.alert_subject,\r\n        color: event_severity_color,\r\n        title_link: problem_url,\r\n        footer: problem_url,\r\n\r\n        fields: [\r\n            {\r\n                title: \'Host\',\r\n                value: \'{0} [{1}]\'.format(params.host_name, params.host_ip),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Event time\',\r\n                value: \'{0} {1}\'.format(event_date, event_time),\r\n                short: true\r\n            }\r\n        ],\r\n    };\r\n\r\n    \r\n    if (params.event_source === \'0\') {\r\n        message.fields.push(\r\n            {\r\n                title: \'Severity\',\r\n                value: params.event_severity,\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Opdata\',\r\n                value: params.event_opdata,\r\n                short: true\r\n            }\r\n        );\r\n    }\r\n\r\n    if (!isShort && params.event_source === \'0\') {\r\n        message.fields.push(\r\n            {\r\n                title: \'Event tags\',\r\n                value: \'`{0}`\'.format(params.event_tags.replace(/__.+?:(.+?,|.+)/g, \'\') || \'None\'),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Trigger description\',\r\n                value: params.trigger_description,\r\n                short: true\r\n            }\r\n        );\r\n    }\r\n\r\n    if (params.event_source !== \'0\' || params.event_update_status === \'1\') {\r\n        message.fields.push(\r\n            {\r\n                title: \'Details\',\r\n                value: params.alert_message,\r\n                short: false\r\n            }\r\n        );\r\n    }\r\n\r\n    return message;\r\n}\r\n\r\nfunction validateParams(params) {\r\n    if (typeof params.bot_token !== \'string\' || params.bot_token.trim() === \'\') {\r\n        throw \'Field "bot_token" cannot be empty\';\r\n    }\r\n\r\n    if (isNaN(params.event_id)) {\r\n        throw \'Field "event_id" is not a number\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\') {\r\n        params.event_nseverity = \'0\';\r\n        params.event_severity = \'Not classified\';\r\n        params.event_update_status = \'0\';\r\n        params.send_mode = \'event\';\r\n    }\r\n\r\n    if (params.event_source === \'1\' || params.event_source === \'2\') {\r\n        params.event_value = \'1\';\r\n    }\r\n\r\n    if (params.event_source === \'1\') {\r\n        params.host_name = params.discovery_host_dns;\r\n        params.host_ip = params.discovery_host_ip;\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        throw \'Incorrect "event_nseverity" parameter given: \' + params.event_nseverity + \'\\nMust be 0-5.\';\r\n    }\r\n\r\n    if (typeof params.event_severity !== \'string\' || params.event_severity.trim() === \'\') {\r\n        throw \'Field "event_severity" cannot be empty\';\r\n    }\r\n\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\') {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (typeof params.host_ip !== \'string\' || params.host_ip.trim() === \'\') {\r\n        throw \'Field "host_ip" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.host_name !== \'string\' || params.host_name.trim() === \'\') {\r\n        throw \'Field "host_name" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.mattermost_url !== \'string\' || params.mattermost_url.trim() === \'\') {\r\n        throw \'Field "mattermost_url" cannot be empty\';\r\n    }\r\n\r\n    if (!/^(http|https):\\/\\/.+/.test(params.mattermost_url)) {\r\n        throw \'Field "mattermost_url" must contain a schema\';\r\n    }\r\n\r\n    if ([\'alarm\', \'event\'].indexOf(params.send_mode) === -1) {\r\n        throw \'Incorrect "send_mode" parameter given: \' + params.send_mode + \'\\nMust be "alarm" or "event".\';\r\n    }\r\n\r\n    if (typeof params.send_to !== \'string\' || params.send_to.trim() === \'\') {\r\n        throw \'Field "send_to" cannot be empty\';\r\n    }\r\n\r\n    if (isNaN(params.trigger_id) && params.event_source === \'0\') {\r\n        throw \'field "trigger_id" is not a number\';\r\n    }\r\n\r\n    if (typeof params.zabbix_url !== \'string\' || params.zabbix_url.trim() === \'\') {\r\n        throw \'Field "zabbix_url" cannot be empty\';\r\n    }\r\n\r\n    if (!/^(http|https):\\/\\/.+/.test(params.zabbix_url)) {\r\n        throw \'Field "zabbix_url" must contain a schema\';\r\n    }\r\n\r\n}\r\n\r\ntry {\r\n    var params = JSON.parse(value);\r\n\r\n    validateParams(params);\r\n\r\n    var req = new CurlHttpRequest(),\r\n        fields = {},\r\n        result = {tags: {}};\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json; charset=utf-8\');\r\n    req.AddHeader(\'Authorization: Bearer \' + params.bot_token);\r\n\r\n    params.mattermost_url = params.mattermost_url.replace(/\\/+$/, \'\');\r\n    params.zabbix_url = params.zabbix_url.replace(/\\/+$/, \'\');\r\n\r\n    var APIEndpoint = params.mattermost_url + \'/api/v4/\';\r\n\r\n    var Mattermost = {\r\n        post_message: APIEndpoint + \'posts\',\r\n        get_channel: APIEndpoint + \'channels/{0}\',\r\n        get_team: APIEndpoint + \'teams/{0}\',\r\n        chat_update: APIEndpoint + \'posts/{0}\',\r\n        direct_channel: APIEndpoint + \'channels/direct\',\r\n        channel_byname: APIEndpoint + \'teams/name/{0}/channels/name/{1}\',\r\n        user_byname: APIEndpoint + \'users/username/{0}\',\r\n        bot_user: APIEndpoint + \'users/me\'\r\n\r\n    };\r\n\r\n    params.send_mode = params.send_mode.toLowerCase();\r\n    params.send_mode = params.send_mode in SEND_MODE_HANDLERS\r\n        ? params.send_mode\r\n        : \'alarm\';\r\n\r\n    SEND_MODE_HANDLERS[params.send_mode](req, params);\r\n\r\n    if (params.event_source === \'0\') {\r\n        return JSON.stringify(result);\r\n    }\r\n    else {\r\n        return \'OK\';\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ Mattermost Webhook ] Mattermost notification failed: \' + error);\r\n    throw \'Mattermost notification failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__mattermost_message_link}','Open in Mattermost: {EVENT.TAGS.__mattermost_channel_name}','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('6','4','Opsgenie','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Media = {\r\n    params: {},\r\n    name: \'\',\r\n    labels: [],\r\n    HTTPProxy: \'\',\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Media.params = params;\r\n        Media.params.api += Media.params.api.endsWith(\'/\') ? \'\' : \'/\';\r\n        Media.params.web += Media.params.web.endsWith(\'/\') ? \'\' : \'/\';\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        if (typeof HTTPProxy !== \'undefined\' && HTTPProxy.trim() !== \'\') {\r\n            Media.HTTPProxy = HTTPProxy;\r\n        }\r\n    },\r\n\r\n    setTags: function(event_tags_json) {\r\n        if (typeof event_tags_json !== \'undefined\' && event_tags_json !== \'\'\r\n                && event_tags_json !== \'{EVENT.TAGSJSON}\') {\r\n\r\n            try {\r\n                var tags = JSON.parse(event_tags_json),\r\n                    label;\r\n\r\n                tags.forEach(function (tag) {\r\n                    if (typeof tag.tag === \'string\') {\r\n                        label = (tag.tag + (typeof tag.value !== \'undefined\'\r\n                                && tag.value !== \'\' ? (\':\' + tag.value) : \'\')).replace(/\\s/g, \'_\');\r\n                        Media.labels.push(label);\r\n                    }\r\n                });\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Failed to parse "event_tags_json" param\');\r\n            }\r\n        }\r\n    },\r\n\r\n    request: function (method, query, data, allow_404) {\r\n        if (typeof(allow_404) === \'undefined\') {\r\n            allow_404 = false;\r\n        }\r\n\r\n        [\'api\', \'token\'].forEach(function (field) {\r\n            if (typeof Media.params !== \'object\' || typeof Media.params[field] === \'undefined\'\r\n                    || Media.params[field] === \'\') {\r\n                throw \'Required \' + Media.name + \' param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Media.params.api + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Authorization: \' + Media.params.token);\r\n        request.SetProxy(Media.HTTPProxy);\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Sending request: \' +\r\n            url + ((typeof data === \'string\') ? (\'\\n\' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Received response with status code \' +\r\n            request.Status() + \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Failed to parse response.\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if ((request.Status() < 200 || request.Status() >= 300)\r\n                && (!allow_404 || request.Status() !== 404)) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null) {\r\n                if (typeof response.errors === \'object\' && Object.keys(response.errors).length > 0) {\r\n                    message += \': \' + JSON.stringify(response.errors);\r\n                }\r\n                else if (typeof response.errorMessages === \'object\' && Object.keys(response.errorMessages).length > 0) {\r\n                    message += \': \' + JSON.stringify(response.errorMessages);\r\n                }\r\n                else if (typeof response.message === \'string\') {\r\n                    message += \': \' + response.message;\r\n                }\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    getAlertId: function (requestId) {\r\n        do {\r\n            resp = Media.request(\'get\', \'requests/\' + requestId, undefined, true);\r\n        }\r\n        while (typeof resp.response !== \'object\' || typeof resp.response.data === \'undefined\'\r\n                || resp.response.data.success === false);\r\n\r\n        if (typeof resp.response !== \'object\' || typeof resp.response.data === \'undefined\') {\r\n            throw \'Cannot get \' + Media.name + \' issue ID. Check debug log for more information.\';\r\n        }\r\n\r\n        return resp;\r\n    }\r\n};\r\n\r\ntry {\r\n    var result = {tags: {}},\r\n        params = JSON.parse(value),\r\n        media = {},\r\n        fields = {},\r\n        resp = {},\r\n        responders = [],\r\n        tags = [],\r\n        required_params = [\r\n            \'alert_subject\',\r\n            \'alert_message\',\r\n            \'event_id\',\r\n            \'event_source\',\r\n            \'event_value\',\r\n            \'event_update_status\',\r\n            \'opsgenie_api\',\r\n            \'opsgenie_web\',\r\n            \'opsgenie_token\'\r\n        ],\r\n        severities = [\r\n            \'not_classified\',\r\n            \'information\',\r\n            \'warning\',\r\n            \'average\',\r\n            \'high\',\r\n            \'disaster\',\r\n            \'resolved\',\r\n            \'default\'\r\n        ],\r\n        priority;\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (required_params.indexOf(key) !== -1 && params[key].trim() === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n            if (key.startsWith(\'opsgenie_\')) {\r\n                media[key.substring(9)] = params[key];\r\n            }\r\n        });\r\n\r\n    // Possible values of event_source:\r\n    // 0 - Trigger, 1 - Discovery, 2 - Autoregistration, 3 - Internal.\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check event_value for trigger-based and internal events.\r\n    // Possible values: 1 for problem, 0 for recovering\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check event_update_status only for trigger-based events.\r\n    // Possible values: 0 - Webhook was called because of problem/recovery event, 1 - Update operation.\r\n    if (params.event_source === \'0\' && params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check event_id for a numeric value.\r\n    if (isNaN(parseInt(params.event_id)) || params.event_id < 1) {\r\n        throw \'Incorrect "event_id" parameter given: \' + params.event_id + \'\\nMust be a positive number.\';\r\n    }\r\n\r\n    if ((params.event_source === \'1\' || params.event_source === \'2\')  && params.event_value === \'0\') {\r\n        throw \'Recovery operations are supported only for Trigger and Internal actions.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'severity_\' + severities[params.event_nseverity]];\r\n    params.zbxurl = params.zbxurl + (params.zbxurl.endsWith(\'/\') ? \'\' : \'/\');\r\n\r\n    Media.name = \'Opsgenie\';\r\n    Media.setParams(media);\r\n    Media.params.token = \'GenieKey \' + Media.params.token;\r\n    Media.setProxy(params.HTTPProxy);\r\n    Media.setTags(params.event_tags_json); // Set Media.labels\r\n\r\n    // Create an issue.\r\n    // Numeric value of the event that triggered an action (1 for problem, 0 for recovering).\r\n    // Numeric value of of the problem update status. Possible values:\r\n    // 0 - Webhook was called because of problem/recovery event, 1 - Update operation.\r\n    if ((params.event_source == 0 && params.event_value == 1 && params.event_update_status == 0)\r\n            || (params.event_source == 3 && params.event_value == 1)\r\n            || params.event_source == 1 || params.event_source == 2) {\r\n        fields.message = params.alert_subject;\r\n        fields.alias = params.event_id;\r\n        fields.description = params.alert_message;\r\n        fields.priority = priority;\r\n        fields.source = \'Zabbix\';\r\n\r\n        if (params.event_source === \'0\') {\r\n            fields.details = {\r\n                \'Zabbix server\': params.zbxurl,\r\n                Problem: params.zbxurl + \'tr_events.php?triggerid=\' + params.trigger_id + \'&eventid=\' + params.event_id\r\n            };\r\n        }\r\n        else {\r\n            fields.details = {\'Zabbix server\': params.zbxurl};\r\n        }\r\n\r\n        if (typeof params.opsgenie_teams === \'string\') {\r\n            responders = params.opsgenie_teams.split(\',\');\r\n            fields.responders = responders.map(function(team) {\r\n                return {type: \'team\', name: team.trim()};\r\n            });\r\n        }\r\n\r\n        fields.tags = Media.labels;\r\n        if (typeof params.opsgenie_tags === \'string\') {\r\n            tags = params.opsgenie_tags.split(\',\');\r\n            tags.forEach(function(item) {\r\n                fields.tags.push(item.trim());\r\n            });\r\n        }\r\n\r\n        resp = Media.request(\'post\', \'\', fields);\r\n        if (typeof resp.response !== \'object\' || typeof resp.response.result === \'undefined\') {\r\n            throw \'Cannot create \' + Media.name + \' issue. Check debug log for more information.\';\r\n        }\r\n\r\n        if (resp.status === 202) {\r\n            resp = Media.getAlertId(resp.response.requestId);\r\n            if (params.event_source == 0 && params.event_value == 1 && params.event_update_status == 0) {\r\n                result.tags.__zbx_ops_issuekey = resp.response.data.alertId;\r\n                result.tags.__zbx_ops_issuelink = Media.params.web + \'alert/detail/\' + resp.response.data.alertId;\r\n            }\r\n        }\r\n        else {\r\n            throw Media.name + \' response code is unexpected. Check debug log for more information.\';\r\n        }\r\n    }\r\n    // Update a created issue.\r\n    else {\r\n        fields.user = (params.event_value != 0) ? params.zbxuser : \'\';\r\n        fields.note = params.alert_message;\r\n\r\n        resp = Media.request(\'post\', params.event_id + \'/notes?identifierType=alias\', fields);\r\n        if (typeof resp.response !== \'object\' || typeof resp.response.result === \'undefined\') {\r\n            throw \'Cannot update \' + Media.name + \' issue. Check debug log for more information.\';\r\n        }\r\n\r\n        if (resp.status === 202) {\r\n            resp = Media.getAlertId(resp.response.requestId);\r\n        }\r\n        else {\r\n            throw Media.name + \' response code is unexpected. Check debug log for more information.\';\r\n        }\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ \' + Media.name + \' Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_ops_issuelink}','Opsgenie: {EVENT.TAGS.__zbx_ops_issuekey}','Please refer to https://docs.opsgenie.com/docs/alert-api and https://www.zabbix.com/documentation/current/manual/config/notifications/media/webhook#example_scripts.\r\n  \r\nSet global macro {$ZABBIX.URL} with your Zabbix server URL.\r\nAdd dedicated user with media type "Opsgenie".\r\nChange the values of the variables opsgenie_api (https://api.opsgenie.com/v2/alerts or https://api.eu.opsgenie.com/v2/alerts),\r\nopsgenie_web (for example, https://myzabbix.app.opsgenie.com), opsgenie_token.');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('7','4','PagerDuty','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','try {\r\n\r\n    var params = JSON.parse(value),\r\n        req = new CurlHttpRequest(),\r\n        fields = {},\r\n        resp = \'\';\r\n\r\n    // Correspondence between the PagerDuty and Zabbix severity level\r\n    var severityMapping = [\r\n        \'info\',    // Not classified\r\n        \'info\',    // Information\r\n        \'warning\', // Warning\r\n        \'warning\', // Average\r\n        \'error\',   // High\r\n        \'critical\' // Disaster\r\n    ];\r\n\r\n    if (!severityMapping[params.severity]) {\r\n        params.severity = \'0\';\r\n    }\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    if (isNaN(parseInt(params.eventid)) || params.eventid < 1) {\r\n        throw \'incorrect value for variable "eventid". The value must be a positive number.\';\r\n    }\r\n    if (params.eventname.length < 1) {\r\n        throw \'incorrect value for variable "eventname". The value must be a non-empty string.\';\r\n    }\r\n    if (isNaN(parseInt(params.severity)) || (params.severity < 0 && params.severity > 5)) {\r\n        throw \'incorrect value for variable "severity". The value must be a number 0..5.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.eventvalue !== \'0\' && params.eventvalue !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "eventvalue" parameter given: "\' + params.eventvalue + \'".\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source === \'0\') {\r\n        if (params.hostname.length < 1) {\r\n            throw \'incorrect value for variable "hostname". The value must be a non-empty string.\';\r\n        }\r\n        if (isNaN(parseInt(params.triggerid)) || params.triggerid < 1) {\r\n            throw \'incorrect value for variable "triggerid". The value must be a positive number.\';\r\n        }\r\n        if (params.eventack != \'Yes\' && params.eventack != \'No\') {\r\n            throw \'incorrect value for variable "eventack". The value must be Yes or No.\';\r\n        }\r\n        if (isNaN(parseInt(params.eventupdate)) || (params.eventupdate < 0 || params.eventupdate > 1)) {\r\n            throw \'incorrect value for variable "eventupdate". The value must be 0 or 1.\';\r\n        }\r\n    }\r\n\r\n\r\n\r\n    req.AddHeader(\'Content-Type: application/json\');\r\n\r\n    fields.routing_key = params.token;\r\n    fields.dedup_key = params.eventid;\r\n\r\n    if (((params.eventvalue == 1) && (params.eventupdate == 0)) || params.event_source !== \'0\') {\r\n        fields.event_action = \'trigger\';\r\n        fields.payload = {\r\n            summary: params.eventname,\r\n            source: (params.event_source === \'1\') ? \'Discovery\' : params.hostname + \' : \' + params.hostip,\r\n            severity: severityMapping[params.severity],\r\n        };\r\n        \r\n        if (params.event_source === \'0\') {\r\n            fields.payload.custom_details = {\r\n                \'Event date\': params.eventdate,\r\n                \'Event time\': params.eventtime,\r\n                \'Trigger description\': params.triggerdesc,\r\n                \'Trigger opdata\': params.triggeropdata,\r\n                \'Event tags\': params.eventtags,\r\n                \'Event host\': params.hostname,\r\n                \'Event host ip\': params.hostip\r\n            };\r\n            fields.links = [{\r\n                href: params.url + \'/tr_events.php?triggerid=\' + params.triggerid + \'&eventid=\' + params.eventid,\r\n                text: \'Event link\'\r\n            }];\r\n        }\r\n        else {\r\n            fields.payload.custom_details = {\r\n                \'Alert message\': params.alert_message\r\n            };\r\n        }\r\n\r\n        fields.client = \'Zabbix\';\r\n        fields.client_url = params.url;\r\n    }\r\n    else if ((params.eventvalue == 1) && (params.eventupdate == 1) && (params.eventack == \'Yes\'))\r\n        fields.event_action = \'acknowledge\';\r\n    else if (params.eventvalue == 0)\r\n        fields.event_action = \'resolve\';\r\n    else\r\n        throw \'incorrect values. Update message without ack will not be sent.\';\r\n\r\n    Zabbix.Log(4, \'[PagerDuty Webhook] Sending request:\' + JSON.stringify(fields));\r\n    resp = req.Post(\'https://events.pagerduty.com/v2/enqueue\',\r\n        JSON.stringify(fields)\r\n    );\r\n    Zabbix.Log(4, \'[PagerDuty Webhook] Receiving response:\' + resp);\r\n\r\n    try {\r\n        resp = JSON.parse(resp);\r\n    }\r\n    catch (error) {\r\n        throw \'incorrect response. PagerDuty returned a non-JSON object.\';\r\n    }\r\n\r\n    if (req.Status() != 202) {\r\n        if (typeof resp === \'object\' && typeof resp.errors === \'object\' && typeof resp.errors[0] === \'string\') {\r\n            throw resp.errors[0];\r\n        }\r\n        else {\r\n            throw \'Unknown error.\';\r\n        }\r\n    }\r\n\r\n    if (resp.status != \'success\') {\r\n        throw \'Unknown error.\';\r\n    }\r\n\r\n    return \'OK\';\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[PagerDuty Webhook] Notification failed : \' + error);\r\n    throw \'PagerDuty notification failed : \' + error;\r\n}','30s','0','0','','','Please refer to https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2 and https://www.zabbix.com/documentation/current/manual/config/notifications/media/webhook#example_scripts.\r\n  \r\nSet global macro {$ZABBIX.URL} with your Zabbix server URL.\r\nAdd a dedicated user with the media type "PagerDuty" and place the integration key in the "token" parameter to integrate into the service.');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('8','4','Pushover','','','','','','','','0','25','0','0','0','0','','0','3','10s','1','try {\r\n    var params = JSON.parse(value),\r\n        request = new CurlHttpRequest(),\r\n        data,\r\n        response,\r\n        severities = [\r\n            {name: \'not_classified\', color: \'#97AAB3\'},\r\n            {name: \'information\', color: \'#7499FF\'},\r\n            {name: \'warning\', color: \'#FFC859\'},\r\n            {name: \'average\', color: \'#FFA059\'},\r\n            {name: \'high\', color: \'#E97659\'},\r\n            {name: \'disaster\', color: \'#E45959\'},\r\n            {name: \'resolved\', color: \'#009900\'},\r\n            {name: \'default\', color: \'#000000\'}\r\n        ],\r\n        priority;\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        request.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'priority_\' + severities[params.event_nseverity].name] || params.priority_default;\r\n\r\n    if (isNaN(priority) || priority < -2 || priority > 2) {\r\n        throw \'"priority" should be -2..2\';\r\n    }\r\n\r\n    if (params.event_source === \'0\' && isNaN(params.triggerid)) {\r\n        throw \'field "triggerid" is not a number\';\r\n    }\r\n\r\n    if (isNaN(params.eventid)) {\r\n        throw \'field "eventid" is not a number\';\r\n    }\r\n\r\n    if (typeof params.message !== \'string\' || params.message.trim() === \'\') {\r\n        throw \'field "message" cannot be empty\';\r\n    }\r\n\r\n    data = {\r\n        token: params.token,\r\n        user: params.user,\r\n        title: params.title,\r\n        message: params.message,\r\n        url: (params.event_source === \'0\') \r\n            ? params.url + \'/tr_events.php?triggerid=\' + params.triggerid + \'&eventid=\' + params.eventid\r\n            : params.url,\r\n        url_title: params.url_title,\r\n        priority: priority\r\n    };\r\n\r\n    if (priority == 2) {\r\n        if (isNaN(params.retry) || params.retry < 30) {\r\n            throw \'field "retry" should be a number with value of at least 30 if "priority" is set to 2\';\r\n        }\r\n\r\n        if (isNaN(params.expire) || params.expire > 10800) {\r\n            throw \'field "expire" should be a number with value of at most 10800 if "priority" is set to 2\';\r\n        }\r\n\r\n        data.retry = params.retry;\r\n        data.expire = params.expire;\r\n    }\r\n\r\n    data = JSON.stringify(data);\r\n    Zabbix.Log(4, \'[ Pushover Webhook ] Sending request: \' + params.endpoint + \'\\n\' + data);\r\n\r\n    request.AddHeader(\'Content-Type: application/json\');\r\n    response = request.Post(params.endpoint, data);\r\n\r\n    Zabbix.Log(4, \'[ Pushover Webhook ] Received response with status code \' + request.Status() + \'\\n\' + response);\r\n\r\n    if (response !== null) {\r\n        try {\r\n            response = JSON.parse(response);\r\n        }\r\n        catch (error) {\r\n            Zabbix.Log(4, \'[ Pushover Webhook ] Failed to parse response received from Pushover\');\r\n            response = null;\r\n        }\r\n    }\r\n\r\n    if (request.Status() != 200 || response === null || typeof response !== \'object\' || response.status !== 1) {\r\n        if (response !== null && typeof response === \'object\' && typeof response.errors === \'object\'\r\n                && typeof response.errors[0] === \'string\') {\r\n            throw response.errors[0];\r\n        }\r\n        else {\r\n            throw \'Unknown error. Check debug log for more information.\';\r\n        }\r\n    }\r\n\r\n    return \'OK\';\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ Pushover Webhook ] Pushover notification failed: \' + error);\r\n    throw \'Pushover notification failed: \' + error;\r\n}','30s','0','0','','','Please refer to setup guide here: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/pushover\r\n\r\nSet token parameter with to your Pushover application key.\r\nWhen assigning Pushover media to the Zabbix user - add user key into send to field.');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('9','4','Slack','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', \'#7499FF\', \'#FFC859\',\r\n    \'#FFA059\', \'#E97659\', \'#E45959\'\r\n];\r\n\r\nvar RESOLVE_COLOR = \'#009900\';\r\n\r\nvar SLACK_MODE_HANDLERS = {\r\n    alarm: handlerAlarm,\r\n    event: handlerEvent\r\n};\r\n\r\n\r\nif (!String.prototype.format) {\r\n    String.prototype.format = function() {\r\n        var args = arguments;\r\n\r\n        return this.replace(/{(\\d+)}/g, function(match, number) {\r\n            return number in args\r\n                ? args[number]\r\n                : match\r\n            ;\r\n        });\r\n    };\r\n}\r\n\r\nfunction isEventProblem(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 0\r\n    ;\r\n}\r\n\r\nfunction isEventUpdate(params) {\r\n    return params.event_value == 1\r\n        && params.event_update_status == 1\r\n    ;\r\n}\r\n\r\nfunction isEventResolve(params) {\r\n    return params.event_value == 0;\r\n}\r\n\r\nfunction getPermalink(channelId, messageTimestamp) {\r\n    var req = new CurlHttpRequest();\r\n\r\n    req.AddHeader(\'Content-Type: application/x-www-form-urlencoded; charset=utf-8\');\r\n\r\n    var resp = JSON.parse(req.Get(\r\n        \'{0}?token={1}&channel={2}&message_ts={3}\'.format(\r\n            Slack.getPermalink,\r\n            params.bot_token,\r\n            channelId,\r\n            messageTimestamp\r\n        )\r\n    ));\r\n\r\n    if (req.Status != 200 && !resp.ok) {\r\n        throw resp.error;\r\n    }\r\n\r\n    return resp.permalink;\r\n}\r\n\r\nfunction createProblemURL(zabbix_url, triggerid, eventid, event_source) {\r\n    var problem_url = \'\';\r\n    if (event_source === \'0\') {\r\n        problem_url = \'{0}/tr_events.php?triggerid={1}&eventid={2}\'\r\n            .format(\r\n                zabbix_url,\r\n                triggerid,\r\n                eventid\r\n            );\r\n    }\r\n    else {\r\n        problem_url = zabbix_url;\r\n    }\r\n\r\n    return problem_url;\r\n}\r\n\r\nfunction getTagValue(event_tags, key) {\r\n    var pattern = new RegExp(\'(\' + key + \':.+)\');\r\n    var tag_value = event_tags\r\n        .split(\',\')\r\n        .filter(function (v) {\r\n            return v.match(pattern);\r\n        })\r\n        .map(function (v) {\r\n            return v.split(\':\')[1];\r\n        })[0]\r\n        || 0;\r\n\r\n    return tag_value;\r\n}\r\n\r\nfunction handlerAlarm(params) {\r\n    var fields = {\r\n        channel: params.channel,\r\n        as_user: params.slack_as_user,\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n        result.tags.__message_ts = resp.ts;\r\n        result.tags.__channel_id = resp.channel;\r\n        result.tags.__channel_name = params.channel;\r\n        result.tags.__message_link = getPermalink(resp.channel, resp.ts);\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.thread_ts = getTagValue(params.event_tags, \'message_ts\');\r\n        fields.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source),\r\n                true\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.channel = getTagValue(params.event_tags, \'channel_id\');\r\n        fields.text = \'\';\r\n        fields.ts = getTagValue(params.event_tags, \'message_ts\');\r\n        fields.attachments = [\r\n            createMessage(\r\n                RESOLVE_COLOR,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.chatUpdate, JSON.stringify(fields)));\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n    }\r\n}\r\n\r\nfunction handlerEvent(params) {\r\n    var fields = {\r\n        channel: params.channel,\r\n        as_user: params.slack_as_user\r\n    };\r\n\r\n    if (isEventProblem(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_date,\r\n                params.event_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        var resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n        result.tags.__channel_name = params.channel;\r\n        result.tags.__message_link = getPermalink(resp.channel, resp.ts);\r\n\r\n    }\r\n    else if (isEventUpdate(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                SEVERITY_COLORS[params.event_nseverity] || 0,\r\n                params.event_update_date,\r\n                params.event_update_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source),\r\n                false\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n\r\n    }\r\n    else if (isEventResolve(params)) {\r\n        fields.attachments = [\r\n            createMessage(\r\n                RESOLVE_COLOR,\r\n                params.event_recovery_date,\r\n                params.event_recovery_time,\r\n                createProblemURL(params.zabbix_url, params.trigger_id, params.event_id, params.event_source)\r\n            )\r\n        ];\r\n\r\n        resp = JSON.parse(req.Post(Slack.postMessage, JSON.stringify(fields)));\r\n\r\n        if (req.Status != 200 && !resp.ok) {\r\n            throw resp.error;\r\n        }\r\n    }\r\n}\r\n\r\nfunction createMessage(\r\n    event_severity_color,\r\n    event_date,\r\n    event_time,\r\n    problem_url,\r\n    isShort,\r\n    messageText\r\n) {\r\n    var message = {\r\n        fallback: params.alert_subject,\r\n        title: params.alert_subject,\r\n        color: event_severity_color,\r\n        title_link: problem_url,\r\n        pretext: messageText || \'\',\r\n\r\n        fields: [\r\n            {\r\n                title: \'Host\',\r\n                value: \'{0} [{1}]\'.format(params.host_name, params.host_conn),\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Event time\',\r\n                value: \'{0} {1}\'.format(event_date, event_time),\r\n                short: true\r\n            }\r\n        ],\r\n    };\r\n\r\n    if (params.event_source === \'0\') {\r\n        message.fields.push(\r\n            {\r\n                title: \'Severity\',\r\n                value: params.event_severity,\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Opdata\',\r\n                value: params.event_opdata,\r\n                short: true\r\n            }\r\n        );\r\n    }\r\n\r\n    if (!isShort  && params.event_source === \'0\') {\r\n        message[\'actions\'] = [\r\n            {\r\n                type: \'button\',\r\n                text: \'Open in Zabbix\',\r\n                url: problem_url\r\n            }\r\n        ];\r\n\r\n        message.fields.push(\r\n            {\r\n                title: \'Event tags\',\r\n                value: params.event_tags.replace(/__.+?:(.+?,|.+)/g, \'\') || \'None\',\r\n                short: true\r\n            },\r\n            {\r\n                title: \'Trigger description\',\r\n                value: params.trigger_description,\r\n                short: true\r\n            }\r\n        );\r\n    }\r\n\r\n    if (params.event_source !== \'0\' || params.event_update_status === \'1\') {\r\n        message.fields.push(\r\n            {\r\n                title: \'Details\',\r\n                value: params.alert_message,\r\n                short: false\r\n            }\r\n        );\r\n    }\r\n\r\n    return message;\r\n}\r\n\r\nfunction validateParams(params) {\r\n    if (typeof params.bot_token !== \'string\' || params.bot_token.trim() === \'\') {\r\n        throw \'Field "bot_token" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.channel !== \'string\' || params.channel.trim() === \'\') {\r\n        throw \'Field "channel" cannot be empty\';\r\n    }\r\n\r\n    if (isNaN(params.event_id)) {\r\n        throw \'Field "event_id" is not a number\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\') {\r\n        params.event_nseverity = \'0\';\r\n        params.event_severity = \'Not classified\';\r\n        params.event_update_status = \'0\';\r\n        params.slack_mode = \'event\';\r\n    }\r\n\r\n    if (params.event_source === \'1\' || params.event_source === \'2\') {\r\n        params.event_value = \'1\';\r\n    }\r\n\r\n    if (params.event_source === \'1\') {\r\n        params.host_name = params.discovery_host_dns;\r\n        params.host_ip = params.discovery_host_ip;\r\n    }\r\n\r\n    if (!~[0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity))) {\r\n        throw \'Incorrect "event_nseverity" parameter given: \' + params.event_nseverity + \'\\nMust be 0-5.\';\r\n    }\r\n\r\n    if (typeof params.event_severity !== \'string\' || params.event_severity.trim() === \'\') {\r\n        throw \'Field "event_severity" cannot be empty\';\r\n    }\r\n\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\') {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (typeof params.host_conn !== \'string\' || params.host_conn.trim() === \'\') {\r\n        throw \'Field "host_conn" cannot be empty\';\r\n    }\r\n\r\n    if (typeof params.host_name !== \'string\' || params.host_name.trim() === \'\') {\r\n        throw \'Field "host_name" cannot be empty\';\r\n    }\r\n\r\n    if (!~[\'true\', \'false\'].indexOf(params.slack_as_user.toLowerCase())) {\r\n        throw \'Incorrect "slack_as_user" parameter given: \' + params.slack_as_user + \'\\nMust be "true" or "false".\';\r\n    }\r\n\r\n    if (!~[\'alarm\', \'event\'].indexOf(params.slack_mode)) {\r\n        throw \'Incorrect "slack_mode" parameter given: \' + params.slack_mode + \'\\nMust be "alarm" or "event".\';\r\n    }\r\n\r\n    if (isNaN(params.trigger_id) && params.event_source === \'0\') {\r\n        throw \'field "trigger_id" is not a number\';\r\n    }\r\n\r\n    if (typeof params.zabbix_url !== \'string\' || params.zabbix_url.trim() === \'\') {\r\n        throw \'Field "zabbix_url" cannot be empty\';\r\n    }\r\n\r\n    if (!/^(http|https):\\/\\/.+/.test(params.zabbix_url)) {\r\n        throw \'Field "zabbix_url" must contain a schema\';\r\n    }\r\n}\r\n\r\ntry {\r\n    var params = JSON.parse(value);\r\n\r\n    validateParams(params);\r\n\r\n    var req = new CurlHttpRequest(),\r\n        result = {tags: {}};\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json; charset=utf-8\');\r\n    req.AddHeader(\'Authorization: Bearer \' + params.bot_token);\r\n\r\n    var slack_endpoint = \'https://slack.com/api/\';\r\n\r\n    var Slack = {\r\n        postMessage: slack_endpoint + \'chat.postMessage\',\r\n        getPermalink: slack_endpoint + \'chat.getPermalink\',\r\n        chatUpdate: slack_endpoint + \'chat.update\'\r\n    };\r\n\r\n    params.slack_mode = params.slack_mode.toLowerCase();\r\n    params.slack_mode = params.slack_mode in SLACK_MODE_HANDLERS\r\n        ? params.slack_mode\r\n        : \'alarm\';\r\n\r\n    SLACK_MODE_HANDLERS[params.slack_mode](params);\r\n\r\n    if (params.event_source === \'0\') {\r\n        return JSON.stringify(result);\r\n    }\r\n    else {\r\n        return \'OK\';\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ Slack Webhook ] Slack notification failed : \' + error);\r\n    throw \'Slack notification failed : \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__message_link}','Open in Slack: {EVENT.TAGS.__channel_name}','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('10','4','Discord','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', // Not classified.\r\n    \'#7499FF\', // Information.\r\n    \'#FFC859\', // Warning.\r\n    \'#FFA059\', // Average.\r\n    \'#E97659\', // High.\r\n    \'#E45959\', // Disaster.\r\n    \'#009900\'  // Resolved.\r\n];\r\n\r\nfunction stringTruncate(str, len) {\r\n    return str.length > len ? str.substring(0, len - 3) + \'...\' : str;\r\n}\r\n\r\ntry {\r\n    Zabbix.Log(4, \'[ Discord Webhook ] Executed with params: \' + value);\r\n\r\n    var params = JSON.parse(value);\r\n\r\n    if (!params.discord_endpoint) {\r\n        throw \'Cannot get discord_endpoint\';\r\n    }\r\n    else {\r\n        params.discord_endpoint = params.discord_endpoint.replace(\'/api/\', \'/api/v7/\') + \'?wait=True\';\r\n    }\r\n\r\n    params.zabbix_url = (params.zabbix_url.endsWith(\'/\'))\r\n        ? params.zabbix_url.slice(0, -1) : params.zabbix_url;\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Set params to true for non trigger-based events.\r\n    if (params.event_source !== \'0\') {\r\n        params.use_default_message = \'true\';\r\n        params.event_nseverity = \'0\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: "\' + params.event_value + \'".\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: "\' + params.event_update_status + \'".\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value == 0) {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    if (!SEVERITY_COLORS[params.event_nseverity]) {\r\n        throw \'Incorrect "event_nseverity" parameter given: \' + params.event_nseverity + \'\\nMust be 0-5.\';\r\n    }\r\n\r\n    var color = parseInt(SEVERITY_COLORS[params.event_nseverity].replace(\'#\', \'\'), 16),\r\n        fields = [],\r\n        body = {\r\n            embeds: [\r\n                {\r\n                    color: color || 0,\r\n                    url: (params.event_source === \'0\')\r\n                        ? params.zabbix_url + \'/tr_events.php?triggerid=\' + params.trigger_id +\r\n                            \'&eventid=\' + params.event_id\r\n                        : params.zabbix_url\r\n                }\r\n            ]\r\n        };\r\n\r\n    // Default message from {ALERT.MESSAGE}.\r\n    if (params.use_default_message.toLowerCase() == \'true\') {\r\n        body.embeds[0].title = stringTruncate(params.alert_subject, 256);\r\n        body.embeds[0].description = stringTruncate(params.alert_message, 2048);\r\n    }\r\n    else {\r\n        fields.push(\r\n            {\r\n                name: \'Host\',\r\n                value: params.host_name + \' [\' + params.host_ip + \']\'\r\n            }\r\n        );\r\n\r\n        // Resolved message.\r\n        if (params.event_value == 0 && params.event_update_status == 0) {\r\n            body.embeds[0].title = stringTruncate(\'OK: \' + params.event_name, 256);\r\n            fields.push(\r\n                {\r\n                    name: \'Recovery time\',\r\n                    value: params.event_recovery_time + \' \' + params.event_recovery_date,\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        // Problem message.\r\n        else if (params.event_value == 1 && params.event_update_status == 0) {\r\n            body.embeds[0].title = stringTruncate(\'PROBLEM: \' + params.event_name, 256);\r\n            fields.push(\r\n                {\r\n                    name: \'Event time\',\r\n                    value: params.event_time + \' \' + params.event_date,\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        // Update message.\r\n        else if (params.event_update_status == 1) {\r\n            body.embeds[0].title = stringTruncate(\'UPDATE: \' + params.event_name, 256);\r\n            body.embeds[0].description = params.event_update_user + \' \' + params.event_update_action + \'.\';\r\n\r\n            if (params.event_update_message) {\r\n                body.embeds[0].description += \' Comment:\\n>>> \' + params.event_update_message;\r\n            }\r\n\r\n            body.embeds[0].description = stringTruncate(body.embeds[0].description, 2048);\r\n\r\n            fields.push(\r\n                {\r\n                    name: \'Event update time\',\r\n                    value: params.event_update_time + \' \' + params.event_update_date,\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        fields.push(\r\n            {\r\n                name: \'Severity\',\r\n                value: params.event_severity,\r\n                inline: \'True\'\r\n            }\r\n        );\r\n\r\n        if (params.event_opdata) {\r\n            fields.push(\r\n                {\r\n                    name: \'Operational data\',\r\n                    value: stringTruncate(params.event_opdata, 1024),\r\n                    inline: \'True\'\r\n                }\r\n            );\r\n        }\r\n\r\n        if (params.event_value == 1 && params.event_update_status == 0 && params.trigger_description) {\r\n            fields.push(\r\n                {\r\n                    name: \'Trigger description\',\r\n                    value: stringTruncate(params.trigger_description, 1024)\r\n                }\r\n            );\r\n        }\r\n\r\n        body.embeds[0].footer = {\r\n            text: \'Event ID: \' + params.event_id\r\n        };\r\n\r\n        if (params.event_tags) {\r\n            body.embeds[0].footer.text += \'\\nEvent tags: \' + params.event_tags;\r\n        }\r\n        body.embeds[0].footer.text = stringTruncate(body.embeds[0].footer.text, 2048);\r\n    }\r\n\r\n    if (fields.length > 0) {\r\n        body.embeds[0].fields = fields;\r\n    }\r\n\r\n    var req = new CurlHttpRequest();\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    req.AddHeader(\'Content-Type: application/json\');\r\n\r\n    var resp = req.Post(params.discord_endpoint, JSON.stringify(body)),\r\n        data = JSON.parse(resp);\r\n\r\n    Zabbix.Log(4, \'[ Discord Webhook ] JSON: \' + JSON.stringify(body));\r\n    Zabbix.Log(4, \'[ Discord Webhook ] Response: \' + resp);\r\n\r\n    if (data.id) {\r\n        return resp;\r\n    }\r\n    else {\r\n        var message = ((typeof data.message === \'string\') ? data.message : \'Unknown error\');\r\n\r\n        Zabbix.Log(3, \'[ Discord Webhook ] FAILED with response: \' + resp);\r\n        throw message + \'. For more details check zabbix server log.\';\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Discord Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','0','0','','','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('11','4','SIGNL4','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','// SIGNL4 Webhook\r\ntry {\r\n    var response,\r\n        payload,\r\n        params = JSON.parse(value),\r\n        endpoint = \'https://connect.signl4.com/webhook/\',\r\n        request = new CurlHttpRequest();\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        request.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    if (typeof params.teamsecret === \'string\' && params.teamsecret.trim() !== \'\') {\r\n        endpoint += params.teamsecret;\r\n        delete params.teamsecret;\r\n    }\r\n    else {\r\n        throw \'The team secret of your SIGNL4 team cannot be empty.\';\r\n    }\r\n\r\n    if (typeof params.Severity === \'string\' && params.Severity === \'{EVENT.SEVERITY}\') {\r\n        params.Severity = \'Not classified\';\r\n    }\r\n\r\nif (typeof params.User === \'string\' && params.User === \'{USER.FULLNAME}\') {\r\n        params.User = \'\';\r\n    }\r\n\r\nif (typeof params.Event_Update_Action === \'string\' && params.Event_Update_Action === \'{EVENT.UPDATE.ACTION}\') {\r\n        params.Event_Update_Action = \'\';\r\n    }\r\n\r\n// Assemble X-S4-ExternalID for two-way integration\r\n// Format: "ZabbixEventID: 222 ZabbixURL: https://your-zabbix-server/zabbix/"\r\nparams[\'X-S4-ExternalID\'] = \'ZabbixEventID: \' + params.Event_ID;\r\nif (typeof params.Zabbix_URL === \'string\' && params.Zabbix_URL.indexOf(\'http\') == 0) {\r\n// Make sure the URL ends with \'/\'\r\nif (params.Zabbix_URL.charAt(params.Zabbix_URL.length - 1) != \'/\') {\r\nparams.Zabbix_URL = params.Zabbix_URL + \'/\';\r\n}\r\n\r\nparams[\'X-S4-ExternalID\'] = params[\'X-S4-ExternalID\'] + \' ZabbixURL: \' +  params.Zabbix_URL;\r\n\r\n// Add Link parameter\r\nparams[\'Link\'] = params.Zabbix_URL + "tr_events.php?triggerid="+params.Trigger_ID + "&eventid=" + params.Event_ID;\r\n}\r\n\r\n// Check if this is a new problem or a recovery\r\nif (params.Trigger_Status == \'OK\') {\r\nparams[\'X-S4-Status\'] = \'resolved\';\r\n}\r\nelse {\r\nparams[\'X-S4-Status\'] = \'new\';\r\n}\r\n\r\n    payload = JSON.stringify(params);\r\n    Zabbix.Log(4, \'[ SIGNL4 Webhook ] Sending request: \' + payload);\r\n\r\n    request.AddHeader(\'Content-Type: application/json\');\r\n    response = request.Post(endpoint, \'payload=\' + payload);\r\n\r\n    Zabbix.Log(4, \'[ SIGNL4 Webhook ] Received response with status code \' +\r\n            request.Status() + \'\\n\' + response\r\n    );\r\n\r\n    if (request.Status() !== 201) {\r\n        throw \'Request failed with status code \' + request.Status() +\r\n                \'. Check debug log for more information.\';\r\n    }\r\n\r\n    return \'OK\';\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(4, \'[ SIGNL4 Webhook ] ERROR: \' + error);\r\n\r\n    throw \'Sending failed: \' + error;\r\n}','30s','0','0','','','SIGNL4 is a mobile alert notification app for powerful alerting, alert management and mobile assignment of work items. It offers alerting via app push, SMS and voice calls including escalations, tracking, and duty scheduling.\r\n\r\nGet the app at https://www.signl4.com.\r\n\r\nFind out more including an integration video here: https://www.signl4.com/blog/portfolio_item/zabbix-mobile-alert-notification-duty-schedule-escalation/\r\n');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('12','4','Jira','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Jira = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Jira.params = params;\r\n        if (typeof Jira.params.url === \'string\') {\r\n            if (!Jira.params.url.endsWith(\'/\')) {\r\n                Jira.params.url += \'/\';\r\n            }\r\n\r\n            Jira.params.url += \'rest/api/latest/\';\r\n        }\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        Jira.HTTPProxy = HTTPProxy;\r\n    },\r\n\r\n    setTags: function(event_tags_json) {\r\n        if (typeof event_tags_json !== \'undefined\' && event_tags_json !== \'\'\r\n            && event_tags_json !== \'{EVENT.TAGSJSON}\') {\r\n            try {\r\n                var tags = JSON.parse(event_tags_json),\r\n                    label;\r\n\r\n                Jira.labels = [];\r\n\r\n                tags.forEach(function (tag) {\r\n                    if (typeof tag.tag !== \'undefined\' && typeof tag.value !== \'undefined\'\r\n                        && !tag.tag.startsWith(\'__zbx\')) {\r\n                        label = (tag.tag + (tag.value ? (\':\' + tag.value) : \'\')).replace(/\\s/g, \'_\');\r\n                        if (label.length < 256) {\r\n                            Jira.labels.push(label);\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n            catch (error) {\r\n                // Code is not missing here.\r\n            }\r\n        }\r\n    },\r\n\r\n    escapeMarkup: function (str) {\r\n        var length = str.length,\r\n            result = \'\',\r\n            markup = [\'{\', \'|\', \'}\', \'~\', \'_\', \'\\\\\', \'[\', \']\', \'^\', \'<\', \'>\', \'?\', \'!\', \'#\', \'+\', \'*\', \'&\'];\r\n\r\n        for (var i = 0; i < length; i++) {\r\n            var char = str[i];\r\n\r\n            result += (markup.indexOf(char) !== -1) ? (\'&#\' + str[i].charCodeAt() + \';\') : char;\r\n        }\r\n\r\n        return result;\r\n    },\r\n\r\n    addCustomFields: function (data, fields) {\r\n        if (typeof fields === \'object\' && Object.keys(fields).length) {\r\n            var schema = Jira.getSchema(),\r\n                path = [\'projects\', 0, \'issuetypes\', 0, \'fields\'],\r\n                field;\r\n\r\n            while ((field = path.shift()) !== undefined) {\r\n                schema = schema[field];\r\n                if (typeof schema === \'undefined\') {\r\n                    schema = null;\r\n                    break;\r\n                }\r\n            }\r\n\r\n            if (schema) {\r\n                Object.keys(fields)\r\n                    .forEach(function(field) {\r\n                        if (typeof schema[field] === \'object\' && typeof schema[field].schema === \'object\') {\r\n                            switch (schema[field].schema.type) {\r\n                                case \'number\':\r\n                                    data.fields[field] = parseInt(fields[field]);\r\n                                    break;\r\n\r\n                                case \'datetime\':\r\n                                    if (fields[field].match(/\\d+[.-]\\d+[.-]\\d+T\\d+:\\d+:\\d+/) !== null) {\r\n                                        data.fields[field] = fields[field].replace(/\\./g, \'-\');\r\n                                    }\r\n                                    break;\r\n\r\n                                case \'option\':\r\n                                    data.fields[field] = {value: fields[field]};\r\n                                    break;\r\n\r\n                                case \'array\':\r\n                                    if (schema[field].schema.items === \'option\') {\r\n                                        data.fields[field] = [{value: fields[field]}];\r\n                                    }\r\n                                    else {\r\n                                        data.fields[field] = [fields[field]];\r\n                                    }\r\n                                    break;\r\n\r\n                                default:\r\n                                    data.fields[field] = fields[field];\r\n                            }\r\n                        }\r\n                    });\r\n            }\r\n            else {\r\n                Zabbix.Log(4, \'[ Jira Webhook ] Failed to retrieve field schema.\');\r\n            }\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'user\', \'password\', \'project_key\', \'issue_type\'].forEach(function (field) {\r\n            if (typeof Jira.params !== \'object\' || typeof Jira.params[field] === \'undefined\'\r\n                || Jira.params[field] === \'\' ) {\r\n                throw \'Required Jira param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Jira.params.url + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Authorization: Basic \' + btoa(Jira.params.user + \':\' + Jira.params.password));\r\n\r\n        if (typeof Jira.HTTPProxy !== \'undefined\' && Jira.HTTPProxy !== \'\') {\r\n            request.SetProxy(Jira.HTTPProxy);\r\n        }\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Webhook ] Sending request: \' + url + ((typeof data === \'string\') ? (\'\\n\' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Webhook ] Received response with status code \' + request.Status() + \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ Jira Webhook ] Failed to parse response received from Jira\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.errors !== \'undefined\'\r\n                && Object.keys(response.errors).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errors);\r\n            }\r\n            else if (response !== null && typeof response.errorMessages !== \'undefined\'\r\n                && Object.keys(response.errorMessages).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errorMessages);\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    getSchema: function() {\r\n        var result = Jira.request(\'get\', \'issue/createmeta?expand=projects.issuetypes.fields&projectKeys=\' +\r\n            encodeURIComponent(Jira.params.project_key) + \'&issuetypeNames=\' +\r\n            encodeURIComponent(Jira.params.issue_type));\r\n\r\n        return result.response;\r\n    },\r\n\r\n    createIssue: function(summary, description, fields) {\r\n        var data = {\r\n            fields: {\r\n                project: {\r\n                    key: Jira.params.project_key\r\n                },\r\n                issuetype: {\r\n                    name: Jira.params.issue_type\r\n                },\r\n                summary: summary,\r\n                description: description\r\n            }\r\n        };\r\n\r\n        if (Jira.labels && Jira.labels.length > 0) {\r\n            data.fields.labels = Jira.labels;\r\n        }\r\n        var result = Jira.request(\'post\', \'issue\', Jira.addCustomFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\' || typeof result.response.key === \'undefined\') {\r\n            throw \'Cannot create Jira issue. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.key;\r\n    },\r\n\r\n    updateIssue: function(summary, fields, update) {\r\n        var data = {fields: {}};\r\n\r\n        if (summary) {\r\n            data.fields.summary = summary;\r\n        }\r\n\r\n        Jira.request(\'put\', \'issue/\' + encodeURIComponent(Jira.params.issue_key), Jira.addCustomFields(data, fields));\r\n        Jira.commentIssue(update);\r\n    },\r\n\r\n    commentIssue: function(update) {\r\n        var data = {};\r\n\r\n        if (typeof update === \'string\') {\r\n            data.body = update;\r\n            Jira.request(\'post\', \'issue/\' + encodeURIComponent(Jira.params.issue_key) + \'/comment\', data);\r\n        }\r\n        else if (update.status === \'1\') {\r\n            data.body = update.user + \' \' + update.action + \'.\';\r\n\r\n            if (update.message) {\r\n                data.body += \'\\nMessage: {quote}\' + Jira.escapeMarkup(update.message) + \'{quote}\';\r\n            }\r\n\r\n            Jira.request(\'post\', \'issue/\' + encodeURIComponent(Jira.params.issue_key) + \'/comment\', data);\r\n        }\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        fields = {},\r\n        jira = {},\r\n        update = {},\r\n        result = {tags: {}},\r\n        required_params = [\'alert_subject\', \'summary\', \'event_recovery_value\', \'event_source\', \'event_value\'];\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'jira_\')) {\r\n                jira[key.substring(5)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'customfield_\')) {\r\n                fields[key] = params[key];\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key] === \'\') {\r\n                throw \'Parameter "\' + key + \'" can\\\'t be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_recovery_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    Jira.setParams(jira);\r\n    Jira.setProxy(params.HTTPProxy);\r\n    Jira.setTags(params.event_tags_json);\r\n\r\n    // Create issue for non trigger-based events.\r\n    if (params.event_source !== \'0\' && params.event_recovery_value !== \'0\') {\r\n        Jira.createIssue(params.alert_subject, params.alert_message);\r\n    }\r\n    // Create issue for trigger-based events.\r\n    else if (params.event_value === \'1\' && update.status === \'0\' && !jira.issue_key.startsWith(jira.project_key)) {\r\n        var key = Jira.createIssue(params.alert_subject,\r\n            (Object.keys(fields).length ? params.trigger_description : params.alert_message), fields);\r\n\r\n\r\n        result.tags.__zbx_jira_issuekey = key;\r\n        result.tags.__zbx_jira_issuelink = params.jira_url +\r\n            (params.jira_url.endsWith(\'/\') ? \'\' : \'/\') + \'browse/\' + key;\r\n    }\r\n    // Update created issue for trigger-based event.\r\n    else {\r\n        if (!jira.issue_key.startsWith(jira.project_key)) {\r\n            throw \'Incorrect Issue key given: \' + jira.issue_key;\r\n        }\r\n        Jira.updateIssue(params.alert_subject, fields,\r\n            ((params.event_value === \'0\' && !Object.keys(fields).length)\r\n                ? params.alert_message : update));\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Jira Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_jira_issuelink}','Jira: {EVENT.TAGS.__zbx_jira_issuekey}','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('13','4','Jira with CustomFields','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Jira = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Jira.params = params;\r\n        if (typeof Jira.params.url === \'string\') {\r\n            if (!Jira.params.url.endsWith(\'/\')) {\r\n                Jira.params.url += \'/\';\r\n            }\r\n\r\n            Jira.params.url += \'rest/api/latest/\';\r\n        }\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        Jira.HTTPProxy = HTTPProxy;\r\n    },\r\n\r\n    setTags: function(event_tags_json) {\r\n        if (typeof event_tags_json !== \'undefined\' && event_tags_json !== \'\'\r\n            && event_tags_json !== \'{EVENT.TAGSJSON}\') {\r\n            try {\r\n                var tags = JSON.parse(event_tags_json),\r\n                    label;\r\n\r\n                Jira.labels = [];\r\n\r\n                tags.forEach(function (tag) {\r\n                    if (typeof tag.tag !== \'undefined\' && typeof tag.value !== \'undefined\' ) {\r\n                        label = (tag.tag + (tag.value ? (\':\' + tag.value) : \'\')).replace(/\\s/g, \'_\');\r\n                        if (label.length < 256) {\r\n                            Jira.labels.push(label);\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n            catch (error) {\r\n                // Code is not missing here.\r\n            }\r\n        }\r\n    },\r\n\r\n    escapeMarkup: function (str) {\r\n        var length = str.length,\r\n            result = \'\',\r\n            markup = [\'{\', \'|\', \'}\', \'~\', \'_\', \'\\\\\', \'[\', \']\', \'^\', \'<\', \'>\', \'?\', \'!\', \'#\', \'+\', \'*\', \'&\'];\r\n\r\n        for (var i = 0; i < length; i++) {\r\n            var char = str[i];\r\n\r\n            result += (markup.indexOf(char) !== -1) ? (\'&#\' + str[i].charCodeAt() + \';\') : char;\r\n        }\r\n\r\n        return result;\r\n    },\r\n\r\n    addCustomFields: function (data, fields) {\r\n        if (typeof fields === \'object\' && Object.keys(fields).length) {\r\n            var schema = Jira.getSchema(),\r\n                path = [\'projects\', 0, \'issuetypes\', 0, \'fields\'],\r\n                field;\r\n\r\n            while ((field = path.shift()) !== undefined) {\r\n                schema = schema[field];\r\n                if (typeof schema === \'undefined\') {\r\n                    schema = null;\r\n                    break;\r\n                }\r\n            }\r\n\r\n            if (schema) {\r\n                Object.keys(fields)\r\n                    .forEach(function(field) {\r\n                        data.fields[field] = fields[field];\r\n\r\n                        if (typeof schema[field] === \'object\' && typeof schema[field].schema === \'object\'\r\n                            && (schema[field].schema.type === \'number\' || schema[field].schema.type === \'datetime\')) {\r\n                            switch (schema[field].schema.type) {\r\n                                case \'number\':\r\n                                    data.fields[field] = parseInt(fields[field]);\r\n                                    break;\r\n\r\n                                case \'datetime\':\r\n                                    if (fields[field].match(/\\d+[.-]\\d+[.-]\\d+T\\d+:\\d+:\\d+/) !== null) {\r\n                                        data.fields[field] = fields[field].replace(/\\./g, \'-\');\r\n                                    }\r\n                                    else {\r\n                                        delete data.fields[field];\r\n                                    }\r\n                                    break;\r\n                            }\r\n                        }\r\n                    });\r\n            }\r\n            else {\r\n                Zabbix.Log(4, \'[ Jira Webhook ] Failed to retrieve field schema.\');\r\n            }\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'user\', \'password\', \'project_key\', \'issue_type\'].forEach(function (field) {\r\n            if (typeof Jira.params !== \'object\' || typeof Jira.params[field] === \'undefined\'\r\n                || Jira.params[field] === \'\' ) {\r\n                throw \'Required Jira param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Jira.params.url + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Authorization: Basic \' + btoa(Jira.params.user + \':\' + Jira.params.password));\r\n\r\n        if (typeof Jira.HTTPProxy !== \'undefined\' && Jira.HTTPProxy !== \'\') {\r\n            request.SetProxy(Jira.HTTPProxy);\r\n        }\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Webhook ] Sending request: \' + url + ((typeof data === \'string\') ? (\'\\n\' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Webhook ] Received response with status code \' + request.Status() + \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ Jira Webhook ] Failed to parse response received from Jira\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.errors !== \'undefined\'\r\n                && Object.keys(response.errors).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errors);\r\n            }\r\n            else if (response !== null && typeof response.errorMessages !== \'undefined\'\r\n                && Object.keys(response.errorMessages).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errorMessages);\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    getSchema: function() {\r\n        var result = Jira.request(\'get\', \'issue/createmeta?expand=projects.issuetypes.fields&projectKeys=\' +\r\n                Jira.params.project_key + \'&issuetypeNames=\' + Jira.params.issue_type);\r\n\r\n        return result.response;\r\n    },\r\n\r\n    createIssue: function(summary, description, fields) {\r\n        var data = {\r\n            fields: {\r\n                project: {\r\n                    key: Jira.params.project_key\r\n                },\r\n                issuetype: {\r\n                    name: Jira.params.issue_type\r\n                },\r\n                summary: summary,\r\n                description: description\r\n            }\r\n        };\r\n\r\n        if (Jira.labels && Jira.labels.length > 0) {\r\n            data.fields.labels = Jira.labels;\r\n        }\r\n        var result = Jira.request(\'post\', \'issue\', Jira.addCustomFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\' || typeof result.response.key === \'undefined\') {\r\n            throw \'Cannot create Jira issue. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.key;\r\n    },\r\n\r\n    updateIssue: function(summary, fields, update) {\r\n        var data = {fields: {}};\r\n\r\n        if (summary) {\r\n            data.fields.summary = summary;\r\n        }\r\n\r\n        Jira.request(\'put\', \'issue/\' + Jira.params.issue_key, Jira.addCustomFields(data, fields));\r\n        Jira.commentIssue(update);\r\n    },\r\n\r\n    commentIssue: function(update) {\r\n        var data = {};\r\n\r\n        if (typeof update === \'string\') {\r\n            data.body = update;\r\n            Jira.request(\'post\', \'issue/\' + Jira.params.issue_key + \'/comment\', data);\r\n        }\r\n        else if (update.status === \'1\') {\r\n            data.body = update.user + \' \' + update.action + \'.\';\r\n\r\n            if (update.message) {\r\n                data.body += \'\\nMessage: {quote}\' + Jira.escapeMarkup(update.message) + \'{quote}\';\r\n            }\r\n\r\n            Jira.request(\'post\', \'issue/\' + Jira.params.issue_key + \'/comment\', data);\r\n        }\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        fields = {},\r\n        jira = {},\r\n        update = {},\r\n        result = {tags: {}},\r\n        required_params = [\'alert_subject\', \'summary\', \'event_recovery_value\', \'event_source\', \'event_value\'];\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'jira_\')) {\r\n                jira[key.substring(5)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'customfield_\')) {\r\n                fields[key] = params[key];\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key] === \'\') {\r\n                throw \'Parameter "\' + key + \'" can\\\'t be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_recovery_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    Jira.setParams(jira);\r\n    Jira.setProxy(params.HTTPProxy);\r\n    Jira.setTags(params.event_tags_json);\r\n\r\n    // Create issue for non trigger-based events.\r\n    if (params.event_source !== \'0\' && params.event_recovery_value !== \'0\') {\r\n        Jira.createIssue(params.alert_subject, params.alert_message);\r\n    }\r\n    // Create issue for trigger-based events.\r\n    else if (params.event_value === \'1\' && update.status === \'0\' && !jira.issue_key.startsWith(jira.project_key)) {\r\n        var key = Jira.createIssue(params.alert_subject,\r\n            (Object.keys(fields).length ? params.trigger_description : params.alert_message), fields);\r\n\r\n\r\n        result.tags.__zbx_jira_issuekey = key;\r\n        result.tags.__zbx_jira_issuelink = params.jira_url +\r\n            (params.jira_url.endsWith(\'/\') ? \'\' : \'/\') + \'browse/\' + key;\r\n    }\r\n    // Update created issue for trigger-based event.\r\n    else {\r\n        if (!jira.issue_key.startsWith(jira.project_key)) {\r\n            throw \'Incorrect Issue key given: \' + jira.issue_key;\r\n        }\r\n        Jira.updateIssue(params.alert_subject, fields,\r\n            ((params.event_value === \'0\' && !Object.keys(fields).length)\r\n                ? params.alert_message : update));\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Jira Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_jira_issuelink}','Jira: {EVENT.TAGS.__zbx_jira_issuekey}','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('14','4','MS Teams','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SEVERITY_COLORS = [\r\n    \'#97AAB3\', // Not classified.\r\n    \'#7499FF\', // Information.\r\n    \'#FFC859\', // Warning.\r\n    \'#FFA059\', // Average.\r\n    \'#E97659\', // High.\r\n    \'#E45959\', // Disaster.\r\n    \'#009900\', // Resolved.\r\n    \'#000000\'  // Default.\r\n];\r\n\r\ntry {\r\n    var params = JSON.parse(value);\r\n\r\n    if (!params.teams_endpoint) {\r\n        throw \'Cannot get teams_endpoint\';\r\n    }\r\n    else if (!params.teams_endpoint.startsWith(\'https://outlook.office.com/webhook/\')) {\r\n        throw \'Invalid MS Teams webhook URL: \' + params.teams_endpoint;\r\n    }\r\n\r\n    params.zabbix_url = (params.zabbix_url.endsWith(\'/\'))\r\n        ? params.zabbix_url.slice(0, -1) : params.zabbix_url;\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Set "use_default_message" to true for non trigger-based events.\r\n    if (params.event_source !== \'0\') {\r\n        params.use_default_message = \'true\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: "\' + params.event_value + \'".\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: "\' + params.event_update_status + \'".\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_value == 0) {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    if (!SEVERITY_COLORS[params.event_nseverity]) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    var request = new CurlHttpRequest(),\r\n        facts = [],\r\n        body = {\r\n            themeColor: SEVERITY_COLORS[params.event_nseverity].replace(\'#\', \'\'),\r\n            summary: \'Zabbix\',\r\n            sections: [\r\n                {\r\n                    markdown: \'false\',\r\n                    activityTitle: params.alert_subject,\r\n                    activitySubtitle: \'On \' + params.host_name + \' [\' + params.host_ip + \']\',\r\n                    text: (params.use_default_message.toLowerCase() == \'true\')\r\n                        ? params.alert_message\r\n                        : params.trigger_description\r\n                }\r\n            ],\r\n            potentialAction: [\r\n                {\r\n                    \'@type\': \'OpenUri\',\r\n                    name: (params.event_source === \'0\')\r\n                        ? \'Event Info\'\r\n                        : \'Zabbix Home\',\r\n                    targets: [\r\n                        {\r\n                            os: \'default\',\r\n                            uri: (params.event_source === \'0\')\r\n                                ? params.zabbix_url + \'/tr_events.php?triggerid=\' +\r\n                                    params.trigger_id + \'&eventid=\' + params.event_id\r\n                                : params.zabbix_url\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        };\r\n\r\n    if (params.use_default_message.toLowerCase() !== \'true\') {\r\n        // Problem message.\r\n        if (params.event_value === \'1\' && params.event_update_status === \'0\') {\r\n            facts.push({\r\n                name: \'Event time\',\r\n                value: params.event_time + \' \' + params.event_date\r\n            });\r\n        }\r\n        // Update message.\r\n        else if (params.event_update_status === \'1\') {\r\n            body.sections[0].text = params.event_update_user + \' \' + params.event_update_action + \'.\';\r\n\r\n            if (params.event_update_message) {\r\n                body.sections[0].text += \'<br>Message:<br>\' + params.event_update_message;\r\n            }\r\n\r\n            facts.push({\r\n                name: \'Event update time\',\r\n                value: params.event_update_time + \' \' + params.event_update_date\r\n            });\r\n        }\r\n        // Resolved message.\r\n        else {\r\n            facts.push({\r\n                name: \'Recovery time\',\r\n                value: params.event_recovery_time + \' \' + params.event_recovery_date\r\n            });\r\n        }\r\n\r\n        if (params.event_severity && params.event_severity !== \'{EVENT.SEVERITY}\') {\r\n            facts.push({\r\n                name: \'Severity\',\r\n                value: params.event_severity\r\n            });\r\n        }\r\n\r\n\r\n        if (params.event_opdata && params.event_opdata !== \'{EVENT.OPDATA}\') {\r\n            facts.push({\r\n                name: \'Operational data\',\r\n                value: params.event_opdata\r\n            });\r\n        }\r\n\r\n        if (params.event_tags && params.event_tags !== \'{EVENT.TAGS}\') {\r\n            facts.push({\r\n                name: \'Event tags\',\r\n                value: params.event_tags\r\n            });\r\n        }\r\n\r\n        Object.keys(params)\r\n            .forEach(function (key) {\r\n                if (key.startsWith(\'fact_\') && params[key] !== \'\') {\r\n                    facts.push({\r\n                        name: key.substring(5),\r\n                        value: params[key]\r\n                    });\r\n                }\r\n                else if (key.startsWith(\'openUri_\') && params[key] !== \'\' && !params[key].startsWith(\'{\')) {\r\n                    body.potentialAction.push({\r\n                        \'@type\': \'OpenUri\',\r\n                        name: key.substring(8),\r\n                        targets: [\r\n                            {\r\n                                os: \'default\',\r\n                                uri: params[key]\r\n                            }\r\n                        ]\r\n                    });\r\n                }\r\n            });\r\n        body.sections[0].facts = facts;\r\n    }\r\n\r\n    body.sections[0].text = body.sections[0].text.replace(/(?:\\r\\n|\\r|\\n)/g, \'<br>\');\r\n\r\n    request.AddHeader(\'Content-Type: application/json\');\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy !== \'\') {\r\n        request.SetProxy(params.HTTPProxy);\r\n    }\r\n\r\n    Zabbix.Log(4, \'[ MS Teams Webhook ] JSON: \' + JSON.stringify(body));\r\n\r\n    var response = request.Post(params.teams_endpoint, JSON.stringify(body));\r\n\r\n    Zabbix.Log(4, \'[ MS Teams Webhook ] Response: \' + response);\r\n\r\n    if (response === \'1\') {\r\n        return \'OK\';\r\n    }\r\n    else {\r\n        Zabbix.Log(4, \'[ MS Teams Webhook ] FAILED with response: \' + response);\r\n        throw response;\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ MS Teams Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','0','0','','','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('15','4','Redmine','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Redmine = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Redmine.params = params;\r\n        if (typeof Redmine.params.url === \'string\') {\r\n            if (!Redmine.params.url.endsWith(\'/\')) {\r\n                Redmine.params.url += \'/\';\r\n            }\r\n        }\r\n    },\r\n\r\n    addCustomFields: function (data, fields) {\r\n        if (typeof fields === \'object\' && Object.keys(fields).length) {\r\n            var schema = Redmine.getSchema();\r\n\r\n            if (schema) {\r\n                data.issue.custom_fields = [];\r\n\r\n                Object.keys(fields)\r\n                    .forEach(function(field) {\r\n                        for (var idx in schema.custom_fields) {\r\n                            if (schema.custom_fields[idx].id != field) {\r\n                                continue;\r\n                            }\r\n\r\n                            var field_value;\r\n\r\n                            switch (schema.custom_fields[idx].field_format) {\r\n                                case \'string\':\r\n                                    field_value = fields[field];\r\n                                    break;\r\n\r\n                                case \'int\':\r\n                                    field_value = parseInt(fields[field]);\r\n                                    break;\r\n\r\n                                case \'float\':\r\n                                    field_value = parseFloat(fields[field]);\r\n                                    break;\r\n\r\n                                case \'date\':\r\n                                    if (fields[field].match(/^\\d{4}[.-]\\d{2}[.-]\\d{2}$/)) {\r\n                                        field_value = fields[field].replace(/\\./g, \'-\');\r\n                                    }\r\n                                    break;\r\n                            }\r\n\r\n                            if (field_value !== undefined) {\r\n                                data.issue.custom_fields.push({id: field, value: field_value});\r\n                            }\r\n                        }\r\n                    });\r\n            }\r\n            else {\r\n                Zabbix.Log(4, \'[ Redmine Webhook ] Failed to retrieve field schema.\');\r\n            }\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'access_key\'].forEach(function (field) {\r\n            if (typeof Redmine.params !== \'object\' || typeof Redmine.params[field] === \'undefined\'\r\n                || Redmine.params[field] === \'\' ) {\r\n                throw \'Required param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Redmine.params.url + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        if (typeof Redmine.HTTPProxy === \'string\' && Redmine.HTTPProxy.trim() !== \'\') {\r\n            request.SetProxy(Redmine.HTTPProxy);\r\n        }\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'X-Redmine-API-Key: \' + Redmine.params.access_key);\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Redmine Webhook ] Sending request: \' +\r\n            url + ((typeof data === \'string\') ? (\' \' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Redmine Webhook ] Received response with status code \' + request.Status() + \': \' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ Redmine Webhook ] Failed to parse response received from Redmine\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.errors !== \'undefined\'\r\n                && Object.keys(response.errors).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errors);\r\n            }\r\n            else if (response !== null && typeof response.errorMessages !== \'undefined\'\r\n                && Object.keys(response.errorMessages).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errorMessages);\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    getProjectID: function(name) {\r\n        var result = Redmine.request(\'get\', \'projects.json\'),\r\n            project_id;\r\n\r\n        if (result.response) {\r\n            var projects = result.response.projects || [];\r\n\r\n            for (var i in projects) {\r\n                if (projects[i].name === name) {\r\n                    project_id = projects[i].id;\r\n                    break;\r\n                }\r\n            }\r\n        }\r\n        else {\r\n            Zabbix.Log(4, \'[ Redmine Webhook ] Failed to retrieve project data.\');\r\n        }\r\n\r\n        if (typeof project_id === \'undefined\') {\r\n            throw \'Cannot find project with name: \' + name;\r\n        }\r\n\r\n        return project_id;\r\n    },\r\n\r\n    getSchema: function() {\r\n        var result = Redmine.request(\'get\', \'custom_fields.json\');\r\n\r\n        return result.response;\r\n    },\r\n\r\n    createIssue: function(subject, description, priority, fields) {\r\n        var project_id = /^\\d+$/.test(Redmine.params.project)\r\n                ? Redmine.params.project\r\n                : Redmine.getProjectID(Redmine.params.project),\r\n            data = {\r\n                issue: {\r\n                    project_id: project_id,\r\n                    tracker_id: Redmine.params.tracker_id,\r\n                    subject: subject,\r\n                    description: description\r\n                }\r\n            },\r\n            result;\r\n\r\n        if (priority) {\r\n            data.issue.priority_id = priority;\r\n        }\r\n\r\n        result = Redmine.request(\'post\', \'issues.json\', Redmine.addCustomFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\'\r\n            || typeof result.response.issue.id === \'undefined\'\r\n            || result.status != 201) {\r\n            throw \'Cannot create Redmine issue. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.issue.id;\r\n    },\r\n\r\n    updateIssue: function(note, fields) {\r\n        var data = {\r\n            issue: {\r\n                notes: note || \'\'\r\n            }\r\n        };\r\n\r\n        Redmine.request(\'put\', \'issues/\' + Redmine.params.issue_key + \'.json\', Redmine.addCustomFields(data, fields));\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        params_redmine = {},\r\n        params_fields = {},\r\n        params_update = {},\r\n        result = {tags: {}},\r\n        required_params = [\r\n            \'alert_subject\', \'tracker_id\', \'project\',\r\n            \'event_source\', \'event_value\',  \'event_update_status\'\r\n        ],\r\n        severities = [\r\n            {name: \'not_classified\', color: \'#97AAB3\'},\r\n            {name: \'information\', color: \'#7499FF\'},\r\n            {name: \'warning\', color: \'#FFC859\'},\r\n            {name: \'average\', color: \'#FFA059\'},\r\n            {name: \'high\', color: \'#E97659\'},\r\n            {name: \'disaster\', color: \'#E45959\'},\r\n            {name: \'resolved\', color: \'#009900\'},\r\n            {name: null, color: \'#000000\'}\r\n        ],\r\n        priority;\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'redmine_\')) {\r\n                params_redmine[key.substring(8)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'customfield_\')) {\r\n                params_fields[key.substring(12)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                params_update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key].trim() === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_source === \'0\' && params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    if (params.event_source === \'0\'\r\n        && ((params.event_value === \'1\' && params.event_update_status === \'1\')\r\n            || (params.event_value === \'0\'\r\n                && (params.event_update_status === \'0\' || params.event_update_status === \'1\')))\r\n        && (isNaN(parseInt(params.redmine_issue_key)) || parseInt(params.redmine_issue_key) < 1 )) {\r\n        throw \'Incorrect "redmine_issue_key" parameter given: \' + params.redmine_issue_key +\r\n            \'\\nMust be positive integer.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'severity_\' + severities[params.event_nseverity].name];\r\n    priority = priority && priority.trim() || severities[7].name;\r\n\r\n    Redmine.setParams(params_redmine);\r\n    Redmine.HTTPProxy = params.HTTPProxy;\r\n\r\n    // Create issue for non trigger-based events.\r\n    if (params.event_source !== \'0\'\r\n        && params.event_value !== \'0\') {\r\n        Redmine.createIssue(params.alert_subject, params.alert_message, priority);\r\n    }\r\n    // Create issue for trigger-based events.\r\n    else if (params.event_value === \'1\' && params_update.status === \'0\') {\r\n        var issue_id = Redmine.createIssue(params.alert_subject,\r\n            params.alert_subject + \'\\n\' + params.alert_message + \'\\n\' +\r\n            params.zabbix_url + (params.zabbix_url.endsWith(\'/\') ? \'\' : \'/\') +\r\n            \'tr_events.php?triggerid=\' + params.trigger_id + \'&eventid=\' + params.event_id + \'\\n\',\r\n            priority,\r\n            params_fields);\r\n\r\n        result.tags.__zbx_redmine_issue_id = issue_id;\r\n        result.tags.__zbx_redmine_issuelink = params.redmine_url +\r\n            (params.redmine_url.endsWith(\'/\') ? \'\' : \'/\') + \'issues/\' + issue_id;\r\n    }\r\n    // Update created issue for trigger-based event.\r\n    else {\r\n        Redmine.updateIssue(params.alert_subject + \'\\n\' + params.alert_message, params_fields);\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Redmine Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_redmine_issuelink}','Redmine: issue #{EVENT.TAGS.__zbx_redmine_issue_id}','');
@@ -36,13 +36,16 @@ INSERT INTO `media_type` (`mediatypeid`,
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('19','4','Zammad','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Zammad = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Zammad.params = params;\r\n        if (typeof Zammad.params.url === \'string\') {\r\n            if (!Zammad.params.url.endsWith(\'/\')) {\r\n                Zammad.params.url += \'/\';\r\n            }\r\n        }\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'access_token\'].forEach(function (field) {\r\n            if (typeof Zammad.params !== \'object\' || typeof Zammad.params[field] === \'undefined\'\r\n                || Zammad.params[field] === \'\' ) {\r\n                throw \'Required param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Zammad.params.url + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        if (typeof Zammad.HTTPProxy === \'string\' && Zammad.HTTPProxy.trim() !== \'\') {\r\n            request.SetProxy(Zammad.HTTPProxy);\r\n        }\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Authorization: Token token=\' + Zammad.params.access_token);\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Zammad Webhook ] Sending request: \' +\r\n            url + ((typeof data === \'string\') ? (\' \' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Zammad Webhook ] Received response with status code \' + request.Status() + \': \' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ Zammad Webhook ] Failed to parse response received from Zammad\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.errors !== \'undefined\'\r\n                && Object.keys(response.errors).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errors);\r\n            }\r\n            else if (response !== null && typeof response.errorMessages !== \'undefined\'\r\n                && Object.keys(response.errorMessages).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errorMessages);\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    setTicketTags: function(tags, ticket_id) {\r\n        try {\r\n            var tags_json = JSON.parse(tags),\r\n                result;\r\n\r\n            for (var i in tags_json) {\r\n                result = Zammad.request(\'get\',\r\n                    \'/api/v1/tags/add?object=Ticket&o_id=\' + ticket_id +\r\n                    \'&item=\' + tags_json[i].tag);\r\n\r\n                if (typeof result.response !== \'object\'\r\n                    || result.status != 200) {\r\n                    Zabbix.Log(4, \'[ Zammad Webhook ] Cannot add ticket tag:\' + tags_json[i].tag);\r\n                }\r\n            }\r\n        }\r\n        catch (error) {\r\n            Zabbix.Log(4, \'[ Zammad Webhook ] Failed to add ticket tags:\' + error);\r\n        }\r\n\r\n        return;\r\n    },\r\n\r\n    createTicket: function(subject, message, priority) {\r\n        var data = {\r\n                title: subject,\r\n                group: \'Users\',\r\n                article: {\r\n                    subject: subject,\r\n                    body: message,\r\n                    type: \'note\',\r\n                    internal: false\r\n                },\r\n                customer: Zammad.params.customer\r\n            },\r\n            result;\r\n\r\n        if (priority) {\r\n            data.priority_id = priority;\r\n        }\r\n\r\n        result = Zammad.request(\'post\', \'api/v1/tickets\', data);\r\n\r\n        if (typeof result.response !== \'object\'\r\n            || typeof result.response.id === \'undefined\'\r\n            || result.status != 201) {\r\n            throw \'Cannot create Zammad ticket. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.id;\r\n    },\r\n\r\n    updateTicket: function(subject, message) {\r\n        var data = {\r\n            ticket_id: Zammad.params.ticket_id,\r\n            subject: subject,\r\n            body: message || \'\',\r\n            type: \'note\',\r\n            internal: false\r\n        };\r\n\r\n        result = Zammad.request(\'post\', \'api/v1/ticket_articles\', data);\r\n\r\n        if (typeof result.response !== \'object\'\r\n            || typeof result.response.id === \'undefined\'\r\n            || result.status != 201) {\r\n            throw \'Cannot update Zammad ticket. Check debug log for more information.\';\r\n        }\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        params_zammad = {},\r\n        params_update = {},\r\n        result = {tags: {}},\r\n        required_params = [\r\n            \'alert_subject\', \'customer\',\r\n            \'event_source\', \'event_value\',\r\n            \'event_update_status\'\r\n        ],\r\n        severities = [\r\n            {name: \'not_classified\', color: \'#97AAB3\'},\r\n            {name: \'information\', color: \'#7499FF\'},\r\n            {name: \'warning\', color: \'#FFC859\'},\r\n            {name: \'average\', color: \'#FFA059\'},\r\n            {name: \'high\', color: \'#E97659\'},\r\n            {name: \'disaster\', color: \'#E45959\'},\r\n            {name: \'resolved\', color: \'#009900\'},\r\n            {name: null, color: \'#000000\'}\r\n        ],\r\n        priority;\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'zammad_\')) {\r\n                params_zammad[key.substring(7)] = params[key].trim();\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                params_update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key].trim() === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_source === \'0\' && params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    if (params.event_source === \'0\'\r\n        && ((params.event_value === \'1\' && params.event_update_status === \'1\')\r\n            || (params.event_value === \'0\'\r\n                && (params.event_update_status === \'0\' || params.event_update_status === \'1\')))\r\n        && (isNaN(parseInt(params.zammad_ticket_id)) || parseInt(params.zammad_ticket_id) < 1 )) {\r\n        throw \'Incorrect "zammad_ticket_id" parameter given: \' + params.zammad_ticket_id +\r\n            \'\\nMust be positive integer.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'severity_\' + severities[params.event_nseverity].name];\r\n    priority = priority && priority.trim() || severities[7].name;\r\n\r\n    Zammad.setParams(params_zammad);\r\n    Zammad.HTTPProxy = params.HTTPProxy;\r\n\r\n    // Create ticket for non trigger-based events.\r\n    if (params.event_source !== \'0\'\r\n        && params.event_value !== \'0\') {\r\n        Zammad.createTicket(params.alert_subject, params.alert_message, priority, params.event_tags);\r\n    }\r\n    // Create ticket for trigger-based events.\r\n    else if (params.event_value === \'1\' && params_update.status === \'0\') {\r\n        var ticket_id = Zammad.createTicket(params.alert_subject,\r\n            params.alert_subject + \'\\n\' + params.alert_message + \'\\n\' +\r\n            params.zabbix_url + (params.zabbix_url.endsWith(\'/\') ? \'\' : \'/\') +\r\n            \'tr_events.php?triggerid=\' + params.trigger_id + \'&eventid=\' + params.event_id + \'\\n\',\r\n            priority);\r\n\r\n        result.tags.__zbx_zammad_ticket_id = ticket_id;\r\n        result.tags.__zbx_zammad_ticketlink = params.zammad_url +\r\n            (params.zammad_url.endsWith(\'/\') ? \'\' : \'/\') + \'#ticket/zoom/\' + ticket_id;\r\n\r\n        if (Zammad.params.enable_tags.toLowerCase() === \'true\') {\r\n            Zammad.setTicketTags(params.event_tags, ticket_id);\r\n        }\r\n    }\r\n    // Update created ticket for trigger-based event.\r\n    else {\r\n        Zammad.updateTicket(params.alert_subject, params.alert_message);\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Zammad Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_zammad_ticketlink}','Zammad: ticket #{EVENT.TAGS.__zbx_zammad_ticket_id}','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('20','4','Jira ServiceDesk','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Jira = {\r\n    params: {},\r\n    schema: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Jira.params = params;\r\n        if (typeof Jira.params.url === \'string\') {\r\n            if (!Jira.params.url.endsWith(\'/\')) {\r\n                Jira.params.url += \'/\';\r\n            }\r\n\r\n            Jira.params.url += \'rest/servicedeskapi/latest/\';\r\n        }\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        Jira.HTTPProxy = HTTPProxy;\r\n    },\r\n\r\n    setTags: function(event_tags_json) {\r\n        if (!Jira.schema) {\r\n            Zabbix.Log(4, \'[ Jira Service Desk Webhook ] Cannot add labels because failed to retrieve field schema.\');\r\n\r\n            return;\r\n        }\r\n\r\n        var block = Jira.schema.requestTypeFields.filter(function(object) {\r\n            return object.fieldId == \'labels\';\r\n        });\r\n\r\n        if (block[0] && typeof event_tags_json !== \'undefined\' && event_tags_json !== \'\'\r\n            && event_tags_json !== \'{EVENT.TAGSJSON}\') {\r\n            try {\r\n                var tags = JSON.parse(event_tags_json),\r\n                    label;\r\n\r\n                Jira.labels = [];\r\n\r\n                tags.forEach(function (tag) {\r\n                    if (typeof tag.tag !== \'undefined\' && typeof tag.value !== \'undefined\' ) {\r\n                        label = (tag.tag + (tag.value ? (\':\' + tag.value) : \'\')).replace(/\\s/g, \'_\');\r\n                        if (label.length < 255) {\r\n                            Jira.labels.push(label);\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n            catch (error) {\r\n                // Code is not missing here.\r\n            }\r\n        }\r\n    },\r\n\r\n    addCustomFields: function (data, fields) {\r\n        if (typeof fields === \'object\' && Object.keys(fields).length) {\r\n            if (Jira.schema) {\r\n                Object.keys(fields)\r\n                    .forEach(function(field) {\r\n                        data.requestFieldValues[field] = fields[field];\r\n\r\n                        var block = Jira.schema.requestTypeFields.filter(function(object) {\r\n                            return object.fieldId == field;\r\n                        });\r\n\r\n                        if (typeof block[0] === \'object\' && typeof block[0].jiraSchema === \'object\'\r\n                            && (block[0].jiraSchema.type === \'number\' || block[0].jiraSchema.type === \'datetime\')) {\r\n                            switch (block[0].jiraSchema.type) {\r\n                                case \'number\':\r\n                                    data.requestFieldValues[field] = parseInt(fields[field]);\r\n                                    break;\r\n\r\n                                case \'datetime\':\r\n                                    if (fields[field].match(/\\d+[.-]\\d+[.-]\\d+T\\d+:\\d+:\\d+/) !== null) {\r\n                                        data.requestFieldValues[field] = fields[field].replace(/\\./g, \'-\');\r\n                                    }\r\n                                    else {\r\n                                        delete data.requestFieldValues[field];\r\n                                    }\r\n                                    break;\r\n                            }\r\n                        }\r\n                    });\r\n            }\r\n            else {\r\n                Zabbix.Log(4, \'[ Jira Service Desk Webhook ] Cannot add custom fields\' +\r\n                    \'because failed to retrieve field schema.\');\r\n            }\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'user\', \'password\', \'servicedesk_id\', \'request_type_id\'].forEach(function (field) {\r\n            if (typeof Jira.params !== \'object\' || typeof Jira.params[field] === \'undefined\'\r\n                || Jira.params[field] === \'\' ) {\r\n                throw \'Required Jira param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Jira.params.url + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Authorization: Basic \' + btoa(Jira.params.user + \':\' + Jira.params.password));\r\n        request.AddHeader(\'X-ExperimentalApi: opt-in\');\r\n\r\n        if (typeof Jira.HTTPProxy !== \'undefined\' && Jira.HTTPProxy !== \'\') {\r\n            request.SetProxy(Jira.HTTPProxy);\r\n        }\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Service Desk Webhook ] Sending request: \' + url +\r\n            ((typeof data === \'string\') ? (\'\\n\' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ Jira Service Desk Webhook ] Received response with status code \' +\r\n            request.Status() + \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ Jira Service Desk Webhook ] Failed to parse response received from Jira\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.errors !== \'undefined\'\r\n                && Object.keys(response.errors).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errors);\r\n            }\r\n            else if (response !== null && typeof response.errorMessage !== \'undefined\'\r\n                && Object.keys(response.errorMessage).length > 0) {\r\n                message += \': \' + JSON.stringify(response.errorMessage);\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    getSchema: function() {\r\n        var result = Jira.request(\'get\', \'servicedesk/\' + Jira.params.servicedesk_id + \'/requesttype/\' +\r\n            Jira.params.request_type_id + \'/field\');\r\n\r\n        if (typeof Jira.schema !== \'object\' && typeof Jira.schema.requestTypeFields !== \'object\') {\r\n            Jira.schema = null;\r\n        }\r\n        else {\r\n            Jira.schema = result.response;\r\n        }\r\n    },\r\n\r\n    createRequest: function(summary, description, fields) {\r\n        var data = {\r\n            serviceDeskId: Jira.params.servicedesk_id,\r\n            requestTypeId: Jira.params.request_type_id,\r\n            requestFieldValues: {\r\n                summary: summary,\r\n                description: description\r\n            }\r\n        };\r\n\r\n        if (Jira.labels && Jira.labels.length > 0) {\r\n            data.requestFieldValues.labels = Jira.labels;\r\n        }\r\n        var result = Jira.request(\'post\', \'request\', Jira.addCustomFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\' || typeof result.response.issueKey === \'undefined\') {\r\n            throw \'Cannot create Jira request. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.issueKey;\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        fields = {},\r\n        jira = {},\r\n        comment = {public: true},\r\n        result = {tags: {}},\r\n        required_params = [\r\n            \'alert_subject\', \'alert_message\', \'event_source\', \'event_value\',\r\n            \'event_update_status\', \'event_recovery_value\'\r\n        ];\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'jira_\')) {\r\n                jira[key.substring(5)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'customfield_\')) {\r\n                fields[key] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key] === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_recovery_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    Jira.setParams(jira);\r\n    Jira.setProxy(params.HTTPProxy);\r\n    Jira.getSchema();\r\n    Jira.setTags(params.event_tags_json);\r\n\r\n    // Create request for non trigger-based events.\r\n    if (params.event_source !== \'0\' && params.event_recovery_value !== \'0\') {\r\n        Jira.createRequest(params.alert_subject, params.alert_message);\r\n    }\r\n    // Create request for trigger-based events.\r\n    else if (params.event_value === \'1\' && params.event_update_status === \'0\'\r\n        && jira.request_key === \'{EVENT.TAGS.__zbx_jira_requestkey}\') {\r\n        var key = Jira.createRequest(params.alert_subject, params.alert_message, fields);\r\n\r\n        result.tags.__zbx_jira_requestkey = key;\r\n        result.tags.__zbx_jira_requestlink = params.jira_url +\r\n            (params.jira_url.endsWith(\'/\') ? \'\' : \'/\') + \'browse/\' + key;\r\n    }\r\n    // Comment created request for trigger-based event.\r\n    else {\r\n        if (jira.request_key === \'{EVENT.TAGS.__zbx_jira_requestkey}\' || jira.request_key.trim() === \'\') {\r\n            throw \'Incorrect Request key given: \' + jira.request_key;\r\n        }\r\n        comment.body = params.alert_message;\r\n        Jira.request(\'post\', \'request/\' + Jira.params.request_key + \'/comment\', comment);\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ Jira Service Desk Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_jira_requestlink}','Jira ServiceDesk: {EVENT.TAGS.__zbx_jira_requestkey}','');
 INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('21','4','OTRS','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var OTRS = {\r\n    params: {},\r\n    entrypoint: \'nph-genericinterface.pl/Webservice/ZabbixTicketConnector/Ticket\',\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        OTRS.params = params;\r\n        if (typeof OTRS.params.url === \'string\') {\r\n            if (!OTRS.params.url.endsWith(\'/\')) {\r\n                OTRS.params.url += \'/\';\r\n            }\r\n        }\r\n    },\r\n\r\n    addDynamicFields: function (data, fields) {\r\n        if (typeof fields === \'object\' && Object.keys(fields).length) {\r\n            data.DynamicField = [];\r\n\r\n            Object.keys(fields)\r\n                .forEach(function(field) {\r\n                    if (field !== undefined) {\r\n                        if (fields[field].match(/^\\d{4}[.-]\\d{2}[.-]\\d{2}$/)) {\r\n                            fields[field] = fields[field].replace(/\\./g, \'-\');\r\n                        }\r\n\r\n                        data.DynamicField.push({Name: field, Value: fields[field]});\r\n                    }\r\n                });\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'url\', \'auth_user\', \'auth_password\', \'queue\',\r\n            \'customer\', \'ticket_state\', \'default_priority_id\', \'time_unit\'].forEach(function (field) {\r\n            if (typeof OTRS.params !== \'object\' || typeof OTRS.params[field] === \'undefined\'\r\n                || OTRS.params[field] === \'\' ) {\r\n                throw \'Required param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            request = new CurlHttpRequest(),\r\n            url = OTRS.params.url + query +\r\n                \'?UserLogin=\' + encodeURIComponent(OTRS.params.auth_user) +\r\n                \'&Password=\' + encodeURIComponent(OTRS.params.auth_password);\r\n\r\n        if (typeof OTRS.HTTPProxy !== \'undefined\' && OTRS.HTTPProxy.trim() !== \'\') {\r\n            request.SetProxy(OTRS.HTTPProxy);\r\n        }\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ OTRS Webhook ] Sending request: \' +\r\n            url + ((typeof data === \'string\') ? (\' \' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ OTRS Webhook ] Received response with status code \' + request.Status() + \': \' + response);\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            message += \': \' + response;\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ OTRS Webhook ] Failed to parse response received from OTRS\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (typeof response.Error !== \'undefined\'\r\n            && Object.keys(response.Error).length > 0) {\r\n            message = \'Request failed: \' + JSON.stringify(response.Error);\r\n        }\r\n\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    createTicket: function(subject, message, priority, fields) {\r\n        var result,\r\n            data = {\r\n                Ticket: {\r\n                    Title: subject,\r\n                    Queue: OTRS.params.queue,\r\n                    State: OTRS.params.ticket_state,\r\n                    PriorityID: priority || OTRS.params.default_priority_id,\r\n                    CustomerUser: OTRS.params.customer\r\n                },\r\n                Article: {\r\n                    Subject: subject,\r\n                    Body: message,\r\n                    TimeUnit: OTRS.params.time_unit,\r\n                    ContentType: \'text/plain; charset=utf8\'\r\n                }\r\n            };\r\n\r\n        result = OTRS.request(\'post\', OTRS.entrypoint, OTRS.addDynamicFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\'\r\n            || typeof result.response.TicketID === \'undefined\'\r\n            || result.status != 200) {\r\n            throw \'Cannot create OTRS ticket. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.TicketID;\r\n    },\r\n\r\n    updateTicket: function(subject, message) {\r\n        var result,\r\n            data = {\r\n                Article: {\r\n                    Subject: subject,\r\n                    Body: message || \'\',\r\n                    TimeUnit: OTRS.params.time_unit,\r\n                    ContentType: \'text/plain; charset=utf8\'\r\n                }\r\n            };\r\n\r\n        result = OTRS.request(\'put\', OTRS.entrypoint + \'/\' + encodeURIComponent(OTRS.params.ticket_id), data);\r\n\r\n        if (typeof result.response !== \'object\'\r\n            || typeof result.response.TicketID === \'undefined\'\r\n            || result.status != 200) {\r\n            throw \'Cannot update OTRS ticket. Check debug log for more information.\';\r\n        }\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        params_otrs = {},\r\n        params_fields = {},\r\n        params_update = {},\r\n        result = {tags: {}},\r\n        required_params = [\r\n            \'alert_subject\', \'event_source\',\r\n            \'event_value\',  \'event_update_status\'\r\n        ],\r\n        severities = [\r\n            {name: \'not_classified\', color: \'#97AAB3\'},\r\n            {name: \'information\', color: \'#7499FF\'},\r\n            {name: \'warning\', color: \'#FFC859\'},\r\n            {name: \'average\', color: \'#FFA059\'},\r\n            {name: \'high\', color: \'#E97659\'},\r\n            {name: \'disaster\', color: \'#E45959\'},\r\n            {name: \'resolved\', color: \'#009900\'},\r\n            {name: null, color: \'#000000\'}\r\n        ],\r\n        priority;\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'otrs_\')) {\r\n                params_otrs[key.substring(5)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'dynamicfield_\')) {\r\n                params_fields[key.substring(13)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                params_update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key].trim() === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_source === \'0\' && params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    if (params.event_source === \'0\'\r\n        && ((params.event_value === \'1\' && params.event_update_status === \'1\')\r\n            || (params.event_value === \'0\'\r\n                && (params.event_update_status === \'0\' || params.event_update_status === \'1\')))\r\n        && (isNaN(parseInt(params.otrs_ticket_id)) || parseInt(params.otrs_ticket_id) < 1 )) {\r\n        throw \'Incorrect "otrs_ticket_id" parameter given: \' + params.otrs_ticket_id +\r\n            \'\\nMust be positive integer.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'severity_\' + severities[params.event_nseverity].name];\r\n    priority = priority && priority.trim() || severities[7].name;\r\n\r\n    OTRS.setParams(params_otrs);\r\n    OTRS.HTTPProxy = params.HTTPProxy;\r\n\r\n    // Create ticket for non trigger-based events.\r\n    if (params.event_source !== \'0\'\r\n        && params.event_value !== \'0\') {\r\n        OTRS.createTicket(params.alert_subject, params.alert_message, priority);\r\n    }\r\n    // Create ticket for trigger-based events.\r\n    else if (params.event_value === \'1\' && params_update.status === \'0\') {\r\n        var ticket_id = OTRS.createTicket(params.alert_subject,\r\n            params.alert_subject + \'\\n\' + params.alert_message + \'\\n\' +\r\n            params.zabbix_url + (params.zabbix_url.endsWith(\'/\') ? \'\' : \'/\') +\r\n            \'tr_events.php?triggerid=\' + params.trigger_id + \'&eventid=\' + params.event_id + \'\\n\',\r\n            priority,\r\n            params_fields);\r\n\r\n        result.tags.__zbx_otrs_ticket_id = ticket_id;\r\n        result.tags.__zbx_otrs_ticketlink = params.otrs_url +\r\n            (params.otrs_url.endsWith(\'/\') ? \'\' : \'/\') + \'index.pl?Action=AgentTicketZoom;TicketID=\' + ticket_id;\r\n    }\r\n    // Update created ticket for trigger-based event.\r\n    else {\r\n        OTRS.updateTicket(params.alert_subject, params.alert_message);\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ OTRS Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_otrs_ticketlink}','OTRS: ticket #{EVENT.TAGS.__zbx_otrs_ticket_id}','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('22','4','iLert','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','try {\r\n    var result = { tags: {} },\r\n        params = JSON.parse(value),\r\n        req = new CurlHttpRequest(),\r\n        resp = \'\';\r\n\r\n    if (typeof params.HTTPProxy === \'string\' && params.HTTPProxy.trim() !== \'\') {\r\n        req.SetProxy(params.HTTPProxy);\r\n    }\r\n    var alertSourceKey = params[\'.ILERT.ALERT.SOURCE.KEY\'];\r\n    if (!alertSourceKey || (typeof alertSourceKey === \'string\' && alertSourceKey.trim() === \'\')) {\r\n        throw \'incorrect value for variable "ILERT.ALERT.SOURCE.KEY". The value must be a non-empty string.\';\r\n    }\r\n    delete params[\'.ILERT.ALERT.SOURCE.KEY\'];\r\n    \r\n    var ilertApiBaseURL = "https://api.ilert.com";\r\n    var reqURL = encodeURI(ilertApiBaseURL + "/api/v1/events/zabbix-mt/" + alertSourceKey)\r\n\r\n    var incidentKey = "zabbix-" + params[\'EVENT.ID\'];\r\n    var incidentViewURL = ilertApiBaseURL + "/api/v1/incidents/resolve-ik/" + alertSourceKey + "/" + incidentKey;\r\n\r\n    req.AddHeader(\'Accept: application/json\');\r\n    req.AddHeader(\'Content-Type: application/json\');\r\n\r\n    Zabbix.Log(4, \'[iLert Webhook] Sending request:\' + JSON.stringify(params));\r\n    resp = req.Post(reqURL, JSON.stringify(params));\r\n    Zabbix.Log(4, \'[iLert Webhook] Receiving response:\' + resp);\r\n\r\n    try {\r\n        resp = JSON.parse(resp);\r\n    }\r\n    catch (error) {\r\n        throw \'incorrect response. iLert returned a non-JSON object.\';\r\n    }\r\n\r\n    if (req.Status() == 200) {\r\n        result.tags.__ilert_incident_url = incidentViewURL;\r\n        return JSON.stringify(result);\r\n    }\r\n\r\n    if (req.Status() == 400 && typeof resp === \'object\' && typeof resp.code === \'string\') {\r\n        if (resp.code === \'NO_OPEN_INCIDENT_WITH_KEY\') {\r\n          return JSON.stringify(result);\r\n        }\r\n        if (resp.code === \'INCIDENT_ALREADY_ACCEPTED\') {\r\n          result.tags.__ilert_incident_url = incidentViewURL;\r\n          return JSON.stringify(result);\r\n        }\r\n    }\r\n\r\n    if (typeof resp === \'object\' && typeof resp.message === \'string\') {\r\n        throw resp.message;\r\n    }\r\n    else {\r\n        throw \'Unknown error.\';\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[iLert Webhook] Notification failed : \' + error);\r\n    throw \'iLert notification failed : \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__ilert_incident_url}','iLert incident','Please refer to https://docs.ilert.com/integration/zabbix \r\n  \r\nSet global macro {$ZABBIX.URL} with your Zabbix server URL.\r\nAdd a dedicated user with the media type "iLert". You can also rewrite the incident summary via ".ILERT.INCIDENT.SUMMARY" parameter or leave it empty to use the standard pattern.');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('23','4','SolarWinds Service Desk','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SolarWinds = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        SolarWinds.params = params;\r\n        SolarWinds.params.endpoint = \'https://api.samanage.com/\';\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        SolarWinds.HTTPProxy = HTTPProxy;\r\n    },\r\n\r\n    addCustomFields: function (data, fields) {\r\n        if (typeof data.incident === \'object\' && typeof fields === \'object\' && Object.keys(fields).length) {\r\n            if (typeof fields.sw_fields === \'object\' && Object.keys(fields.sw_fields).length) {\r\n                Object.keys(fields.sw_fields)\r\n                    .forEach(function(field) {\r\n                        try {\r\n                            data.incident[field] = JSON.parse(fields.sw_fields[field]);\r\n                        }\r\n                        catch (error) {\r\n                            data.incident[field] = fields.sw_fields[field];\r\n                        }\r\n                    });\r\n            }\r\n\r\n            if (typeof fields.sw_customfields === \'object\' && Object.keys(fields.sw_customfields).length) {\r\n                data.incident.custom_fields_values = {custom_fields_value: []};\r\n                Object.keys(fields.sw_customfields)\r\n                    .forEach(function(field) {\r\n                        data.incident.custom_fields_values.custom_fields_value.push({\r\n                            name: field,\r\n                            value: fields.sw_customfields[field]\r\n                        });\r\n                    });\r\n            }\r\n        }\r\n\r\n        return data;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'token\'].forEach(function (field) {\r\n            if (typeof SolarWinds.params !== \'object\' || typeof SolarWinds.params[field] === \'undefined\'\r\n                || SolarWinds.params[field] === \'\' ) {\r\n                throw \'Required SolarWinds param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = SolarWinds.params.endpoint + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'X-Samanage-Authorization: Bearer \' + SolarWinds.params.token);\r\n        request.AddHeader(\'Accept: application/vnd.samanage.v2.1+json\');\r\n\r\n        if (typeof SolarWinds.HTTPProxy !== \'undefined\' && SolarWinds.HTTPProxy !== \'\') {\r\n            request.SetProxy(SolarWinds.HTTPProxy);\r\n        }\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ SolarWinds SD Webhook ] Sending request: \' + url + ((typeof data === \'string\')\r\n            ? (\'\\n\' + data)\r\n            : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ SolarWinds SD Webhook ] Received response with status code \' + request.Status() +\r\n            \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ SolarWinds SD Webhook ] Failed to parse response received from SolarWinds\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null && typeof response.error !== \'undefined\'\r\n                && Object.keys(response.error).length > 0) {\r\n                message += \': \' + JSON.stringify(response.error);\r\n            }\r\n            else if (response !== null && typeof response === \'object\'\r\n                && Object.keys(response).length > 0) {\r\n                Object.keys(response)\r\n                    .forEach(function(field) {\r\n                        message += \'\\n\' + field + \': \' + response[field][0];\r\n                    });\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    createIncident: function(name, description, fields) {\r\n        var data = {\r\n            incident: {\r\n                name: name,\r\n                description: description,\r\n                priority: SolarWinds.params.priority\r\n            }\r\n        };\r\n\r\n        var result = SolarWinds.request(\'post\', \'incidents.json\', SolarWinds.addCustomFields(data, fields));\r\n\r\n        if (typeof result.response !== \'object\' || typeof result.response.id === \'undefined\') {\r\n            throw \'Cannot create SolarWinds incident. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.id;\r\n    },\r\n\r\n    updateIncident: function(name, fields, message) {\r\n        var data = {\r\n            incident: {\r\n                name: name,\r\n                priority: SolarWinds.params.priority\r\n            }\r\n        };\r\n\r\n        SolarWinds.request(\r\n            \'put\',\r\n            \'incidents/\' + SolarWinds.params.incident_id + \'.json\',\r\n            SolarWinds.addCustomFields(data, fields));\r\n\r\n        SolarWinds.commenIncident(message);\r\n    },\r\n\r\n    commenIncident: function(message) {\r\n        var data = {\r\n            comment: {\r\n                body: message\r\n            }\r\n        };\r\n\r\n        SolarWinds.request(\'post\', \'incidents/\' + SolarWinds.params.incident_id + \'/comments.json\', data);\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        fields = {},\r\n        samanage = {},\r\n        result = {tags: {}},\r\n        required_params = [\'alert_subject\', \'event_recovery_value\', \'event_source\', \'event_value\', \'priority_default\'],\r\n        severities = [\r\n            {name: \'not_classified\'},\r\n            {name: \'information\'},\r\n            {name: \'warning\'},\r\n            {name: \'average\'},\r\n            {name: \'high\'},\r\n            {name: \'disaster\'},\r\n            {name: \'resolved\'},\r\n            {name: \'default\'}\r\n        ];\r\n\r\n    fields.sw_fields = {};\r\n    fields.sw_customfields = {};\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'samanage_\')) {\r\n                samanage[key.substring(9)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'sw_field_\')) {\r\n                fields.sw_fields[key.substring(9)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'sw_customfield_\')) {\r\n                fields.sw_customfields[key.substring(15)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key] === \'\') {\r\n                throw \'Parameter "\' + key + \'" can\\\'t be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_update_status !== \'0\' && params.event_update_status !== \'1\' && params.event_source === \'0\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_recovery_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    samanage.priority = params[\'priority_\' + severities[params.event_nseverity].name] || params.priority_default;\r\n\r\n    SolarWinds.setParams(samanage);\r\n    SolarWinds.setProxy(params.HTTPProxy);\r\n\r\n    // Create incident for non trigger-based events.\r\n    if (params.event_source !== \'0\' && params.event_recovery_value !== \'0\') {\r\n        SolarWinds.createIncident(params.alert_subject, params.alert_message);\r\n    }\r\n    // Create incident for trigger-based events.\r\n    else if (params.event_value === \'1\' && params.event_update_status === \'0\'\r\n            && samanage.incident_id === \'{EVENT.TAGS.__zbx_solarwinds_inc_id}\') {\r\n        var key = SolarWinds.createIncident(params.alert_subject, params.alert_message, fields);\r\n\r\n\r\n        result.tags.__zbx_solarwinds_inc_id = key;\r\n        result.tags.__zbx_solarwinds_inc_link = params.samanage_url +\r\n            (params.samanage_url.endsWith(\'/\') ? \'\' : \'/\') + \'incidents/\' + key;\r\n    }\r\n    // Update created incident for trigger-based event.\r\n    else {\r\n        if (samanage.incident_id === \'{EVENT.TAGS.__zbx_solarwinds_inc_id}\' || samanage.incident_id === \'\') {\r\n            throw \'Incorrect incident key given: \' + samanage.incident_id;\r\n        }\r\n        if (!params.alert_message) {\r\n            throw \'Parameter "alert_message" can\\\'t be empty.\';\r\n        }\r\n        SolarWinds.updateIncident(params.alert_subject, fields, params.alert_message);\r\n    }\r\n\r\n    if (params.event_source === \'0\') {\r\n        return JSON.stringify(result);\r\n    }\r\n    else {\r\n        return \'OK\';\r\n    }\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ SolarWinds SD Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_solarwinds_inc_link}','SolarWinds incident ID: {EVENT.TAGS.__zbx_solarwinds_inc_id}','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('24','4','SysAid','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var SysAid = {\r\n    params: {},\r\n\r\n    setParams: function (params) {\r\n        var required = [\'url\', \'auth_user\', \'auth_password\', \'category_level_1\', \'category_level_2\',\r\n            \'category_level_3\', \'incident_id\', \'template_id\', \'urgency_id\', \'incident_state\',\r\n            \'default_priority_id\'\r\n        ];\r\n\r\n        required.forEach(function (field) {\r\n            if (typeof params !== \'object\' || typeof params[field] === \'undefined\' || params[field] === \'\') {\r\n                throw \'Required param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        SysAid.params = params;\r\n        if (typeof SysAid.params.url === \'string\' && !SysAid.params.url.endsWith(\'/\')) {\r\n            SysAid.params.url += \'/\';\r\n        }\r\n    },\r\n\r\n    login: function () {\r\n        var result = SysAid.request(\'post\', \'api/v1/login\', {\r\n            user_name: SysAid.params.auth_user,\r\n            password: SysAid.params.auth_password\r\n        });\r\n\r\n        return result.response.user.id;\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        var response,\r\n            request = SysAid.req || (SysAid.req = new CurlHttpRequest()),\r\n            url = SysAid.params.url + query;\r\n\r\n        if (typeof SysAid.HTTPProxy !== \'undefined\' && SysAid.HTTPProxy.trim() !== \'\') {\r\n            request.SetProxy(SysAid.HTTPProxy);\r\n        }\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ SysAid Webhook ] Sending request: \' +\r\n            url + ((typeof data === \'string\') ? (\' \' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ SysAid Webhook ] Received response with status code \' + request.Status() + \': \' + response);\r\n\r\n        if (request.Status() !== 200) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            message += \': \' + response;\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ SysAid Webhook ] Failed to parse response received from SysAid\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (response === null || (typeof response.Error !== \'undefined\' && Object.keys(response.Error).length > 0)) {\r\n            throw \'Request failed: \' + JSON.stringify(response.Error);\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    },\r\n\r\n    createIncident: function(subject, message, priority) {\r\n        var result = SysAid.request(\'post\', \'api/v1/sr/?template=\' + encodeURIComponent(SysAid.params.template_id), {\r\n            info: [\r\n                {\r\n                    key: \'problem_type\',\r\n                    value: [\r\n                        SysAid.params.category_level_1,\r\n                        SysAid.params.category_level_2,\r\n                        SysAid.params.category_level_3\r\n                    ].join(\'_\')\r\n                },\r\n                {\r\n                    key: \'title\',\r\n                    value: subject\r\n                },\r\n                {\r\n                    key: \'description\',\r\n                    value: message\r\n                },\r\n                {\r\n                    key: \'status\',\r\n                    value: \'1\'\r\n                },\r\n                {\r\n                    key: \'urgency\',\r\n                    value: SysAid.params.urgency_id\r\n                },\r\n                {\r\n                    key: \'priority\',\r\n                    value: priority || SysAid.params.default_priority_id,\r\n                }\r\n            ]\r\n        });\r\n\r\n        if (result.response.id === \'undefined\') {\r\n            throw \'Cannot create SysAid incident. Check debug log for more information.\';\r\n        }\r\n\r\n        return result.response.id;\r\n    },\r\n\r\n    updateTicket: function(note) {\r\n        var date = new Date().getTime();\r\n\r\n        SysAid.request(\'put\', \'api/v1/sr/\' + encodeURIComponent(SysAid.params.incident_id), {\r\n            id: SysAid.params.incident_id,\r\n            info: [\r\n                {\r\n                    key: \'update_time\',\r\n                    value: date\r\n                },\r\n                {\r\n                    key: \'notes\',\r\n                    value: [\r\n                        {\r\n                            userName: \'Zabbix\',\r\n                            createDate: date,\r\n                            text: note\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        });\r\n    }\r\n};\r\n\r\ntry {\r\n    var params = JSON.parse(value),\r\n        params_sysaid = {},\r\n        params_update = {},\r\n        result = {tags: {}},\r\n        required_params = [\'alert_subject\', \'event_source\', \'event_value\',  \'event_update_status\'],\r\n        severities = [\r\n            {name: \'not_classified\', color: \'#97AAB3\'},\r\n            {name: \'information\', color: \'#7499FF\'},\r\n            {name: \'warning\', color: \'#FFC859\'},\r\n            {name: \'average\', color: \'#FFA059\'},\r\n            {name: \'high\', color: \'#E97659\'},\r\n            {name: \'disaster\', color: \'#E45959\'},\r\n            {name: \'resolved\', color: \'#009900\'},\r\n            {name: null, color: \'#000000\'}\r\n        ],\r\n        priority;\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (key.startsWith(\'sysaid_\')) {\r\n                params_sysaid[key.substring(7)] = params[key];\r\n            }\r\n            else if (key.startsWith(\'event_update_\')) {\r\n                params_update[key.substring(13)] = params[key];\r\n            }\r\n            else if (required_params.indexOf(key) !== -1 && params[key].trim() === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n        });\r\n\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: \' + params.event_source + \'\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check {EVENT.VALUE} for trigger-based and internal events.\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check {EVENT.UPDATE.STATUS} only for trigger-based events.\r\n    if (params.event_source === \'0\' && params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    if (params.event_source !== \'0\' && params.event_value === \'0\') {\r\n        throw \'Recovery operations are supported only for trigger-based actions.\';\r\n    }\r\n\r\n    if (params.event_source === \'0\' && ((params.event_value === \'1\' && params.event_update_status === \'1\')\r\n            || (params.event_value === \'0\' && (params.event_update_status === \'0\' || params.event_update_status === \'1\')))\r\n            && (isNaN(parseInt(params.sysaid_incident_id)) || parseInt(params.sysaid_incident_id) < 1 )) {\r\n        throw \'Incorrect "sysaid_incident_id" parameter given: \' + params.sysaid_incident_id + \'\\nMust be positive integer.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'severity_\' + severities[params.event_nseverity].name];\r\n    priority = priority && priority.trim() || severities[7].name;\r\n\r\n    SysAid.setParams(params_sysaid);\r\n    SysAid.HTTPProxy = params.HTTPProxy;\r\n    SysAid.login();\r\n\r\n    if (params.event_source !== \'0\' && params.event_value !== \'0\') {\r\n        // Create ticket for non trigger-based events.\r\n        SysAid.createIncident(params.alert_subject, params.alert_message, priority);\r\n    }\r\n    else if (params.event_value === \'1\' && params_update.status === \'0\') {\r\n        // Create ticket for trigger-based events.\r\n        var incident_id = SysAid.createIncident(params.alert_subject, params.alert_subject + \'\\n\' + params.alert_message +\r\n                \'\\n\' + params.zabbix_url + (params.zabbix_url.endsWith(\'/\') ? \'\' : \'/\') + \'tr_events.php?triggerid=\' +\r\n                params.trigger_id + \'&eventid=\' + params.event_id + \'\\n\', priority\r\n        );\r\n\r\n        result.tags.__zbx_sysaid_incident_id = incident_id;\r\n        result.tags.__zbx_sysaid_incidentlink = params.sysaid_url +\r\n            (params.sysaid_url.endsWith(\'/\') ? \'\' : \'/\') + \'SREdit.jsp?id=\' + incident_id + \'&fromId=IncidentsList\';\r\n    }\r\n    else {\r\n        // Update created ticket for trigger-based event.\r\n        SysAid.updateTicket(params.alert_subject + \'\\n\' + params.alert_message);\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ SysAid Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_sysaid_incidentlink}','SysAid: incident #{EVENT.TAGS.__zbx_sysaid_incident_id}','');
+INSERT INTO `media_type` (`mediatypeid`,`type`,`name`,`smtp_server`,`smtp_helo`,`smtp_email`,`exec_path`,`gsm_modem`,`username`,`passwd`,`status`,`smtp_port`,`smtp_security`,`smtp_verify_peer`,`smtp_verify_host`,`smtp_authentication`,`exec_params`,`maxsessions`,`maxattempts`,`attempt_interval`,`content_type`,`script`,`timeout`,`process_tags`,`show_event_menu`,`event_menu_url`,`event_menu_name`,`description`) values ('25','4','TOPdesk','','','','','','','','0','25','0','0','0','0','','1','3','10s','1','var Media = {\r\n    params: {},\r\n    name: \'\',\r\n    labels: [],\r\n    HTTPProxy: \'\',\r\n\r\n    setParams: function (params) {\r\n        if (typeof params !== \'object\') {\r\n            return;\r\n        }\r\n\r\n        Media.params = params;\r\n        Media.params.api += Media.params.api.endsWith(\'/\') ? \'\' : \'/\';\r\n    },\r\n\r\n    setProxy: function (HTTPProxy) {\r\n        if (typeof HTTPProxy !== \'undefined\' && HTTPProxy.trim() !== \'\') {\r\n            Media.HTTPProxy = HTTPProxy;\r\n        }\r\n    },\r\n\r\n    request: function (method, query, data) {\r\n        [\'api\', \'token\'].forEach(function (field) {\r\n            if (typeof Media.params !== \'object\' || typeof Media.params[field] === \'undefined\'\r\n                    || Media.params[field] === \'\') {\r\n                throw \'Required \' + Media.name + \' param is not set: "\' + field + \'".\';\r\n            }\r\n        });\r\n\r\n        var response,\r\n            url = Media.params.api + query,\r\n            request = new CurlHttpRequest();\r\n\r\n        request.AddHeader(\'Content-Type: application/json\');\r\n        request.AddHeader(\'Accept: application/json\');\r\n        request.AddHeader(\'Authorization: \' + Media.params.token);\r\n        request.SetProxy(Media.HTTPProxy);\r\n\r\n        if (typeof data !== \'undefined\') {\r\n            data = JSON.stringify(data);\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Sending request: \' +\r\n            url + ((typeof data === \'string\') ? (\'\\n\' + data) : \'\'));\r\n\r\n        switch (method) {\r\n            case \'get\':\r\n                response = request.Get(url, data);\r\n                break;\r\n\r\n            case \'post\':\r\n                response = request.Post(url, data);\r\n                break;\r\n\r\n            case \'put\':\r\n                response = request.Put(url, data);\r\n                break;\r\n\r\n            default:\r\n                throw \'Unsupported HTTP request method: \' + method;\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Received response with status code \' +\r\n            request.Status() + \'\\n\' + response);\r\n\r\n        if (response !== null) {\r\n            try {\r\n                response = JSON.parse(response);\r\n            }\r\n            catch (error) {\r\n                Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Failed to parse response.\');\r\n                response = null;\r\n            }\r\n        }\r\n\r\n        if (request.Status() < 200 || request.Status() >= 300) {\r\n            var message = \'Request failed with status code \' + request.Status();\r\n\r\n            if (response !== null) {\r\n                if (typeof response.errors === \'object\' && Object.keys(response.errors).length > 0) {\r\n                    message += \': \' + JSON.stringify(response.errors);\r\n                }\r\n                else if (typeof response.errorMessages === \'object\' && Object.keys(response.errorMessages).length > 0) {\r\n                    message += \': \' + JSON.stringify(response.errorMessages);\r\n                }\r\n                else if (typeof response.message === \'string\') {\r\n                    message += \': \' + response.message;\r\n                }\r\n            }\r\n\r\n            throw message + \' Check debug log for more information.\';\r\n        }\r\n\r\n        return {\r\n            status: request.Status(),\r\n            response: response\r\n        };\r\n    }\r\n};\r\n\r\ntry {\r\n    var result = {tags: {}},\r\n        params = JSON.parse(value),\r\n        media = {},\r\n        fields = {},\r\n        resp = {},\r\n        required_params = [\r\n            \'alert_subject\',\r\n            \'alert_message\',\r\n            \'event_id\',\r\n            \'event_source\',\r\n            \'event_value\',\r\n            \'event_update_status\',\r\n            \'topdesk_api\',\r\n            \'topdesk_user\',\r\n            \'topdesk_password\'\r\n        ],\r\n        severities = [\r\n            \'not_classified\',\r\n            \'information\',\r\n            \'warning\',\r\n            \'average\',\r\n            \'high\',\r\n            \'disaster\',\r\n            \'resolved\',\r\n            \'default\'\r\n        ],\r\n        priority;\r\n\r\n    Object.keys(params)\r\n        .forEach(function (key) {\r\n            if (required_params.indexOf(key) !== -1 && params[key].trim() === \'\') {\r\n                throw \'Parameter "\' + key + \'" cannot be empty.\';\r\n            }\r\n            if (key.startsWith(\'topdesk_\')) {\r\n                media[key.substring(8)] = params[key];\r\n            }\r\n        });\r\n\r\n    // Possible values of event_source:\r\n    // 0 - Trigger, 1 - Discovery, 2 - Autoregistration, 3 - Internal.\r\n    if ([0, 1, 2, 3].indexOf(parseInt(params.event_source)) === -1) {\r\n        throw \'Incorrect "event_source" parameter given: "\' + params.event_source + \'".\\nMust be 0-3.\';\r\n    }\r\n\r\n    // Check event_value for trigger-based and internal events.\r\n    // Possible values: 1 for problem, 0 for recovering\r\n    if (params.event_value !== \'0\' && params.event_value !== \'1\'\r\n        && (params.event_source === \'0\' || params.event_source === \'3\')) {\r\n        throw \'Incorrect "event_value" parameter given: \' + params.event_value + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check event_update_status only for trigger-based events.\r\n    // Possible values: 0 - Webhook was called because of problem/recovery event, 1 - Update operation.\r\n    if (params.event_source === \'0\' && params.event_update_status !== \'0\' && params.event_update_status !== \'1\') {\r\n        throw \'Incorrect "event_update_status" parameter given: \' + params.event_update_status + \'\\nMust be 0 or 1.\';\r\n    }\r\n\r\n    // Check event_id for a numeric value.\r\n    if (isNaN(parseInt(params.event_id)) || params.event_id < 1) {\r\n        throw \'Incorrect "event_id" parameter given: \' + params.event_id + \'\\nMust be a positive number.\';\r\n    }\r\n\r\n    if ((params.event_source === \'1\' || params.event_source === \'2\')  && params.event_value === \'0\') {\r\n        throw \'Recovery operations are supported only for Trigger and Internal actions.\';\r\n    }\r\n\r\n    if ([0, 1, 2, 3, 4, 5].indexOf(parseInt(params.event_nseverity)) === -1) {\r\n        params.event_nseverity = \'7\';\r\n    }\r\n\r\n    if (params.event_value === \'0\') {\r\n        params.event_nseverity = \'6\';\r\n    }\r\n\r\n    priority = params[\'severity_\' + severities[params.event_nseverity]];\r\n    params.zbxurl = params.zbxurl + (params.zbxurl.endsWith(\'/\') ? \'\' : \'/\');\r\n\r\n    Media.name = \'TOPdesk\';\r\n    Media.setParams(media);\r\n    Media.params.token = \'Basic \' + btoa(Media.params.user + \':\' + Media.params.password);\r\n    Media.setProxy(params.HTTPProxy);\r\n\r\n    // Create an issue.\r\n    // Numeric value of the event that triggered an action (1 for problem, 0 for recovering).\r\n    // Numeric value of of the problem update status. Possible values:\r\n    // 0 - Webhook was called because of problem/recovery event, 1 - Update operation.\r\n    if ((params.event_source == 0 && params.event_value == 1 && params.event_update_status == 0)\r\n            || (params.event_source == 3 && params.event_value == 1)\r\n            || params.event_source == 1 || params.event_source == 2) {\r\n        Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Request of the ticket creating.\');\r\n        fields.caller = {dynamicName: \'Zabbix\'};\r\n        fields.briefDescription = params.alert_subject;\r\n        fields.request = params.alert_message.replace(/\\n/g, \'<br>\');\r\n        fields.priority = {name: priority};\r\n        fields.processingStatus = {name: Media.params.status};\r\n        fields.externalNumber = params.event_id;\r\n        fields.request += \'<br>\' + params.zbxurl;\r\n\r\n        if (params.event_source === \'0\') {\r\n            fields.request += \'tr_events.php?triggerid=\' + params.trigger_id + \'&eventid=\' + params.event_id;\r\n        }\r\n\r\n        resp = Media.request(\'post\', \'tas/api/incidents\', fields);\r\n        if (typeof resp.response !== \'object\' || typeof resp.response.id === \'undefined\') {\r\n            throw \'Cannot create \' + Media.name + \' issue. Check debug log for more information.\';\r\n        }\r\n\r\n        if (params.event_source == 0 && params.event_value == 1 && params.event_update_status == 0) {\r\n            result.tags.__zbx_tpd_issuekey = resp.response.number;\r\n            result.tags.__zbx_tpd_issuelink = Media.params.api +\r\n                \'tas/secure/incident?action=show&unid=\' + resp.response.id;\r\n        }\r\n    }\r\n    // Update a created issue.\r\n    else {\r\n        if (params.event_source == 3 && params.event_value == 0) {\r\n            throw \'Internal event recovery actions are not supported.\';\r\n        }\r\n\r\n        Zabbix.Log(4, \'[ \' + Media.name + \' Webhook ] Request of the ticket updating.\');\r\n        fields.action = params.alert_message.replace(/\\n/g, \'<br>\');\r\n\r\n        resp = Media.request(\'put\', \'tas/api/incidents/number/\' + Media.params.issue_key, fields);\r\n        if (typeof resp.response !== \'object\' || typeof resp.response.id === \'undefined\'\r\n                || resp.response.number !== Media.params.issue_key) {\r\n            throw \'Cannot update \' + Media.name + \' issue. Check debug log for more information.\';\r\n        }\r\n    }\r\n\r\n    return JSON.stringify(result);\r\n}\r\ncatch (error) {\r\n    Zabbix.Log(3, \'[ \' + Media.name + \' Webhook ] ERROR: \' + error);\r\n    throw \'Sending failed: \' + error;\r\n}','30s','1','1','{EVENT.TAGS.__zbx_tpd_issuelink}','TOPdesk: {EVENT.TAGS.__zbx_tpd_issuekey}','Please refer to https://developers.topdesk.com/documentation/index.html and https://www.zabbix.com/documentation/current/manual/config/notifications/media/webhook#example_scripts.\r\n  \r\nSet global macro {$ZABBIX.URL} with your Zabbix server URL.\r\nAdd a dedicated user with the media type "TOPdesk".\r\nChange the values of the variables topdesk_api (URL), topdesk_password, topdesk_user. The topdesk_status is the default status for creating a new TOPdesk ticket.');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('1','5','zabbix_url','{$ZABBIX.URL}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('2','5','bot_token','<YOUR BOT TOKEN>');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('3','5','mattermost_url','<YOUR MATTERMOST URL>');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('4','5','send_mode','alarm');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('5','5','send_to','{ALERT.SENDTO}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('6','5','event_tags','{EVENT.TAGS}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('7','5','event_name','{EVENT.NAME}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('8','5','event_nseverity','{EVENT.NSEVERITY}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('10','5','event_value','{EVENT.VALUE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('11','5','event_update_status','{EVENT.UPDATE.STATUS}');
@@ -51,31 +54,18 @@ INSERT INTO `media_type_param` (`mediaty
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('14','5','event_severity','{EVENT.SEVERITY}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('15','5','event_opdata','{EVENT.OPDATA}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('16','5','event_id','{EVENT.ID}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('17','5','event_update_message','{EVENT.UPDATE.MESSAGE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('18','5','trigger_id','{TRIGGER.ID}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('19','5','trigger_description','{TRIGGER.DESCRIPTION}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('20','5','host_name','{HOST.NAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('20','5','host_name','{HOST.HOST}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('21','5','host_ip','{HOST.IP}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('22','5','event_update_date','{EVENT.UPDATE.DATE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('23','5','event_update_time','{EVENT.UPDATE.TIME}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('24','5','event_recovery_date','{EVENT.RECOVERY.DATE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('25','5','event_recovery_time','{EVENT.RECOVERY.TIME}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('26','6','url','<put your opsgenie api url>');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('27','6','web','<put your opsgenie web url>');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('28','6','token','<put your key>');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('29','6','subject','{ALERT.SUBJECT}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('30','6','message','{ALERT.MESSAGE}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('31','6','eventid','{EVENT.ID}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('32','6','severity','{EVENT.NSEVERITY}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('33','6','user','{USER.FULLNAME}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('34','6','eventvalue','{EVENT.VALUE}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('35','6','eventupdate','{EVENT.UPDATE.STATUS}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('36','6','eventaction','{EVENT.UPDATE.ACTION}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('37','6','zbxurl','{$ZABBIX.URL}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('38','6','triggerid','{TRIGGER.ID}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('39','7','token','<put your key>');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('40','7','eventid','{EVENT.ID}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('41','7','eventname','{EVENT.NAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('41','7','eventname','{ALERT.SUBJECT}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('42','7','hostname','{HOST.NAME}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('43','7','hostip','{HOST.IP}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('44','7','severity','{EVENT.NSEVERITY}');
@@ -95,7 +85,6 @@ INSERT INTO `media_type_param` (`mediaty
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('59','8','title','{ALERT.SUBJECT}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('60','8','url','{$ZABBIX.URL}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('61','8','url_title','Zabbix');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('62','8','priority','0');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('63','8','eventid','{EVENT.ID}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('64','8','triggerid','{TRIGGER.ID}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('65','9','zabbix_url','{$ZABBIX.URL}');
@@ -104,7 +93,6 @@ INSERT INTO `media_type_param` (`mediaty
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('68','9','slack_mode','alarm');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('69','9','slack_as_user','true');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('71','9','event_tags','{EVENT.TAGS}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('72','9','event_name','{EVENT.NAME}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('73','9','event_nseverity','{EVENT.NSEVERITY}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('75','9','event_value','{EVENT.VALUE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('76','9','event_update_status','{EVENT.UPDATE.STATUS}');
@@ -113,11 +101,9 @@ INSERT INTO `media_type_param` (`mediaty
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('79','9','event_severity','{EVENT.SEVERITY}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('80','9','event_opdata','{EVENT.OPDATA}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('81','9','event_id','{EVENT.ID}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('82','9','event_update_message','{EVENT.UPDATE.MESSAGE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('83','9','trigger_id','{TRIGGER.ID}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('84','9','trigger_description','{TRIGGER.DESCRIPTION}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('85','9','host_name','{HOST.NAME}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('86','9','host_ip','{HOST.IP}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('85','9','host_name','{HOST.HOST}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('87','9','event_update_date','{EVENT.UPDATE.DATE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('88','9','event_update_time','{EVENT.UPDATE.TIME}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('89','9','event_recovery_date','{EVENT.RECOVERY.DATE}');
@@ -151,7 +137,7 @@ INSERT INTO `media_type_param` (`mediaty
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('117','8','endpoint','https://api.pushover.net/1/messages.json');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('118','8','retry','60');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('119','8','expire','1200');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('120','11','teamsecret','Your SIGNL4 Team Secret');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('120','11','teamsecret','{ALERT.SENDTO}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('121','11','Subject','{ALERT.SUBJECT}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('122','11','Message','{ALERT.MESSAGE}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('123','11','Severity','{EVENT.SEVERITY}');
@@ -340,7 +326,153 @@ INSERT INTO `media_type_param` (`mediaty
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('308','11','Trigger_ID','{TRIGGER.ID}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('309','11','Trigger_Status','{TRIGGER.STATUS}');
 INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('310','11','User','{USER.FULLNAME}');
-INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('311','11','Zabbix_URL','Your Zabbix URL');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('311','11','Zabbix_URL','{$ZABBIX.URL}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('312','10','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('313','22','.ILERT.ALERT.SOURCE.KEY','{ALERT.SENDTO}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('314','22','.ILERT.INCIDENT.SUMMARY','');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('315','22','ALERT.MESSAGE','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('316','22','ALERT.SUBJECT','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('317','22','EVENT.ACK.STATUS','{EVENT.ACK.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('318','22','EVENT.DATE','{EVENT.DATE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('319','22','EVENT.ID','{EVENT.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('320','22','EVENT.NAME','{EVENT.NAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('321','22','EVENT.NSEVERITY','{EVENT.NSEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('322','22','EVENT.OPDATA','{EVENT.OPDATA}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('323','22','EVENT.RECOVERY.DATE','{EVENT.RECOVERY.DATE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('324','22','EVENT.RECOVERY.TIME','{EVENT.RECOVERY.TIME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('325','22','EVENT.RECOVERY.VALUE','{EVENT.RECOVERY.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('326','22','EVENT.SEVERITY','{EVENT.SEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('327','22','EVENT.TAGS','{EVENT.TAGS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('328','22','EVENT.TIME','{EVENT.TIME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('329','22','EVENT.UPDATE.ACTION','{EVENT.UPDATE.ACTION}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('330','22','EVENT.UPDATE.DATE','{EVENT.UPDATE.DATE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('331','22','EVENT.UPDATE.MESSAGE','{EVENT.UPDATE.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('332','22','EVENT.UPDATE.STATUS','{EVENT.UPDATE.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('333','22','EVENT.UPDATE.TIME','{EVENT.UPDATE.TIME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('334','22','EVENT.VALUE','{EVENT.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('335','22','HOST.HOST','{HOST.HOST}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('336','22','HOST.IP','{HOST.IP}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('337','22','HOST.NAME','{HOST.NAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('338','22','ITEM.ID1','{ITEM.ID1}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('339','22','ITEM.ID2','{ITEM.ID2}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('340','22','ITEM.ID3','{ITEM.ID3}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('341','22','ITEM.ID4','{ITEM.ID4}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('342','22','ITEM.ID5','{ITEM.ID5}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('343','22','ITEM.NAME1','{ITEM.NAME1}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('344','22','ITEM.NAME2','{ITEM.NAME2}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('345','22','ITEM.NAME3','{ITEM.NAME3}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('346','22','ITEM.NAME4','{ITEM.NAME4}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('347','22','ITEM.NAME5','{ITEM.NAME5}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('348','22','TRIGGER.DESCRIPTION','{TRIGGER.DESCRIPTION}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('349','22','TRIGGER.ID','{TRIGGER.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('350','22','TRIGGER.NAME','{TRIGGER.NAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('351','22','TRIGGER.SEVERITY','{TRIGGER.SEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('352','22','TRIGGER.STATUS','{TRIGGER.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('353','22','TRIGGER.URL','{TRIGGER.URL}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('354','22','TRIGGER.VALUE','{TRIGGER.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('355','22','USER.FULLNAME','{USER.FULLNAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('356','22','ZABBIX.URL','{$ZABBIX.URL}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('357','5','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('358','5','alert_subject','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('359','5','discovery_host_dns','{DISCOVERY.DEVICE.DNS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('360','5','discovery_host_ip','{DISCOVERY.DEVICE.IPADDRESS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('361','5','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('362','6','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('363','6','alert_subject','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('364','6','event_id','{EVENT.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('365','6','event_nseverity','{EVENT.NSEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('366','6','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('367','6','event_tags_json','{EVENT.TAGSJSON}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('368','6','event_update_status','{EVENT.UPDATE.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('369','6','event_value','{EVENT.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('370','6','opsgenie_api','<put your opsgenie api>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('371','6','opsgenie_tags','');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('372','6','opsgenie_teams','');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('373','6','opsgenie_token','<put your token>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('374','6','opsgenie_web','<put your opsgenie web>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('375','6','severity_average','P3');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('376','6','severity_default','P5');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('377','6','severity_disaster','P1');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('378','6','severity_high','P2');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('379','6','severity_information','P5');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('380','6','severity_not_classified','P5');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('381','6','severity_warning','P4');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('382','6','trigger_id','{TRIGGER.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('383','6','zbxuser','{USER.FULLNAME}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('384','7','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('385','7','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('386','8','event_nseverity','{EVENT.NSEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('387','8','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('388','8','event_value','{EVENT.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('389','8','priority_average','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('390','8','priority_default','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('391','8','priority_disaster','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('392','8','priority_high','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('393','8','priority_information','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('394','8','priority_not_classified','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('395','8','priority_warning','0');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('396','9','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('397','9','alert_subject','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('398','9','discovery_host_dns','{DISCOVERY.DEVICE.DNS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('399','9','discovery_host_ip','{DISCOVERY.DEVICE.IPADDRESS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('400','9','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('401','9','host_conn','{HOST.CONN}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('402','23','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('403','23','alert_subject','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('404','23','event_nseverity','{EVENT.NSEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('405','23','event_recovery_value','{EVENT.RECOVERY.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('406','23','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('407','23','event_update_status','{EVENT.UPDATE.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('408','23','event_value','{EVENT.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('409','23','priority_average','Medium');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('410','23','priority_default','Low');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('411','23','priority_disaster','Critical');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('412','23','priority_high','High');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('413','23','samanage_incident_id','{EVENT.TAGS.__zbx_solarwinds_inc_id}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('414','23','samanage_token','<PUT YOUR TOKEN HERE>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('415','23','samanage_url','<PUT YOUR INSTANCE URL HERE>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('416','24','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('417','24','alert_subject','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('418','24','event_id','{EVENT.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('419','24','event_nseverity','{EVENT.NSEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('420','24','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('421','24','event_update_message','{EVENT.UPDATE.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('422','24','event_update_status','{EVENT.UPDATE.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('423','24','event_value','{EVENT.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('424','24','sysaid_auth_password','<PUT YOUR USER PASSWORD>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('425','24','sysaid_auth_user','<PUT YOUR USER NAME>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('426','24','sysaid_category_level_1','<PUT YOUR CATEGORY>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('427','24','sysaid_category_level_2','<PUT YOUR SUB-CATEGORY>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('428','24','sysaid_category_level_3','<PUT YOUR THIRD LEVEL CATEGORY>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('429','24','sysaid_default_priority_id','1');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('430','24','sysaid_incident_id','{EVENT.TAGS.__zbx_sysaid_incident_id}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('431','24','sysaid_incident_state','1');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('432','24','sysaid_template_id','<PUT YOUR TEMPLATE ID>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('433','24','sysaid_urgency_id','<PUT YOUR URGENCY ID>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('434','24','sysaid_url','<PUT YOUR SYSAID URL>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('435','24','trigger_id','{TRIGGER.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('436','24','zabbix_url','{$ZABBIX.URL}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('437','25','alert_message','{ALERT.MESSAGE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('438','25','alert_subject','{ALERT.SUBJECT}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('439','25','event_id','{EVENT.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('440','25','event_nseverity','{EVENT.NSEVERITY}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('441','25','event_source','{EVENT.SOURCE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('442','25','event_update_status','{EVENT.UPDATE.STATUS}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('443','25','event_value','{EVENT.VALUE}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('444','25','severity_average','P3');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('445','25','severity_default','P5');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('446','25','severity_disaster','P1');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('447','25','severity_high','P2');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('448','25','severity_information','P5');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('449','25','severity_not_classified','P5');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('450','25','severity_warning','P4');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('451','25','topdesk_api','<put your TOPdesk API URL>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('452','25','topdesk_issue_key','{EVENT.TAGS.__zbx_tpd_issuekey}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('453','25','topdesk_password','<put your TOPdesk application password>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('454','25','topdesk_status','<put default status for new tickets>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('455','25','topdesk_user','<put your TOPdesk username>');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('456','25','trigger_id','{TRIGGER.ID}');
+INSERT INTO `media_type_param` (`mediatype_paramid`,`mediatypeid`,`name`,`value`) values ('457','25','zbxurl','{$ZABBIX.URL}');
 INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('1','1','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
 INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('2','1','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
 INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('3','1','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
@@ -412,6 +544,54 @@ INSERT INTO `media_type_message` (`media
 INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('69','21','0','2','Updated problem: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, acknowledged: {EVENT.ACK.STATUS}.');
 INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('70','21','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
 INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('71','21','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('72','10','0','0','[{EVENT.STATUS}] {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('73','10','0','1','[{EVENT.STATUS}] {EVENT.NAME}','Problem has been resolved in {EVENT.DURATION} at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('74','10','0','2','[{EVENT.STATUS}] {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('75','10','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('76','10','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('77','22','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('78','22','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('79','22','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('80','5','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('81','5','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('82','5','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('83','5','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('84','5','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('85','6','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('86','6','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('87','6','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('88','6','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('89','6','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('90','7','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('91','7','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('92','7','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('93','7','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('94','7','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('95','8','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('96','8','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('97','8','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('98','8','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('99','8','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('100','9','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('101','9','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('102','9','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('103','9','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('104','9','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('105','23','0','0','[{EVENT.STATUS}] {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n\r\nTrigger description: {TRIGGER.DESCRIPTION}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('106','23','0','1','[{EVENT.STATUS}] {EVENT.NAME}','Problem has been resolved in {EVENT.DURATION} at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('107','23','0','2','[{EVENT.STATUS}] {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('108','23','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('109','23','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('110','24','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('111','24','0','1','Resolved: {EVENT.NAME}','Problem has been resolved in {EVENT.DURATION} at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('112','24','0','2','Updated problem: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('113','24','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('114','24','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('115','25','0','0','Problem: {EVENT.NAME}','Problem started at {EVENT.TIME} on {EVENT.DATE}\r\nProblem name: {EVENT.NAME}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOperational data: {EVENT.OPDATA}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('116','25','0','1','Resolved in {EVENT.DURATION}: {EVENT.NAME}','Problem has been resolved at {EVENT.RECOVERY.TIME} on {EVENT.RECOVERY.DATE}\r\nProblem name: {EVENT.NAME}\r\nProblem duration: {EVENT.DURATION}\r\nHost: {HOST.NAME}\r\nSeverity: {EVENT.SEVERITY}\r\nOriginal problem ID: {EVENT.ID}\r\n{TRIGGER.URL}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('117','25','0','2','Updated problem in {EVENT.AGE}: {EVENT.NAME}','{USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.\r\n{EVENT.UPDATE.MESSAGE}\r\n\r\nCurrent problem status is {EVENT.STATUS}, age is {EVENT.AGE}, acknowledged: {EVENT.ACK.STATUS}.');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('118','25','1','0','Discovery: {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.IPADDRESS}','Discovery rule: {DISCOVERY.RULE.NAME}\r\n\r\nDevice IP: {DISCOVERY.DEVICE.IPADDRESS}\r\nDevice DNS: {DISCOVERY.DEVICE.DNS}\r\nDevice status: {DISCOVERY.DEVICE.STATUS}\r\nDevice uptime: {DISCOVERY.DEVICE.UPTIME}\r\n\r\nDevice service name: {DISCOVERY.SERVICE.NAME}\r\nDevice service port: {DISCOVERY.SERVICE.PORT}\r\nDevice service status: {DISCOVERY.SERVICE.STATUS}\r\nDevice service uptime: {DISCOVERY.SERVICE.UPTIME}');
+INSERT INTO `media_type_message` (`mediatype_messageid`,`mediatypeid`,`eventsource`,`recovery`,`subject`,`message`) values ('119','25','2','0','Autoregistration: {HOST.HOST}','Host name: {HOST.HOST}\r\nHost IP: {HOST.IP}\r\nAgent port: {HOST.PORT}');
 INSERT INTO `usrgrp` (`usrgrpid`,`name`,`gui_access`,`users_status`,`debug_mode`) values ('7','Zabbix administrators','0','0','0');
 INSERT INTO `usrgrp` (`usrgrpid`,`name`,`gui_access`,`users_status`,`debug_mode`) values ('8','Guests','1','0','0');
 INSERT INTO `usrgrp` (`usrgrpid`,`name`,`gui_access`,`users_status`,`debug_mode`) values ('9','Disabled','0','1','0');
@@ -502,15 +682,13 @@ INSERT INTO `hosts` (`hostid`,`proxy_hos
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10101',NULL,'Template App SMTP Service','3','-1','2','','','Template App SMTP Service','0',NULL,'','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10102',NULL,'Template App SSH Service','3','-1','2','','','Template App SSH Service','0',NULL,'','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10103',NULL,'Template App Telnet Service','3','-1','2','','','Template App Telnet Service','0',NULL,'','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10169',NULL,'Template App Generic Java JMX','3','-1','2','','','Template App Generic Java JMX','0',NULL,'','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10169',NULL,'Template App Generic Java JMX','3','-1','2','','','Template App Generic Java JMX','0',NULL,'Template tooling version used: 0.38','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10170',NULL,'Template DB MySQL','3','-1','2','','','Template DB MySQL','0',NULL,'Requirements for template operation:\r\n1.Install Zabbix agent and MySQL client.\r\n2.Copy Template_DB_MySQL.conf into folder with Zabbix agent configuration (/etc/zabbix/zabbix_agentd.d/ by default). Don\'t forget restart zabbix-agent. \r\n3.Create MySQL user for monitoring. For example:\r\nCREATE USER \'zbx_monitor\'@\'%\' IDENTIFIED BY \'<password>\';\r\nGRANT USAGE,REPLICATION CLIENT,PROCESS,SHOW DATABASES,SHOW VIEW ON *.* TO \'zbx_monitor\'@\'%\';\r\nFor more information read the MYSQL documentation https://dev.mysql.com/doc/refman/8.0/en/grant.html , please. \r\n4.Create .my.cnf in home directory of Zabbix agent for Linux (/var/lib/zabbix by default ) or my.cnf in c:\\ for Windows. For example:\r\n[client]\r\nuser=zbx_monitor\r\npassword=<password>','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10171',NULL,'Template Server Intel SR1530 IPMI','3','-1','2','','','Template Server Intel SR1530 IPMI','0',NULL,'','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10172',NULL,'Template Server Intel SR1630 IPMI','3','-1','2','','','Template Server Intel SR1630 IPMI','0',NULL,'','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10173',NULL,'Template VM VMware','3','-1','2','','','Template VM VMware','0',NULL,'','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10174',NULL,'Template VM VMware Guest','3','-1','2','','','Template VM VMware Guest','0',NULL,'','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10175',NULL,'Template VM VMware Hypervisor','3','-1','2','','','Template VM VMware Hypervisor','0',NULL,'','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10176',NULL,'{#HV.UUID}','0','-1','2','','','{#HV.NAME}','2',NULL,'','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10177',NULL,'{#VM.UUID}','0','-1','2','','','{#VM.NAME}','2',NULL,'','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10173',NULL,'Template VM VMware','3','-1','2','','','Template VM VMware','0',NULL,'You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/\r\n\r\nTemplate tooling version used: 0.38','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10174',NULL,'Template VM VMware Guest','3','-1','2','','','Template VM VMware Guest','0',NULL,'Template tooling version used: 0.38','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10175',NULL,'Template VM VMware Hypervisor','3','-1','2','','','Template VM VMware Hypervisor','0',NULL,'Template tooling version used: 0.38','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10183',NULL,'Template Module EtherLike-MIB SNMP','3','-1','2','','','Template Module EtherLike-MIB SNMP','0',NULL,'Template EtherLike-MIB (duplex control only)\r\n\r\nMIBs used:\r\nEtherLike-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10185',NULL,'Template Module HOST-RESOURCES-MIB SNMP','3','-1','2','','','Template Module HOST-RESOURCES-MIB SNMP','0',NULL,'HOST-RESOURCES-MIB: CPU, memory and storage(vfs.fs.file) linked together.\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10186',NULL,'Template Module ICMP Ping','3','-1','2','','','Template Module ICMP Ping','0',NULL,'Template Module ICMP Ping\r\n\r\nTemplate tooling version used: 0.34','1','1','','','','','','1','0');
@@ -539,7 +717,7 @@ INSERT INTO `hosts` (`hostid`,`proxy_hos
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10229',NULL,'Template Net Huawei VRP SNMP','3','-1','2','','','Template Net Huawei VRP SNMP','0',NULL,'Template Net Huawei VRP\r\n\r\nMIBs used:\r\nHUAWEI-ENTITY-EXTENT-MIB\r\nENTITY-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10230',NULL,'Template Net Intel_Qlogic Infiniband SNMP','3','-1','2','','','Template Net Intel_Qlogic Infiniband SNMP','0',NULL,'Template Net Intel_Qlogic Infiniband\r\n\r\nMIBs used:\r\nICS-CHASSIS-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10231',NULL,'Template Net Juniper SNMP','3','-1','2','','','Template Net Juniper SNMP','0',NULL,'Template Net Juniper\r\n\r\nMIBs used:\r\nJUNIPER-ALARM-MIB\r\nJUNIPER-MIB\r\nSNMPv2-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10233',NULL,'Template Net Mikrotik SNMP','3','-1','2','','','Template Net Mikrotik SNMP','0',NULL,'Template Net Mikrotik\r\n\r\nMIBs used:\r\nHOST-RESOURCES-MIB\r\nMIKROTIK-MIB\r\n\r\nKnown Issues:\r\n\r\n  Description: Doesn\'t have ifHighSpeed filled. fixed in more recent versions\r\n  Version: RouterOS 6.28 or lower\r\n\r\n  Description: Doesn\'t have any temperature sensors\r\n  Version: RouterOS 6.38.5\r\n  Device: Mikrotik 941-2nD, Mikrotik 951G-2HnD\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10233',NULL,'Template Net Mikrotik SNMP','3','-1','2','','','Template Net Mikrotik SNMP','0',NULL,'Template Net Mikrotik\r\n\r\nMIBs used:\r\nHOST-RESOURCES-MIB\r\nMIKROTIK-MIB\r\n\r\nKnown Issues:\r\n\r\n  Description: Doesn\'t have ifHighSpeed filled. fixed in more recent versions\r\n  Version: RouterOS 6.28 or lower\r\n\r\n  Description: Doesn\'t have any temperature sensors\r\n  Version: RouterOS 6.38.5\r\n  Device: Mikrotik 941-2nD, Mikrotik 951G-2HnD\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10234',NULL,'Template Net Netgear Fastpath SNMP','3','-1','2','','','Template Net Netgear Fastpath SNMP','0',NULL,'Template Net Netgear Fastpath\r\n\r\nMIBs used:\r\nFASTPATH-SWITCHING-MIB\r\nFASTPATH-BOXSERVICES-PRIVATE-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10235',NULL,'Template Net QTech QSW SNMP','3','-1','2','','','Template Net QTech QSW SNMP','0',NULL,'Template Net QTech QSW\r\n\r\nMIBs used:\r\nQTECH-MIB\r\nENTITY-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10236',NULL,'Template Net TP-LINK SNMP','3','-1','2','','','Template Net TP-LINK SNMP','0',NULL,'Template Net TP-LINK JetStream\r\n\r\nMIBs used:\r\nTPLINK-SYSINFO-MIB\r\nTPLINK-SYSMONITOR-MIB\r\n\r\nKnown Issues:\r\n\r\n  Description: default sysLocation, sysName and sysContact is not filled with proper data. Real hostname and location can be found only in private branch(TPLINK-SYSINFO-MIB). Please check whether this problem exists in the latest firware: http://www.tp-linkru.com/download/T2600G-28TS.html#Firmware\r\n  Version: 2.0.0 Build 20170628 Rel.55184(Beta)\r\n  Device: T2600G-28TS 2.0\r\n\r\n  Description: The Serial number of the product(tpSysInfoSerialNum) is missing in HW versions prior to V2_170323\r\n  Version: prior to version V2_170323\r\n  Device: T2600G-28TS 2.0\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
@@ -561,8 +739,8 @@ INSERT INTO `hosts` (`hostid`,`proxy_hos
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10263',NULL,'Template DB PostgreSQL','3','-1','2','','','Template DB PostgreSQL','0',NULL,'','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10264',NULL,'Template App Apache by Zabbix agent','3','-1','2','','','Template App Apache by Zabbix agent','0',NULL,'Get metrics from mod_status module using HTTP agent.\r\nhttps://httpd.apache.org/docs/current/mod/mod_status.html\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384764-discussion-thread-for-official-zabbix-template-apache\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10265',NULL,'Template App Apache by HTTP','3','-1','2','','','Template App Apache by HTTP','0',NULL,'Get metrics from mod_status module using HTTP agent.\r\nhttps://httpd.apache.org/docs/current/mod/mod_status.html\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384764-discussion-thread-for-official-zabbix-template-apache\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10266',NULL,'Template App Nginx by Zabbix agent','3','-1','2','','','Template App Nginx by Zabbix agent','0',NULL,'Get metrics from stub status module using Zabbix agent running on Linux\r\nhttps://nginx.ru/en/docs/http/ngx_http_stub_status_module.html\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384765-discussion-thread-for-official-zabbix-template-nginx\r\n\r\nTemplate tooling version used: 0.34','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10267',NULL,'Template App Nginx by HTTP','3','-1','2','','','Template App Nginx by HTTP','0',NULL,'Get metrics from stub status module using HTTP agent\r\nhttps://nginx.ru/en/docs/http/ngx_http_stub_status_module.html.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384765-discussion-thread-for-official-zabbix-template-nginx\r\n\r\nTemplate tooling version used: 0.34','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10266',NULL,'Template App Nginx by Zabbix agent','3','-1','2','','','Template App Nginx by Zabbix agent','0',NULL,'Get metrics from stub status module using Zabbix agent running on Linux\r\nhttps://nginx.ru/en/docs/http/ngx_http_stub_status_module.html\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384765-discussion-thread-for-official-zabbix-template-nginx\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10267',NULL,'Template App Nginx by HTTP','3','-1','2','','','Template App Nginx by HTTP','0',NULL,'Get metrics from stub status module using HTTP agent\r\nhttps://nginx.ru/en/docs/http/ngx_http_stub_status_module.html.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384765-discussion-thread-for-official-zabbix-template-nginx\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10268',NULL,'Template Module Linux memory SNMP','3','-1','2','','','Template Module Linux memory SNMP','0',NULL,'MIBs used:\r\nUCD-SNMP-MIB\r\n\r\nKnown Issues:\r\n\r\n  Description: Please note that memory utilization is a rough estimate, since memory available is calculated as free+buffers+cached, which is not 100% accurate, but the best we can get using SNMP.\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10269',NULL,'Template Module Linux block devices SNMP','3','-1','2','','','Template Module Linux block devices SNMP','0',NULL,'MIBs used:\r\nUCD-DISKIO-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10270',NULL,'Template Module Linux CPU SNMP','3','-1','2','','','Template Module Linux CPU SNMP','0',NULL,'MIBs used:\r\nHOST-RESOURCES-MIB\r\nUCD-SNMP-MIB\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
@@ -612,22 +790,27 @@ INSERT INTO `hosts` (`hostid`,`proxy_hos
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10317',NULL,'Template DB MySQL by ODBC','3','-1','2','','','Template DB MySQL by ODBC','0',NULL,'Requirements for template operation:\r\n1.Create MySQL user for monitoring. For example:\r\nCREATE USER \'zbx_monitor\'@\'%\' IDENTIFIED BY \'<password>\';\r\nGRANT USAGE,REPLICATION CLIENT,PROCESS,SHOW DATABASES,SHOW VIEW ON *.* TO \'zbx_monitor\'@\'%\';\r\nFor more information read the MYSQL documentation https://dev.mysql.com/doc/refman/8.0/en/grant.html , please. \r\n2. Set the user name and password in host macros ({$MYSQL.USER} and {$MYSQL.PASSWORD}).\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384189-discussion-thread-for-official-zabbix-template-db-mysql\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10318',NULL,'Template App Docker','3','-1','2','','','Template App Docker','0',NULL,'Get Docker engine metrics from plugin for the New Zabbix Agent (zabbix-agent2).\r\n\r\nYou can discuss this template or leave feedback on our forum \r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10319',NULL,'Template App Memcached','3','-1','2','','','Template App Memcached','0',NULL,'Get Memcached metrics from plugin for the New Zabbix Agent (zabbix-agent2).\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/398623-discussion-thread-for-official-zabbix-template-memcached\r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10320',NULL,'Template DB MySQL by Zabbix agent 2','3','-1','2','','','Template DB MySQL by Zabbix agent 2','0',NULL,'Requirements for template operation:\r\n1. Create MySQL user for monitoring. For example:\r\nCREATE USER \'zbx_monitor\'@\'%\' IDENTIFIED BY \'<password>\';\r\nGRANT USAGE,REPLICATION CLIENT,PROCESS,SHOW DATABASES,SHOW VIEW ON *.* TO \'zbx_monitor\'@\'%\';\r\nFor more information please read the MYSQL documentation https://dev.mysql.com/doc/refman/8.0/en/grant.html.\r\n2. Set in the {$MYSQL.DSN} macro the data source name of the MySQL instance either session name from Zabbix agent 2 configuration file or URI <protocol(host:port or /path/to/socket)/>.\r\nExamples: MySQL1, tcp://localhost:3306, tcp://172.16.0.10, unix:/var/run/mysql.sock\r\nFor more information about MySQL Unix socket file please read the MySQL documentation https://dev.mysql.com/doc/refman/8.0/en/problems-with-mysql-sock.html.\r\n3. If you had set URI in the {$MYSQL.DSN}, please define the user name and password in host macros ({$MYSQL.USER} and {$MYSQL.PASSWORD}).\r\nLeave macros {$MYSQL.USER} and {$MYSQL.PASSWORD} empty if you use a session name. Set the user name and password in the Plugins.Mysql.<...> section of your Zabbix agent 2 configuration file.\r\nFor more information about configuring the Zabbix MySQL plugin please read the documentation https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/go/plugins/mysql/README.md.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384189-discussion-thread-for-official-zabbix-template-db-mysql\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10321',NULL,'Template Server Chassis by IPMI','3','-1','2','','','Template Server Chassis by IPMI','0',NULL,'Template for monitoring servers with BMC over IPMI that work without any external scripts. \r\nAll metrics are collected at once, thanks to Zabbix\'s bulk data collection. The template is available starting from Zabbix version 5.0. \r\nIt collects metrics by polling BMC remotely using an IPMI agent.\r\n\r\n\r\nKnown Issues:\r\n\r\n  Description: If the BMC has a sensor with an empty threshold value, we get the LLD error "Cannot create trigger...".\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/398023-discussion-thread-for-official-zabbix-template-ipmi\r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10320',NULL,'Template DB MySQL by Zabbix agent 2','3','-1','2','','','Template DB MySQL by Zabbix agent 2','0',NULL,'Requirements for template operation:\r\n1. Create MySQL user for monitoring. For example:\r\nCREATE USER \'zbx_monitor\'@\'%\' IDENTIFIED BY \'<password>\';\r\nGRANT USAGE,REPLICATION CLIENT,PROCESS,SHOW DATABASES,SHOW VIEW ON *.* TO \'zbx_monitor\'@\'%\';\r\nFor more information please read the MYSQL documentation https://dev.mysql.com/doc/refman/8.0/en/grant.html.\r\n2. Set in the {$MYSQL.DSN} macro the data source name of the MySQL instance either session name from Zabbix agent 2 configuration file or URI.\r\nExamples: MySQL1, tcp://localhost:3306, tcp://172.16.0.10, unix:/var/run/mysql.sock\r\nFor more information about MySQL Unix socket file please read the MySQL documentation https://dev.mysql.com/doc/refman/8.0/en/problems-with-mysql-sock.html.\r\n3. If you had set URI in the {$MYSQL.DSN}, please define the user name and password in host macros ({$MYSQL.USER} and {$MYSQL.PASSWORD}).\r\nLeave macros {$MYSQL.USER} and {$MYSQL.PASSWORD} empty if you use a session name. Set the user name and password in the Plugins.Mysql.<...> section of your Zabbix agent 2 configuration file.\r\nFor more information about configuring the Zabbix MySQL plugin please read the documentation https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/go/plugins/mysql/README.md.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/384189-discussion-thread-for-official-zabbix-template-db-mysql\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10321',NULL,'Template Server Chassis by IPMI','3','-1','2','','','Template Server Chassis by IPMI','0',NULL,'Template for monitoring servers with BMC over IPMI that work without any external scripts. \r\nAll metrics are collected at once, thanks to Zabbix\'s bulk data collection. The template is available starting from Zabbix version 5.0. \r\nIt collects metrics by polling BMC remotely using an IPMI agent.\r\n\r\n\r\nKnown Issues:\r\n\r\n  Description: If the BMC has a sensor with an empty threshold value, we get the LLD error "Cannot create trigger...".\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/398023-discussion-thread-for-official-zabbix-template-ipmi\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10322',NULL,'Template App Elasticsearch Cluster by HTTP','3','-1','2','','','Template App Elasticsearch Cluster by HTTP','0',NULL,'The template to monitor Elasticsearch by Zabbix that work without any external scripts.\r\nIt works with both standalone and cluster instances.\r\nThe metrics are collected in one pass remotely using an HTTP agent. \r\nThey are getting values from REST API _cluster/health, _cluster/stats, _nodes/stats requests.\r\nYou can set {$ELASTICSEARCH.USERNAME} and {$ELASTICSEARCH.PASSWORD} macros in the template for using on the host level.\r\nIf you use an atypical location ES API, don\'t forget to change the macros {$ELASTICSEARCH.SCHEME},{$ELASTICSEARCH.PORT}.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/399473-discussion-thread-for-official-zabbix-template-for-elasticsearch\r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10323',NULL,'Template DB ClickHouse by HTTP','3','-1','2','','','Template DB ClickHouse by HTTP','0',NULL,'Get node metrics from ClickHouse HTTP interface using HTTP agent.\r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10324',NULL,'Template App Etcd by HTTP','3','-1','2','','','Template App Etcd by HTTP','0',NULL,'Get Etcd metrics by HTTP agent.\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10325',NULL,'Template App IIS by Zabbix agent','3','-1','2','','','Template App IIS by Zabbix agent','0',NULL,'Get metrics from IIS using Zabbix agent running on Windows\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/401862-discussion-thread-for-official-zabbix-template-internet-information-services\r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10326',NULL,'Template App IIS by Zabbix agent active','3','-1','2','','','Template App IIS by Zabbix agent active','0',NULL,'Get metrics from IIS using Zabbix agent running on Windows\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/401862-discussion-thread-for-official-zabbix-template-internet-information-services\r\n\r\nTemplate tooling version used: 0.35','1','1','','','','','','1','0');
-INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10327',NULL,'Template DB MSSQL by ODBC','3','-1','2','','','Template DB MSSQL by ODBC','0',NULL,'1. Create an MSSQL user for monitoring.\r\n  View Server State and View Any Definition permissions should be granted to the user.\r\n  For more information please see the MSSQL documentation.\r\n2. Set the user name and password in host macros ({$MSSQL.USER} and {$MSSQL.PASSWORD}).\r\n  Do not forget to install the Microsoft ODBC driver on the Zabbix server or the Zabbix proxy.\r\n  See Microsoft documentation for instructions: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15.\r\n  Note! Credentials in the odbc.ini do not work for MSSQL.\r\nThe "Service\'s TCP port state" item uses {HOST.CONN} and {$MSSQL.PORT} macros to check the availability of the MSSQL instance.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/\r\n\r\nTemplate tooling version used: 0.36','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10327',NULL,'Template DB MSSQL by ODBC','3','-1','2','','','Template DB MSSQL by ODBC','0',NULL,'1. Create an MSSQL user for monitoring.\r\n  View Server State and View Any Definition permissions should be granted to the user.\r\n  For more information please see the MSSQL documentation.\r\n2. Set the user name and password in host macros ({$MSSQL.USER} and {$MSSQL.PASSWORD}).\r\n  Do not forget to install the Microsoft ODBC driver on the Zabbix server or the Zabbix proxy.\r\n  See Microsoft documentation for instructions: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15.\r\n  Note! Credentials in the odbc.ini do not work for MSSQL.\r\n3. For named instance set the value of {$MSSQL.INSTANCE} macro as MSSQL$instance name, please.\r\nThe "Service\'s TCP port state" item uses {HOST.CONN} and {$MSSQL.PORT} macros to check the availability of the MSSQL instance.\r\n\r\n\r\nYou can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/\r\n\r\nTemplate tooling version used: 0.38','1','1','','','','','','1','0');
 INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10328',NULL,'Template DB PostgreSQL Agent 2','3','-1','2','','','Template DB PostgreSQL Agent 2','0',NULL,'Template tooling version used: 0.37','1','1','','','','','','1','0');
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('163','10176','{#CLUSTER.NAME}',NULL,NULL);
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('164','10176','{#DATACENTER.NAME}',NULL,NULL);
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('165','10176','','7',NULL);
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('166','10177','{#CLUSTER.NAME} (vm)',NULL,NULL);
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('167','10177','{#DATACENTER.NAME} (vm)',NULL,NULL);
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('168','10177','{#HV.NAME}',NULL,NULL);
-INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('169','10177','','6',NULL);
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10329',NULL,'Template DB Oracle by ODBC','3','-1','2','','','Template DB Oracle by ODBC','0',NULL,'1. Create an Oracle user for monitoring.\r\n\r\n2. Set the user name and password in host macros ({$ORACLE.USER} and {$ORACLE.PASSWORD}).\r\n  Do not forget to install the Microsoft ODBC driver on the Zabbix server or the Zabbix proxy.\r\n  See Oracle documentation for instructions: https://www.oracle.com/database/technologies/releasenote-odbc-ic.html.\r\n\r\n  Note! Credentials in the odbc.ini do not work for Oracle.\r\n  Note! Be sure that ODBC connects to Oracle with session parameter NLS_NUMERIC_CHARACTERS= \'.,\' It is important for correct display float numbers in Zabbix.\r\nThe "Service\'s TCP port state" item uses {HOST.CONN} and {$ORACLE.PORT} macros to check the availability of the listener.\r\n\r\n\r\nTemplate tooling version used: 0.37','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10330',NULL,'Template VM VMware macros','3','-1','2','','','Template VM VMware macros','0',NULL,'Template tooling version used: 0.38','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10331',NULL,'{#HV.UUID}','0','-1','2','','','{#HV.NAME}','2',NULL,'','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10332',NULL,'{#VM.UUID}','0','-1','2','','','{#VM.NAME}','2',NULL,'','1','1','','','','','','1','0');
+INSERT INTO `hosts` (`hostid`,`proxy_hostid`,`host`,`status`,`ipmi_authtype`,`ipmi_privilege`,`ipmi_username`,`ipmi_password`,`name`,`flags`,`templateid`,`description`,`tls_connect`,`tls_accept`,`tls_issuer`,`tls_subject`,`tls_psk_identity`,`tls_psk`,`proxy_address`,`auto_compress`,`discover`) values ('10333',NULL,'Template DB Oracle by Zabbix Agent 2','3','-1','2','','','Template DB Oracle by Zabbix Agent 2','0',NULL,'Template tooling version used: 0.37','1','1','','','','','','1','0');
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('1','10331','{#CLUSTER.NAME}',NULL,NULL);
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('2','10331','{#DATACENTER.NAME}',NULL,NULL);
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('3','10331','','12',NULL);
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('4','10332','{#CLUSTER.NAME} (vm)',NULL,NULL);
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('5','10332','{#DATACENTER.NAME} (vm)',NULL,NULL);
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('6','10332','{#HV.NAME}',NULL,NULL);
+INSERT INTO `group_prototype` (`group_prototypeid`,`hostid`,`name`,`groupid`,`templateid`) values ('7','10332','','12',NULL);
 INSERT INTO `screens` (`screenid`,`name`,`hsize`,`vsize`,`templateid`,`userid`,`private`) values ('3','System performance','2','7','10001',NULL,'0');
 INSERT INTO `screens` (`screenid`,`name`,`hsize`,`vsize`,`templateid`,`userid`,`private`) values ('4','Zabbix server health','2','3','10047',NULL,'0');
 INSERT INTO `screens` (`screenid`,`name`,`hsize`,`vsize`,`templateid`,`userid`,`private`) values ('5','System performance','2','2','10076',NULL,'0');
@@ -685,219 +868,219 @@ INSERT INTO `screens_items` (`screenitem
 INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('1957','20','0','859','750','200','1','1','1','1','0','0','0','0','','0','0','','3');
 INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('1958','20','0','861','750','200','0','2','1','1','0','0','0','0','','0','0','','3');
 INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('1959','20','0','864','750','200','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3363','25','0','1174','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3364','25','0','1176','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3365','25','20','1172','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3366','25','20','1173','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3367','25','0','1175','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3368','26','0','838','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3369','26','0','839','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3370','26','20','836','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3371','26','20','837','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3372','26','0','840','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3373','59','0','1125','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3374','59','0','1129','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3375','59','0','1128','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3376','59','0','1126','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3377','59','0','1127','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3378','48','20','1075','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3379','49','20','1078','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3380','49','20','1076','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3381','49','20','1079','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3382','49','20','1077','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3383','50','20','1080','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3384','51','20','1081','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3385','52','20','1084','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3386','52','20','1082','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3387','52','20','1085','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3388','52','20','1083','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3389','53','20','1086','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3390','27','0','841','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3391','27','0','843','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3392','27','0','842','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3393','28','0','845','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3394','28','0','847','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3395','28','0','846','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3396','38','0','1029','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3397','38','0','1027','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3398','38','0','1030','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3399','38','0','1028','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3400','38','0','1031','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3401','39','0','1011','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3402','39','0','1012','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3403','39','0','1008','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3404','39','0','1009','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3405','39','0','1007','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3406','39','0','1010','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3407','40','0','1018','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3408','40','0','1016','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3409','40','0','1019','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3410','40','0','1017','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3411','40','0','1020','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3412','41','0','1025','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3413','41','0','1026','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3414','41','0','1022','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3415','41','0','1023','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3416','41','0','1021','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3417','41','0','1024','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3418','22','0','806','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3419','22','0','804','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3420','22','0','805','500','100','0','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3421','22','0','803','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3422','21','0','802','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3423','21','0','799','500','100','1','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3424','21','0','800','500','114','0','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3425','21','0','798','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3426','21','0','797','500','160','0','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3427','21','0','801','500','160','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3428','17','0','532','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3429','17','0','530','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3430','17','0','531','500','100','0','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3431','17','0','529','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3432','4','0','392','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3433','4','0','404','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3434','4','0','406','500','114','0','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3435','4','0','410','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3436','4','0','527','500','160','0','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3437','4','0','788','500','160','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3438','5','0','469','500','148','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3439','5','0','471','500','100','1','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3440','5','0','498','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3441','5','0','540','500','100','1','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3442','7','0','463','500','120','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3443','7','0','462','500','106','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3444','7','0','541','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3445','7','0','464','500','300','1','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3446','6','0','475','500','114','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3447','6','0','474','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3448','6','0','542','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3449','18','0','487','750','100','0','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3450','18','0','543','750','100','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3451','9','0','457','500','120','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3452','9','0','456','500','106','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3453','9','0','544','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3454','9','0','458','500','300','1','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3455','9','1','22838','500','100','0','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3456','9','1','22837','500','100','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3457','10','0','481','500','114','0','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3458','10','0','480','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3459','10','0','545','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3460','10','0','482','500','300','1','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3461','10','1','22998','500','100','0','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3462','10','1','22997','500','100','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3463','57','0','1112','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3464','57','0','1113','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3465','57','0','1110','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3466','57','0','1109','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3467','57','0','1111','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3468','57','0','1114','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3469','60','0','1139','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3470','60','0','1140','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3471','60','0','1137','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3472','60','0','1136','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3473','60','0','1138','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3474','60','0','1141','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3475','58','0','1118','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3476','58','0','1119','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3477','58','0','1116','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3478','58','0','1115','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3479','58','0','1117','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3480','58','0','1120','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3481','23','20','821','500','200','0','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3482','23','20','816','500','200','1','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3483','23','20','814','500','200','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3484','23','20','820','500','200','1','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3485','23','20','817','500','200','0','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3486','23','20','815','500','200','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3487','23','20','818','500','200','0','3','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3488','23','20','819','500','200','1','3','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3489','24','0','824','500','200','0','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3490','24','0','827','500','200','1','0','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3491','24','0','825','500','200','0','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3492','24','0','828','500','200','1','1','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3493','24','0','826','500','200','0','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3494','24','0','829','500','200','1','2','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3495','24','0','822','500','200','0','3','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3496','24','0','823','500','200','1','3','1','1','0','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3497','61','20','1212','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3498','61','20','1210','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3499','61','20','1213','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3500','61','20','1211','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3501','54','0','1091','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3502','54','0','1095','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3503','54','0','1092','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3504','54','0','1094','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3505','54','0','1099','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3506','54','0','1100','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3507','54','0','1101','500','100','0','3','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3508','54','0','1102','500','100','1','3','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3509','54','20','1090','500','100','0','4','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3510','55','0','1093','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3511','55','0','1098','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3512','55','0','1096','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3513','55','0','1097','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3514','47','0','1071','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3515','47','20','1061','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3516','47','20','1066','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3517','45','20','741','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3518','43','20','745','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3519','46','20','766','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3520','3','0','903','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3521','3','0','909','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3522','3','0','918','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3523','3','0','921','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3524','3','20','888','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3525','3','20','1218','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3526','3','20','1215','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3527','3','20','1221','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3528','3','20','900','500','100','0','6','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3529','30','20','899','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3530','31','20','934','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3531','32','0','937','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3532','32','0','941','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3533','32','0','947','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3534','32','0','949','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3535','32','20','927','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3536','32','20','1226','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3537','32','20','1224','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3538','32','20','1228','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3539','32','20','935','500','100','0','6','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3540','33','0','957','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3541','33','0','959','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3542','33','0','962','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3543','33','0','963','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3544','33','20','953','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3545','33','20','954','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3546','33','20','955','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3547','33','20','956','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3548','33','20','952','500','100','0','6','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3549','34','20','952','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3550','29','0','881','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3551','29','20','869','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3552','29','0','877','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3553','29','0','879','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3554','29','20','873','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3555','29','20','867','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3556','29','19','29033','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3557','29','20','865','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3558','19','0','977','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3559','19','1','29485','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3560','19','0','979','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3561','19','0','981','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3562','19','20','965','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3563','19','20','1230','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3564','19','20','1232','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3565','19','20','971','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3566','35','20','970','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3567','36','20','988','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3568','37','0','995','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3569','37','1','29592','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3570','37','0','997','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3571','37','0','999','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3572','37','20','983','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3573','37','20','1234','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3574','37','20','1236','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
-INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('3575','37','20','989','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4002','25','0','1174','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4003','25','0','1176','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4004','25','20','1172','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4005','25','20','1173','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4006','25','0','1175','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4007','26','0','838','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4008','26','0','839','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4009','26','20','836','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4010','26','20','837','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4011','26','0','840','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4012','59','0','1125','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4013','59','0','1129','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4014','59','0','1128','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4015','59','0','1126','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4016','59','0','1127','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4017','48','20','1075','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4018','49','20','1078','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4019','49','20','1076','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4020','49','20','1079','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4021','49','20','1077','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4022','50','20','1080','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4023','51','20','1081','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4024','52','20','1084','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4025','52','20','1082','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4026','52','20','1085','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4027','52','20','1083','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4028','53','20','1086','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4029','27','0','841','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4030','27','0','843','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4031','27','0','842','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4032','28','0','845','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4033','28','0','847','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4034','28','0','846','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4035','38','0','1029','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4036','38','0','1027','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4037','38','0','1030','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4038','38','0','1028','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4039','38','0','1031','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4040','39','0','1011','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4041','39','0','1012','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4042','39','0','1008','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4043','39','0','1009','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4044','39','0','1007','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4045','39','0','1010','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4046','40','0','1018','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4047','40','0','1016','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4048','40','0','1019','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4049','40','0','1017','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4050','40','0','1020','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4051','41','0','1025','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4052','41','0','1026','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4053','41','0','1022','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4054','41','0','1023','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4055','41','0','1021','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4056','41','0','1024','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4057','22','0','806','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4058','22','0','804','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4059','22','0','805','500','100','0','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4060','22','0','803','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4061','21','0','802','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4062','21','0','799','500','100','1','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4063','21','0','800','500','114','0','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4064','21','0','798','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4065','21','0','797','500','160','0','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4066','21','0','801','500','160','1','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4067','17','0','532','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4068','17','0','530','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4069','17','0','531','500','100','0','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4070','17','0','529','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4071','4','0','392','500','212','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4072','4','0','404','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4073','4','0','406','500','114','0','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4074','4','0','410','500','128','1','1','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4075','4','0','527','500','160','0','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4076','4','0','788','500','160','1','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4077','5','0','469','500','148','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4078','5','0','471','500','100','1','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4079','5','0','498','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4080','5','0','540','500','100','1','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4081','7','0','463','500','120','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4082','7','0','462','500','106','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4083','7','0','541','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4084','7','0','464','500','300','1','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4085','6','0','475','500','114','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4086','6','0','474','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4087','6','0','542','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4088','18','0','487','750','100','0','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4089','18','0','543','750','100','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4090','9','0','457','500','120','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4091','9','0','456','500','106','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4092','9','0','544','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4093','9','0','458','500','300','1','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4094','9','1','22838','500','100','0','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4095','9','1','22837','500','100','1','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4096','10','0','481','500','114','0','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4097','10','0','480','500','100','1','0','1','1','0','1','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4098','10','0','545','500','100','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4099','10','0','482','500','300','1','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4100','10','1','22998','500','100','0','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4101','10','1','22997','500','100','1','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4102','57','0','1112','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4103','57','0','1113','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4104','57','0','1110','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4105','57','0','1109','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4106','57','0','1111','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4107','57','0','1114','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4108','60','0','1139','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4109','60','0','1140','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4110','60','0','1137','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4111','60','0','1136','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4112','60','0','1138','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4113','60','0','1141','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4114','58','0','1118','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4115','58','0','1119','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4116','58','0','1116','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4117','58','0','1115','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4118','58','0','1117','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4119','58','0','1120','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4120','23','20','821','500','200','0','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4121','23','20','816','500','200','1','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4122','23','20','814','500','200','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4123','23','20','820','500','200','1','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4124','23','20','817','500','200','0','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4125','23','20','815','500','200','1','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4126','23','20','818','500','200','0','3','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4127','23','20','819','500','200','1','3','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4128','24','0','824','500','200','0','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4129','24','0','827','500','200','1','0','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4130','24','0','825','500','200','0','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4131','24','0','828','500','200','1','1','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4132','24','0','826','500','200','0','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4133','24','0','829','500','200','1','2','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4134','24','0','822','500','200','0','3','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4135','24','0','823','500','200','1','3','1','1','0','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4136','61','20','1212','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4137','61','20','1210','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4138','61','20','1213','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4139','61','20','1211','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4140','54','0','1091','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4141','54','0','1095','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4142','54','0','1092','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4143','54','0','1094','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4144','54','0','1099','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4145','54','0','1100','500','100','1','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4146','54','0','1101','500','100','0','3','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4147','54','0','1102','500','100','1','3','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4148','54','20','1090','500','100','0','4','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4149','55','0','1093','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4150','55','0','1098','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4151','55','0','1096','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4152','55','0','1097','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4153','47','0','1071','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4154','47','20','1061','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4155','47','20','1066','500','100','0','2','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4156','45','20','741','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4157','43','20','745','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4158','46','20','766','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4159','3','0','903','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4160','3','0','909','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4161','3','0','918','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4162','3','0','921','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4163','3','20','888','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4164','3','20','1218','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4165','3','20','1215','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4166','3','20','1221','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4167','3','20','900','500','100','0','6','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4168','30','20','899','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4169','31','20','934','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4170','32','0','937','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4171','32','0','941','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4172','32','0','947','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4173','32','0','949','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4174','32','20','927','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4175','32','20','1226','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4176','32','20','1224','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4177','32','20','1228','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4178','32','20','935','500','100','0','6','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4179','33','0','957','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4180','33','0','959','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4181','33','0','962','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4182','33','0','963','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4183','33','20','953','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4184','33','20','954','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4185','33','20','955','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4186','33','20','956','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4187','33','20','952','500','100','0','6','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4188','34','20','952','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4189','29','0','881','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4190','29','20','869','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4191','29','0','877','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4192','29','0','879','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4193','29','20','873','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4194','29','20','867','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4195','29','19','29033','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4196','29','20','865','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4197','19','0','977','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4198','19','1','29485','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4199','19','0','979','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4200','19','0','981','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4201','19','20','965','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4202','19','20','1230','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4203','19','20','1232','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4204','19','20','1247','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4205','35','20','1246','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4206','36','20','1248','750','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4207','37','0','995','500','100','0','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4208','37','1','29592','500','100','1','0','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4209','37','0','997','500','100','0','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4210','37','0','999','500','100','1','1','1','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4211','37','20','983','500','100','0','2','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4212','37','20','1234','500','100','0','3','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4213','37','20','1236','500','100','0','4','2','1','25','0','0','0','','0','0','','3');
+INSERT INTO `screens_items` (`screenitemid`,`screenid`,`resourcetype`,`resourceid`,`width`,`height`,`x`,`y`,`colspan`,`rowspan`,`elements`,`valign`,`halign`,`style`,`url`,`dynamic`,`sort_triggers`,`application`,`max_columns`) values ('4214','37','20','1249','500','100','0','5','2','1','25','0','0','0','','0','0','','3');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('179','10047','Zabbix server','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('253','10074','CPU','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('254','10074','Filesystems','0');
@@ -967,14 +1150,6 @@ INSERT INTO `applications` (`application
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('454','10101','SMTP service','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('455','10102','SSH service','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('456','10103','Telnet service','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('732','10169','Classes','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('733','10169','Compilation','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('734','10169','Garbage collector','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('735','10169','Memory','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('736','10169','Memory pool','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('737','10169','Operating system','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('738','10169','Runtime','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('739','10169','Threads','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('740','10170','MySQL','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('741','10171','Fans','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('742','10171','Temperature','0');
@@ -982,23 +1157,6 @@ INSERT INTO `applications` (`application
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('744','10172','Fans','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('745','10172','Temperature','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('746','10172','Voltage','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('747','10173','Clusters','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('748','10173','General','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('749','10173','Log','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('750','10174','CPU','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('751','10174','Disks','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('752','10174','Filesystems','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('753','10174','General','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('754','10174','Interfaces','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('755','10174','Memory','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('756','10174','Network','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('757','10174','Storage','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('758','10175','CPU','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('759','10175','Datastore','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('760','10175','General','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('761','10175','Hardware','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('762','10175','Memory','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('763','10175','Network','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('771','10183','Network interfaces','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('780','10186','Status','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('782','10188','Network interfaces','0');
@@ -1243,7 +1401,6 @@ INSERT INTO `applications` (`application
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1109','10260','Tomcat','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1110','10261','Zabbix server','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1111','10262','Zabbix proxy','0');
-INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1112','10173','Datastore','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1114','10263','PostgreSQL','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1115','10263','Zabbix raw items','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1116','10264','Apache','0');
@@ -1455,6 +1612,15 @@ INSERT INTO `applications` (`application
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1336','10327','Zabbix raw items','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1337','10328','PostgreSQL','0');
 INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1338','10328','Zabbix raw items','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1339','10329','Oracle','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1340','10329','Zabbix raw items','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1341','10169','JMX','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1342','10173','VMware','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1343','10174','VMware','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1344','10175','VMware','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1345','10333','Oracle','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1346','10333','Zabbix raw items','0');
+INSERT INTO `applications` (`applicationid`,`hostid`,`name`,`flags`) values ('1347','10233','Wireless','0');
 INSERT INTO `interface` (`interfaceid`,`hostid`,`main`,`type`,`useip`,`ip`,`dns`,`port`) values ('1','10084','1','1','1','127.0.0.1','','10050');
 INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('1','Service state');
 INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('2','Host availability');
@@ -1567,6 +1733,15 @@ INSERT INTO `valuemaps` (`valuemapid`,`n
 INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('109','MSSQL Mirroring Role');
 INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('110','MSSQL Safety level');
 INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('111','MSSQL Witness state');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('112','Oracle DB open status');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('113','Oracle DB role');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('114','Oracle instance status');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('115','Oracle instance role');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('116','Oracle archiver state');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('117','Oracle tablespace status');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('118','Oracle Archivelog status');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('119','Oracle force log status');
+INSERT INTO `valuemaps` (`valuemapid`,`name`) values ('120','Oracle log mode');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('10061','5','','10047','Number of processed numeric (float) values per second','zabbix[wcache,values,float]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','0','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('10062','5','','10047','Number of processed character values per second','zabbix[wcache,values,str]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','0','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('10063','5','','10047','Number of processed log values per second','zabbix[wcache,values,log]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','0','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -1847,61 +2022,6 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('25370','5','','10047','Utilization of alert manager internal processes, in %','zabbix[process,alert manager,avg,busy]','1m','1w','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('25665','5','','10047','Utilization of preprocessing manager internal processes, in %','zabbix[process,preprocessing manager,avg,busy]','1m','1w','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','0','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('25666','5','','10047','Utilization of preprocessing worker internal processes, in %','zabbix[process,preprocessing worker,avg,busy]','1m','1w','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','0','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26856','16','','10169','mp PS Old Gen max','jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26857','16','','10169','mp PS Old Gen committed','jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26858','16','','10169','mp PS Old Gen used','jmx["java.lang:type=MemoryPool,name=PS Old Gen",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26859','16','','10169','mp PS Perm Gen committed','jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26860','16','','10169','mp PS Perm Gen max','jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26861','16','','10169','mp Perm Gen used','jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26862','16','','10169','mp Perm Gen max','jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26863','16','','10169','mp Code Cache committed','jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26864','16','','10169','mp CMS Perm Gen used','jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26865','16','','10169','mp Code Cache max','jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26866','16','','10169','mp Code Cache used','jmx["java.lang:type=MemoryPool,name=Code Cache",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26867','16','','10169','mp Perm Gen committed','jmx["java.lang:type=MemoryPool,name=Perm Gen",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26868','16','','10169','mp PS Perm Gen used','jmx["java.lang:type=MemoryPool,name=PS Perm Gen",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26869','16','','10169','mp Tenured Gen committed','jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26870','16','','10169','th Daemon Thread Count','jmx["java.lang:type=Threading",DaemonThreadCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26871','16','','10169','jvm Version','jmx["java.lang:type=Runtime",VmVersion]','1h','1w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26872','16','','10169','th Peak Thread Count','jmx["java.lang:type=Threading",PeakThreadCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26873','16','','10169','th Thread Count','jmx["java.lang:type=Threading",ThreadCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26874','16','','10169','th Total Started Thread Count','jmx["java.lang:type=Threading",TotalStartedThreadCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26875','16','','10169','jvm Name','jmx["java.lang:type=Runtime",VmName]','1h','1w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26876','16','','10169','jvm Uptime','jmx["java.lang:type=Runtime",Uptime]','1m','1w','365d','0','3','','uptime','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26877','16','','10169','mp Tenured Gen used','jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26878','16','','10169','mp Tenured Gen max','jmx["java.lang:type=MemoryPool,name=Tenured Gen",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26879','16','','10169','os Max File Descriptor Count','jmx["java.lang:type=OperatingSystem",MaxFileDescriptorCount]','1h','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26880','16','','10169','os Open File Descriptor Count','jmx["java.lang:type=OperatingSystem",OpenFileDescriptorCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26881','16','','10169','os Process CPU Load','jmx["java.lang:type=OperatingSystem",ProcessCpuLoad]','1m','1w','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26882','16','','10169','mp CMS Perm Gen max','jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26883','16','','10169','mp CMS Perm Gen committed','jmx["java.lang:type=MemoryPool,name=CMS Perm Gen",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26884','16','','10169','gc MarkSweepCompact number of collections per second','jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact",CollectionCount]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26885','16','','10169','gc Copy accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=Copy",CollectionTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26886','16','','10169','gc MarkSweepCompact accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact",CollectionTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26887','16','','10169','gc ParNew number of collections per second','jmx["java.lang:type=GarbageCollector,name=ParNew",CollectionCount]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26888','16','','10169','gc ParNew accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=ParNew",CollectionTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26889','16','','10169','gc Copy number of collections per second','jmx["java.lang:type=GarbageCollector,name=Copy",CollectionCount]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26890','16','','10169','gc ConcurrentMarkSweep accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep",CollectionTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26891','16','','10169','cl Unloaded Class Count','jmx["java.lang:type=ClassLoading",UnloadedClassCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26892','16','','10169','cl Total Loaded Class Count','jmx["java.lang:type=ClassLoading",TotalLoadedClassCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26893','16','','10169','comp Name of the current JIT compiler','jmx["java.lang:type=Compilation",Name]','1h','1w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26894','16','','10169','comp Accumulated time spent in compilation','jmx["java.lang:type=Compilation",TotalCompilationTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26895','16','','10169','gc ConcurrentMarkSweep number of collections per second','jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep",CollectionCount]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26896','16','','10169','gc PS MarkSweep number of collections per second','jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionCount]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26897','16','','10169','gc PS MarkSweep accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=PS MarkSweep",CollectionTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26898','16','','10169','mem Object Pending Finalization Count','jmx["java.lang:type=Memory",ObjectPendingFinalizationCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26899','16','','10169','mem Non-Heap Memory used','jmx["java.lang:type=Memory",NonHeapMemoryUsage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26900','16','','10169','mp CMS Old Gen committed','jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26901','16','','10169','mp CMS Old Gen max','jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26902','16','','10169','mp CMS Old Gen used','jmx["java.lang:type=MemoryPool,name=CMS Old Gen",Usage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26903','16','','10169','mem Non-Heap Memory max','jmx["java.lang:type=Memory",NonHeapMemoryUsage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26904','16','','10169','mem Non-Heap Memory committed','jmx["java.lang:type=Memory",NonHeapMemoryUsage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26905','16','','10169','gc PS Scavenge accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionTime]','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26906','16','','10169','gc PS Scavenge number of collections per second','jmx["java.lang:type=GarbageCollector,name=PS Scavenge",CollectionCount]','1m','1w','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26907','16','','10169','mem Heap Memory committed','jmx["java.lang:type=Memory",HeapMemoryUsage.committed]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26908','16','','10169','mem Heap Memory max','jmx["java.lang:type=Memory",HeapMemoryUsage.max]','1h','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26909','16','','10169','mem Heap Memory used','jmx["java.lang:type=Memory",HeapMemoryUsage.used]','1m','1w','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26910','16','','10169','cl Loaded Class Count','jmx["java.lang:type=ClassLoading",LoadedClassCount]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26925','12','','10171','Power','power','1m','1w','365d','0','3','','','','',NULL,NULL,'','power','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26926','12','','10171','Processor Vcc','processor_vcc','1m','1w','365d','0','0','','V','','',NULL,NULL,'','Processor Vcc','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26927','12','','10171','System Fan 3','system_fan_3','1m','1w','365d','0','0','','RPM','','',NULL,NULL,'','System Fan 3','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -1921,73 +2041,6 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26941','12','','10172','BB +1.5V P1 DDR3','bb_1.5v_p1_ddr3','1m','1w','365d','0','0','','V','','',NULL,NULL,'','BB +1.5V P1 DDR3','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26942','12','','10172','BB +3.3V','bb_3.3v','1m','1w','365d','0','0','','V','','',NULL,NULL,'','BB +3.3V','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26943','12','','10172','Baseboard Temp','baseboard_temp','1m','1w','365d','0','0','','C','','',NULL,NULL,'','Baseboard Temp','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26944','3','','10173','Version','vmware.version[{$URL}]','1h','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26945','3','','10173','Full name','vmware.fullname[{$URL}]','1h','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26946','3','','10173','Event log','vmware.eventlog[{$URL},skip]','1m','90d','0','0','2','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26947','3','','10174','Memory size','vmware.vm.memory.size[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Total size of configured memory.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26948','3','','10174','Host memory usage','vmware.vm.memory.size.usage.host[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of host physical memory allocated to the VM, accounting for saving from memory sharing with other VMs.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26949','3','','10174','Guest memory usage','vmware.vm.memory.size.usage.guest[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of guest physical memory that is being used by the VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26950','3','','10174','Power state','vmware.vm.powerstate[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','','','',NULL,'12','','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The current power state of the virtual machine.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26951','3','','10174','Committed storage space','vmware.vm.storage.committed[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Total storage space, in bytes, committed to this virtual machine across all datastores.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26952','3','','10174','Uptime','vmware.vm.uptime[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','uptime','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'System uptime.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26953','3','','10174','Unshared storage space','vmware.vm.storage.unshared[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Total storage space, in bytes, occupied by the virtual machine across all datastores, that is not shared with any other virtual machine.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26954','3','','10174','Uncommitted storage space','vmware.vm.storage.uncommitted[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Additional storage space, in bytes, potentially used by this virtual machine on all datastores.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26955','3','','10174','Swapped memory','vmware.vm.memory.size.swapped[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of guest physical memory swapped out to the VM\'s swap device by ESX.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26956','3','','10174','Shared memory','vmware.vm.memory.size.shared[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of guest physical memory shared through transparent page sharing.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26957','3','','10174','CPU usage','vmware.vm.cpu.usage[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','Hz','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Current upper-bound on CPU usage. The upper-bound is based on the host the virtual machine is current running on, as well as limits configured on the virtual machine itself or any parent resource pool. Valid while the virtual machine is running.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26958','3','','10174','CPU ready','vmware.vm.cpu.ready[{$URL},{HOST.HOST}]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','ms','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Time that the virtual machine was ready, but could not get scheduled to run on the physical CPU during last measurement interval (VMware vCenter/ESXi Server performance counter sampling interval - 20 seconds)','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26959','3','','10174','Number of virtual CPUs','vmware.vm.cpu.num[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Number of virtual CPUs assigned to the guest.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26960','3','','10174','Datacenter name','vmware.vm.datacenter.name[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Datacenter name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26961','3','','10174','Hypervisor name','vmware.vm.hv.name[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Hypervisor name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26962','3','','10174','Private memory','vmware.vm.memory.size.private[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Amount of memory backed by host memory and not being shared.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26963','3','','10174','Compressed memory','vmware.vm.memory.size.compressed[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of memory currently in the compression cache for this VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26964','3','','10174','Ballooned memory','vmware.vm.memory.size.ballooned[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of guest physical memory that is currently reclaimed through the balloon driver.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26965','3','','10174','Cluster name','vmware.vm.cluster.name[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Cluster name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26966','3','','10175','Number of bytes transmitted','vmware.hv.network.out[{$URL},{HOST.HOST},bps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26967','3','','10175','Number of bytes received','vmware.hv.network.in[{$URL},{HOST.HOST},bps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26968','3','','10175','Used memory','vmware.hv.memory.used[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Physical memory usage on the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26969','3','','10175','Ballooned memory','vmware.hv.memory.size.ballooned[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The amount of guest physical memory that is currently reclaimed through the balloon driver. Sum of all guest VMs.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26970','3','','10175','Health state rollup','vmware.hv.sensor.health.state[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','','','',NULL,'13','','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The host health state rollup sensor value: gray - unknown, ok, red - it has a problem, yellow - it might have a problem.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26971','3','','10175','Overall status','vmware.hv.status[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','','','',NULL,'13','','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The overall alarm status of the host: gray - unknown, ok, red - it has a problem, yellow - it might have a problem.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26972','3','','10175','Number of guest VMs','vmware.hv.vm.num[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Number of guest virtual machines.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26973','3','','10175','Version','vmware.hv.version[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Dot-separated version string.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26974','3','','10175','Uptime','vmware.hv.uptime[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','uptime','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'System uptime.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26975','3','','10175','Vendor','vmware.hv.hw.vendor[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The hardware vendor identification.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26976','3','','10175','Bios UUID','vmware.hv.hw.uuid[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The hardware BIOS identification.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26977','3','','10175','CPU frequency','vmware.hv.hw.cpu.freq[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','Hz','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The speed of the CPU cores. This is an average value if there are multiple speeds. The product of CPU frequency and number of cores is approximately equal to the sum of the MHz for all the individual cores on the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26978','3','','10175','Full name','vmware.hv.fullname[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The complete product name, including the version information.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26979','3','','10175','Datacenter name','vmware.hv.datacenter.name[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Datacenter name of the hypervisor.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26980','3','','10175','CPU usage','vmware.hv.cpu.usage[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL}','90d','365d','0','3','','Hz','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Aggregated CPU usage across all cores on the host in Hz. This is only available if the host is connected.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26981','3','','10175','CPU model','vmware.hv.hw.cpu.model[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The CPU model.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26982','3','','10175','CPU cores','vmware.hv.hw.cpu.num[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Number of physical CPU cores on the host. Physical CPU cores are the processors contained by a CPU package.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26983','3','','10175','Model','vmware.hv.hw.model[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The system model identification.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26984','3','','10175','Total memory','vmware.hv.hw.memory[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'The physical memory size.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26985','3','','10175','CPU threads','vmware.hv.hw.cpu.threads[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Number of physical CPU threads on the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26986','3','','10175','Cluster name','vmware.hv.cluster.name[{$URL},{HOST.HOST}]','{$VMWARE_INTERVAL:conf}','90d','0','0','1','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','0',NULL,'Cluster name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26987','3','','10173','Discover VMware clusters','vmware.cluster.discovery[{$URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'Discovery of clusters','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26988','3','','10173','Discover VMware hypervisors','vmware.hv.discovery[{$URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'Discovery of hypervisors.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26989','3','','10173','Discover VMware VMs','vmware.vm.discovery[{$URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'Discovery of guest virtual machines.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26990','3','','10174','Network device discovery','vmware.vm.net.if.discovery[{$URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'Discovery of all network devices.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26991','3','','10174','Disk device discovery','vmware.vm.vfs.dev.discovery[{$URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'Discovery of all disk devices.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26992','3','','10174','Mounted filesystem discovery','vmware.vm.vfs.fs.discovery[{$URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'Discovery of all guest file systems.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26993','3','','10175','Datastore discovery','vmware.hv.datastore.discovery[{$URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26994','3','','10173','Status of "{#CLUSTER.NAME}" cluster','vmware.cluster.status[{$URL},{#CLUSTER.NAME}]','1m','90d','365d','0','3','','','','',NULL,'13','','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26995','3','','10174','Number of packets transmitted on interface {#IFDESC}','vmware.vm.net.if.out[{$URL},{HOST.HOST},{#IFNAME},pps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26996','3','','10174','Number of bytes transmitted on interface {#IFDESC}','vmware.vm.net.if.out[{$URL},{HOST.HOST},{#IFNAME},bps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26997','3','','10174','Number of packets received on interface {#IFDESC}','vmware.vm.net.if.in[{$URL},{HOST.HOST},{#IFNAME},pps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26998','3','','10174','Number of bytes received on interface {#IFDESC}','vmware.vm.net.if.in[{$URL},{HOST.HOST},{#IFNAME},bps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('26999','3','','10174','Average number of writes to the disk {#DISKDESC}','vmware.vm.vfs.dev.write[{$URL},{HOST.HOST},{#DISKNAME},ops]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27000','3','','10174','Average number of bytes written to the disk {#DISKDESC}','vmware.vm.vfs.dev.write[{$URL},{HOST.HOST},{#DISKNAME},bps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27001','3','','10174','Average number of reads from the disk {#DISKDESC}','vmware.vm.vfs.dev.read[{$URL},{HOST.HOST},{#DISKNAME},ops]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27002','3','','10174','Average number of bytes read from the disk {#DISKDESC}','vmware.vm.vfs.dev.read[{$URL},{HOST.HOST},{#DISKNAME},bps]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27003','3','','10174','Used disk space on {#FSNAME}','vmware.vm.vfs.fs.size[{$URL},{HOST.HOST},{#FSNAME},used]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27004','3','','10174','Total disk space on {#FSNAME}','vmware.vm.vfs.fs.size[{$URL},{HOST.HOST},{#FSNAME},total]','{$VMWARE_INTERVAL:conf}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27005','3','','10174','Free disk space on {#FSNAME} (percentage)','vmware.vm.vfs.fs.size[{$URL},{HOST.HOST},{#FSNAME},pfree]','{$VMWARE_INTERVAL}','90d','365d','0','0','','%','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27006','3','','10174','Free disk space on {#FSNAME}','vmware.vm.vfs.fs.size[{$URL},{HOST.HOST},{#FSNAME},free]','{$VMWARE_INTERVAL}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27007','3','','10175','Average write latency of the datastore {#DATASTORE}','vmware.hv.datastore.write[{$URL},{HOST.HOST},{#DATASTORE},latency]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27008','3','','10175','Total size of datastore {#DATASTORE}','vmware.hv.datastore.size[{$URL},{HOST.HOST},{#DATASTORE}]','{$VMWARE_PERF_INTERVAL:datastore}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27009','3','','10175','Free space on datastore {#DATASTORE} (percentage)','vmware.hv.datastore.size[{$URL},{HOST.HOST},{#DATASTORE},pfree]','{$VMWARE_PERF_INTERVAL:datastore}','90d','365d','0','0','','%','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27010','3','','10175','Average read latency of the datastore {#DATASTORE}','vmware.hv.datastore.read[{$URL},{HOST.HOST},{#DATASTORE},latency]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27031','20','discovery[{#SNMPVALUE},1.3.6.1.2.1.10.7.2.1.19,{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2]','10183','EtherLike-MIB Discovery','net.if.duplex.discovery','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovering interfaces from IF-MIB and EtherLike-MIB. Interfaces with up(1) Operational Status are discovered.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27032','20','1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}','10183','Interface {#IFNAME}({#IFALIAS}): Duplex status','net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}]','1m','7d','365d','0','3','','','','',NULL,'19','','','0','','','','','2',NULL,'MIB: EtherLike-MIB\r\nThe current mode of operation of the MAC\r\nentity.  \'unknown\' indicates that the current\r\nduplex mode could not be determined.\r\n\r\nManagement control of the duplex mode is\r\naccomplished through the MAU MIB.  When\r\nan interface does not support autonegotiation,\r\nor when autonegotiation is not enabled, the\r\nduplex mode is controlled using\r\nifMauDefaultType.  When autonegotiation is\r\nsupported and enabled, duplex mode is controlled\r\nusing ifMauAutoNegAdvertisedBits.  In either\r\ncase, the currently operating duplex mode is\r\nreflected both in this object and in ifMauType.\r\n\r\nNote that this object provides redundant\r\ninformation with ifMauType.  Normally, redundant\r\nobjects are discouraged.  However, in this\r\ninstance, it allows a management application to\r\ndetermine the duplex status of an interface\r\nwithout having to know every possible value of\r\nifMauType.  This was felt to be sufficiently\r\nvaluable to justify the redundancy.\r\nReference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27065','3','','10186','ICMP response time','icmppingsec','1m','1w','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -2183,7 +2236,6 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27893','20','1.3.6.1.2.1.1.1.0','10233','Hardware model name','system.hw.model','1h','2w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','29','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27894','20','1.3.6.1.4.1.14988.1.1.7.3.0','10233','Hardware serial number','system.hw.serialnumber','1h','2w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'MIB: MIKROTIK-MIB\r\nRouterBOARD serial number','8','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27895','20','1.3.6.1.4.1.14988.1.1.7.4.0','10233','Firmware version','system.hw.firmware','1h','2w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'MIB: MIKROTIK-MIB\r\nCurrent firmware version','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27897','20','1.3.6.1.4.1.14988.1.1.3.10.0','10233','Device: Temperature','sensor.temp.value[mtxrHlTemperature]','3m','90d','365d','0','0','','°C','','',NULL,NULL,'','','0','','','','','0',NULL,'MIB: MIKROTIK-MIB\r\n(mtxrHlTemperature) Device temperature in Celsius (degrees C). Might be missing in entry models (RB750, RB450G..)\r\nReference: http://wiki.mikrotik.com/wiki/Manual:SNMP','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27898','20','1.3.6.1.2.1.25.2.3.1.5.65536','10233','Total memory','vm.memory.total[hrStorageSize.Memory]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'MIB: HOST-RESOURCES-MIB\r\nThe size of the storage represented by this entry, in\r\nunits of hrStorageAllocationUnits. This object is\r\nwritable to allow remote configuration of the size of\r\nthe storage area in those cases where such an\r\noperation makes sense and is possible on the\r\nunderlying system. For example, the amount of main\r\nmemory allocated to a buffer pool might be modified or\r\nthe amount of disk space allocated to virtual memory\r\nmight be modified.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27900','20','1.3.6.1.2.1.25.2.3.1.6.65536','10233','Used memory','vm.memory.used[hrStorageUsed.Memory]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'MIB: HOST-RESOURCES-MIB\r\nThe amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('27901','20','discovery[{#SNMPVALUE},1.3.6.1.2.1.25.3.3.1.1]','10233','CPU discovery','hrProcessorLoad.discovery','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'HOST-RESOURCES-MIB::hrProcessorTable discovery','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -2474,11 +2526,6 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28617','5','','10048','Zabbix preprocessing queue','zabbix[preprocessing_queue]','1m','1w','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Count of values enqueued in the preprocessing queue.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28618','5','','10048','Utilization of preprocessing manager internal processes, in %','zabbix[process,preprocessing manager,avg,busy]','1m','1w','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28619','5','','10048','Utilization of preprocessing worker internal processes, in %','zabbix[process,preprocessing worker,avg,busy]','1m','1w','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28620','3','','10173','Discover VMware datastores','vmware.datastore.discovery[{$URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','1',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28621','3','','10173','Average read latency of the datastore {#DATASTORE}','vmware.datastore.read[{$URL},{#DATASTORE},latency]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28622','3','','10173','Free space on datastore {#DATASTORE} (percentage)','vmware.datastore.size[{$URL},{#DATASTORE},pfree]','{$VMWARE_PERF_INTERVAL:datastore}','90d','365d','0','3','','%','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28623','3','','10173','Total size of datastore {#DATASTORE}','vmware.datastore.size[{$URL},{#DATASTORE}]','{$VMWARE_PERF_INTERVAL:datastore}','90d','365d','0','3','','B','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28624','3','','10173','Average write latency of the datastore {#DATASTORE}','vmware.datastore.write[{$URL},{#DATASTORE},latency]','{$VMWARE_PERF_INTERVAL}','90d','365d','0','3','','','','',NULL,NULL,'','','0','{$USERNAME}','{$PASSWORD}','','','2',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28671','0','','10263','PostgreSQL: Get connections sum','pgsql.connections.sum["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.DB}"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Collect all metrics from pg_stat_activity\r\nhttps://www.postgresql.org/docs/current/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28672','0','','10263','PostgreSQL: Get locks','pgsql.locks["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.DB}"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Collect all metrics from pg_locks per database\r\nhttps://www.postgresql.org/docs/current/explicit-locking.html#LOCKING-TABLES','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('28673','0','','10263','Status: Ping time','pgsql.ping.time["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.DB}"]','1m','7d','365d','0','0','','ms','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -2881,21 +2928,10 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29476','0','','10290','Number of processes','proc.num[]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of processes.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29477','0','','10290','Number of threads','perf_counter_en["\\System\\Threads"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of threads used by all running processes.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29478','0','','10290','Operating system architecture','system.sw.arch','1h','2w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Operating system architecture of the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29479','0','','10291','Network interfaces WMI get','wmi.getall[root\\cimv2,"select * from win32_networkadapter where PhysicalAdapter=True"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Raw data of win32_networkadapter.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29506','0','','10288','Mounted filesystem discovery','vfs.fs.discovery','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery of file systems of different types.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29508','18','','10291','Network interfaces discovery','net.if.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery of installed network interfaces.','0','30d','1','','29479','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29512','0','','10288','{#FSNAME}: Used space','vfs.fs.size[{#FSNAME},used]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Used storage in Bytes','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29513','0','','10288','{#FSNAME}: Total space','vfs.fs.size[{#FSNAME},total]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Total space in Bytes','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29514','0','','10288','{#FSNAME}: Space utilization','vfs.fs.size[{#FSNAME},pused]','1m','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','2',NULL,'Space utilization in % for {#FSNAME}','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29515','0','','10291','Interface {#IFNAME}({#IFALIAS}): Bits received','net.if.in["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Incoming traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29516','0','','10291','Interface {#IFNAME}({#IFALIAS}): Bits sent','net.if.out["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Outgoing traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29517','0','','10291','Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded','net.if.in["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29518','0','','10291','Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded','net.if.out["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29519','0','','10291','Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors','net.if.in["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29520','0','','10291','Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors','net.if.out["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29534','18','','10291','Interface {#IFNAME}({#IFALIAS}): Speed','net.if.speed["{#IFNAME}"]','0','7d','0d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Estimated bandwidth of the network interface if any.','0','30d','0','','29479','3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29535','18','','10291','Interface {#IFNAME}({#IFALIAS}): Interface type','net.if.type["{#IFNAME}"]','0','7d','0d','0','3','','','','',NULL,'79','','','0','','','','','2',NULL,'The type of the network interface.','0','30d','0','','29479','3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29536','18','','10291','Interface {#IFNAME}({#IFALIAS}): Operational status','net.if.status["{#IFNAME}"]','0','7d','0','0','3','','','','',NULL,'81','','','0','','','','','2',NULL,'The operational status of the network interface.','0','30d','0','','29479','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29544','5','','10050','Zabbix agent availability','zabbix[host,agent,available]','1m','7d','365d','0','3','','','','',NULL,'22','','','0','','','','','0',NULL,'Monitoring agent availability status','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29545','7','','10292','Version of Zabbix agent running','agent.version','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29546','7','','10292','Host name of Zabbix agent running','agent.hostname','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -2922,21 +2958,10 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29583','7','','10297','Number of processes','proc.num[]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of processes.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29584','7','','10297','Number of threads','perf_counter_en["\\System\\Threads"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of threads used by all running processes.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29585','7','','10297','Operating system architecture','system.sw.arch','1h','2w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Operating system architecture of the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29586','7','','10298','Network interfaces WMI get','wmi.getall[root\\cimv2,"select * from win32_networkadapter where PhysicalAdapter=True"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Raw data of win32_networkadapter.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29613','7','','10295','Mounted filesystem discovery','vfs.fs.discovery','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery of file systems of different types.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29615','18','','10298','Network interfaces discovery','net.if.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery of installed network interfaces.','0','30d','1','','29586','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29619','7','','10295','{#FSNAME}: Used space','vfs.fs.size[{#FSNAME},used]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Used storage in Bytes','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29620','7','','10295','{#FSNAME}: Total space','vfs.fs.size[{#FSNAME},total]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Total space in Bytes','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29621','7','','10295','{#FSNAME}: Space utilization','vfs.fs.size[{#FSNAME},pused]','1m','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','2',NULL,'Space utilization in % for {#FSNAME}','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29622','7','','10298','Interface {#IFNAME}({#IFALIAS}): Bits received','net.if.in["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Incoming traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29623','7','','10298','Interface {#IFNAME}({#IFALIAS}): Bits sent','net.if.out["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Outgoing traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29624','7','','10298','Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded','net.if.in["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29625','7','','10298','Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded','net.if.out["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29626','7','','10298','Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors','net.if.in["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29627','7','','10298','Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors','net.if.out["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29641','18','','10298','Interface {#IFNAME}({#IFALIAS}): Speed','net.if.speed["{#IFNAME}"]','0','7d','0d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Estimated bandwidth of the network interface if any.','0','30d','0','','29586','3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29642','18','','10298','Interface {#IFNAME}({#IFALIAS}): Interface type','net.if.type["{#IFNAME}"]','0','7d','0d','0','3','','','','',NULL,'79','','','0','','','','','2',NULL,'The type of the network interface.','0','30d','0','','29586','3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29643','18','','10298','Interface {#IFNAME}({#IFALIAS}): Operational status','net.if.status["{#IFNAME}"]','0','7d','0','0','3','','','','',NULL,'81','','','0','','','','','2',NULL,'The operational status of the network interface.','0','30d','0','','29586','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29653','0','','10301','RabbitMQ: Get node overview','web.page.get["http://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/overview"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The HTTP API endpoint that returns cluster-wide metrics','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29654','0','','10301','RabbitMQ: Get nodes','web.page.get["http://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/nodes/{$RABBITMQ.CLUSTER.NAME}@{HOST.NAME}?memory=true"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The HTTP API endpoint that returns nodes metrics','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('29655','0','','10301','RabbitMQ: Service ping','net.tcp.service[http,"{$RABBITMQ.API.HOST}","{$RABBITMQ.API.PORT}"]','1m','7d','365d','0','3','','','','',NULL,'1','','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -3205,7 +3230,7 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30190','0','','10308','HAProxy: Get stats page','web.page.get["{$HAPROXY.STATS.SCHEME}://{HOST.CONN}:{$HAPROXY.STATS.PORT}/{$HAPROXY.STATS.PATH}"]','1m','1h','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'HAProxy Statistics Report HTML','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30191','18','','10308','HAProxy: Uptime','haproxy.uptime','0','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','','30190','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30192','18','','10308','HAProxy: Version','haproxy.version','0','90d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','','30190','3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30193','18','','10308','BACKEND discovery','haproxy.backend.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery backends','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30193','18','','10308','Backend discovery','haproxy.backend.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery backends','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30194','18','','10308','FRONTEND discovery','haproxy.frontend.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery frontends','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30195','18','','10308','Servers discovery','haproxy.server.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery servers','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30196','15','','10308','HAProxy Frontend {#PXNAME}: Session utilization','haproxy.frontend.sutil[{#PXNAME}:{#SVNAME}]','1m','7d','365d','0','0','','%','','',NULL,NULL,'last(haproxy.frontend.scur[{#PXNAME}:{#SVNAME}]) / last(haproxy.frontend.slim[{#PXNAME}:{#SVNAME}]) * 100','','0','','','','','2',NULL,'Percentage of sessions used (scur / slim * 100).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -3735,7 +3760,7 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30756','18','','10322','ES {#ES.NODE}: Total number of fetch','es.node.indices.search.fetch_total[{#ES.NODE}]','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The total number of fetch operations.','0','30d','0','','30693','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30757','18','','10322','ES {#ES.NODE}: Rate of fetch','es.node.indices.search.fetch.rate[{#ES.NODE}]','0','7d','365d','0','0','','rps','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of fetch operations per second.','0','30d','0','','30693','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30758','18','','10322','ES {#ES.NODE}: Write thread pool executor tasks rejected','es.node.thread_pool.write.rejected.rate[{#ES.NODE}]','0','7d','365d','0','0','','rps','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of tasks rejected by the write thread pool executor.','0','30d','0','','30693','3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30759','18','','10308','TCP BACKEND discovery','haproxy.backend_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery TCP backends','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30759','18','','10308','TCP Backend discovery','haproxy.backend_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery TCP backends','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30760','18','','10308','TCP FRONTEND discovery','haproxy.frontend_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery TCP frontends','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30761','18','','10308','TCP Servers discovery','haproxy.server_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery tcp servers','0','30d','1','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30762','15','','10308','HAProxy TCP Frontend {#PXNAME}: Session utilization','haproxy.frontend_tcp.sutil[{#PXNAME}:{#SVNAME}]','1m','7d','365d','0','0','','%','','',NULL,NULL,'last(haproxy.frontend_tcp.scur[{#PXNAME}:{#SVNAME}]) / last(haproxy.frontend_tcp.slim[{#PXNAME}:{#SVNAME}]) * 100','','0','','','','','2',NULL,'Percentage of sessions used (scur / slim * 100).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -3767,7 +3792,7 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30788','18','','10308','HAProxy TCP {#PXNAME} {#SVNAME}: Retried connections per second','haproxy.server_tcp.wretr.rate[{#PXNAME}:{#SVNAME}]','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Number of times a connection was retried.','0','30d','0','','30189','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30789','3','','10309','HAProxy: Service response time','net.tcp.service.perf["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30790','3','','10309','HAProxy: Service status','net.tcp.service["{$HAPROXY.STATS.SCHEME}","{HOST.CONN}","{$HAPROXY.STATS.PORT}"]','1m','7d','365d','0','3','','','','',NULL,'1','','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30791','18','','10309','TCP BACKEND discovery','haproxy.backend_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery TCP backends','0','30d','1','','30230','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30791','18','','10309','TCP Backend discovery','haproxy.backend_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery TCP backends','0','30d','1','','30230','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30792','18','','10309','TCP FRONTEND discovery','haproxy.frontend_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery TCP frontends','0','30d','1','','30230','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30793','18','','10309','TCP Servers discovery','haproxy.server_tcp.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery tcp servers','0','30d','1','','30230','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('30794','15','','10309','HAProxy TCP Frontend {#PXNAME}: Session utilization','haproxy.frontend_tcp.sutil[{#PXNAME}:{#SVNAME}]','1m','7d','365d','0','0','','%','','',NULL,NULL,'last(haproxy.frontend_tcp.scur[{#PXNAME}:{#SVNAME}]) / last(haproxy.frontend_tcp.slim[{#PXNAME}:{#SVNAME}]) * 100','','0','','','','','2',NULL,'Percentage of sessions used (scur / slim * 100).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -4031,7 +4056,7 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31052','18','','10262','Version','version','0','1w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Version of Zabbix proxy.','0','30d','0','','28585','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31053','18','','10261','Version','version','0','1w','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Version of Zabbix server.','0','30d','0','','28539','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31054','3','','10323','ClickHouse: Check port availability','net.tcp.service[{$CLICKHOUSE.SCHEME},"{HOST.CONN}","{$CLICKHOUSE.PORT}"]','1m','7d','365d','0','3','','','','',NULL,'1','','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31055','11','','10327','MSSQL: Get performance counters','db.odbc.get[get_status_variables,"{$MSSQL.DSN}"]','0;m0-59','0','0','0','4','','','','',NULL,NULL,'SELECT object_name, counter_name, instance_name, cntr_value\nFROM sys.dm_os_performance_counters \nUNION \nSELECT \'SQLServer\' as object_name, \'Version\' as counter_name, @@version as instance_name, 0 as cntr_value\nUNION \nSELECT \'SQLServer\' as object_name, \'Uptime\' as counter_name, \'\' as instance_name, \nDATEDIFF(second, sqlserver_start_time, GETDATE()) as cntr_value\nFROM sys.dm_os_sys_info\nUNION\nSELECT \'SQLServer:Databases\' as object_name, \'State\' as counter_name, name as instance_name, state as cntr_value\nFROM sys.databases\nUNION\nSELECT a.object_name, \'BufferCacheHitRatio\' as counter_name, \'\' as instance_name, \ncast(a.cntr_value*100.0 / b.cntr_value as dec(3,0)) as cntr_value\nFROM sys.dm_os_performance_counters  a\nJOIN  (SELECT cntr_value,OBJECT_NAME \n  FROM sys.dm_os_performance_counters  \n    WHERE counter_name = \'Buffer cache hit ratio base\'\n        AND OBJECT_NAME = \'SQLServer:Buffer Manager\') b ON  a.OBJECT_NAME = b.OBJECT_NAME\nWHERE a.counter_name = \'Buffer cache hit ratio\'\nAND a.OBJECT_NAME = \'SQLServer:Buffer Manager\'\nUNION\nSELECT a.object_name, \'WorktablesFromCacheRatio\' as counter_name, \'\' as instance_name, \ncast(a.cntr_value*100.0 / b.cntr_value as dec(3,0)) as cntr_value\nFROM sys.dm_os_performance_counters  a\nJOIN  (SELECT cntr_value,OBJECT_NAME \n  FROM sys.dm_os_performance_counters  \n    WHERE counter_name = \'Worktables From Cache Base\'\n        AND OBJECT_NAME = \'SQLServer:Access Methods\') b ON  a.OBJECT_NAME = b.OBJECT_NAME\nWHERE a.counter_name = \'Worktables From Cache Ratio\'\nAND a.OBJECT_NAME = \'SQLServer:Access Methods\'\nUNION\nSELECT a.object_name, \'CacheHitRatio\' as counter_name, \'_Total\' as instance_name, \ncast(a.cntr_value*100.0 / b.cntr_value as dec(3,0)) as cntr_value\nFROM sys.dm_os_performance_counters  a\nJOIN  (SELECT cntr_value,OBJECT_NAME \n  FROM sys.dm_os_performance_counters  \n    WHERE counter_name = \'Cache Hit Ratio base\'\n        AND OBJECT_NAME = \'SQLServer:Plan Cache\'\n        AND instance_name = \'_Total\') b ON  a.OBJECT_NAME = b.OBJECT_NAME\nWHERE a.counter_name = \'Cache Hit Ratio\'\n  AND a.OBJECT_NAME = \'SQLServer:Plan Cache\'\n  AND instance_name = \'_Total\'','','0','{$MSSQL.USER}','{$MSSQL.PASSWORD}','','','0',NULL,'The item gets server global status information.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31055','11','','10327','MSSQL: Get performance counters','db.odbc.get[get_status_variables,"{$MSSQL.DSN}"]','0;m0-59','0','0','0','4','','','','',NULL,NULL,'SELECT object_name,counter_name,instance_name,cntr_value\nFROM sys.dm_os_performance_counters\nUNION\nSELECT \'{$MSSQL.INSTANCE}\' as object_name,\'Version\' as counter_name,@@version as instance_name,0 as cntr_value\nUNION\nSELECT \'{$MSSQL.INSTANCE}\' as object_name,\'Uptime\' as counter_name,\'\' as instance_name,DATEDIFF(second,sqlserver_start_time,GETDATE()) as cntr_value\nFROM sys.dm_os_sys_info\nUNION\nSELECT \'{$MSSQL.INSTANCE}:Databases\' as object_name,\'State\' as counter_name,name as instance_name,state as cntr_value\nFROM sys.databases\nUNION\nSELECT a.object_name,\'BufferCacheHitRatio\' as counter_name,\'\' as instance_name,cast(a.cntr_value*100.0/b.cntr_value as dec(3,0)) as cntr_value\nFROM sys.dm_os_performance_counters a\nJOIN (SELECT cntr_value,OBJECT_NAME\nFROM sys.dm_os_performance_counters\nWHERE counter_name=\'Buffer cache hit ratio base\' AND OBJECT_NAME=\'{$MSSQL.INSTANCE}:Buffer Manager\') b\nON a.OBJECT_NAME=b.OBJECT_NAME\nWHERE a.counter_name=\'Buffer cache hit ratio\' AND a.OBJECT_NAME=\'{$MSSQL.INSTANCE}:Buffer Manager\'\nUNION\nSELECT a.object_name,\'WorktablesFromCacheRatio\' as counter_name,\'\' as instance_name,cast(a.cntr_value*100.0/b.cntr_value as dec(3,0)) as cntr_value\nFROM sys.dm_os_performance_counters a\nJOIN (SELECT cntr_value,OBJECT_NAME\nFROM sys.dm_os_performance_counters\nWHERE counter_name=\'Worktables From Cache Base\' AND OBJECT_NAME=\'{$MSSQL.INSTANCE}:Access Methods\') b\nON a.OBJECT_NAME=b.OBJECT_NAME\nWHERE a.counter_name=\'Worktables From Cache Ratio\' AND a.OBJECT_NAME=\'{$MSSQL.INSTANCE}:Access Methods\'\nUNION\nSELECT a.object_name,\'CacheHitRatio\' as counter_name,\'_Total\' as instance_name,cast(a.cntr_value*100.0/b.cntr_value as dec(3,0)) as cntr_value\nFROM sys.dm_os_performance_counters a\nJOIN (SELECT cntr_value,OBJECT_NAME\nFROM sys.dm_os_performance_counters\nWHERE counter_name=\'Cache Hit Ratio base\' AND OBJECT_NAME=\'{$MSSQL.INSTANCE}:Plan Cache\' AND instance_name=\'_Total\') b\nON a.OBJECT_NAME=b.OBJECT_NAME\nWHERE a.counter_name=\'Cache Hit Ratio\' AND a.OBJECT_NAME=\'{$MSSQL.INSTANCE}:Plan Cache\' AND instance_name=\'_Total\'','','0','{$MSSQL.USER}','{$MSSQL.PASSWORD}','','','0',NULL,'The item gets server global status information.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31056','15','','10327','MSSQL: Total average wait time','mssql.average_wait_time','0;m0-59s3','7d','365d','0','0','','ms','','',NULL,NULL,'(last(mssql.average_wait_time_raw) - prev(mssql.average_wait_time_raw)) /\n(last(mssql.average_wait_time_base) - prev(mssql.average_wait_time_base) + \n(last(mssql.average_wait_time_base) - prev(mssql.average_wait_time_base)=0))','','0','','','','','0',NULL,'The average wait time, in milliseconds, for each lock request that had to wait.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31057','3','','10327','MSSQL: Service\'s TCP port state','net.tcp.service[tcp,{HOST.CONN},{$MSSQL.PORT}]','30s','7d','365d','0','3','','','','',NULL,'1','','','0','','','','','0',NULL,'Test the availability of MS SQL Server on TCP port.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31058','15','','10327','MSSQL: Average latch wait time','mssql.average_latch_wait_time','0;m0-59s3','7d','365d','0','0','','ms','','',NULL,NULL,'(last(mssql.average_latch_wait_time_raw) - prev(mssql.average_latch_wait_time_raw)) /\n(last(mssql.average_latch_wait_time_base) - prev(mssql.average_latch_wait_time_base) + \n(last(mssql.average_latch_wait_time_base) - prev(mssql.average_latch_wait_time_base)=0))','','0','','','','','0',NULL,'Average latch wait time (in milliseconds) for latch requests that had to wait.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -4219,7 +4244,7 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31240','0','','10328','Database discovery','pgsql.db.discovery["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31241','0','','10328','DB {#DBNAME}: Database age','pgsql.db.age["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}","{#DBNAME}"]','15m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Database age','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31242','0','','10328','DB {#DBNAME}: Database size','pgsql.db.size["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}","{#DBNAME}"]','5m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Database size','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
-INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31243','0','','10328','DB {#DBNAME}: Get bloating tables','pgsql.db.bloating_tables["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}","{#DBNAME}"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Number оf bloating tables','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31243','0','','10328','DB {#DBNAME}: Get bloating tables','pgsql.db.bloating_tables["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}","{#DBNAME}"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Number of bloating tables','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31244','18','','10328','DB {#DBNAME}: Tuples returned per second','pgsql.dbstat.tup_returned.rate["{#DBNAME}"]','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Number of rows returned by queries in this database','0','30d','0','','31185','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31245','18','','10328','DB {#DBNAME}: Num of shareupdateexclusive locks','pgsql.locks.shareupdateexclusive["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Number of shareupdateexclusive locks for each database','0','30d','0','','31186','3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31246','18','','10328','DB {#DBNAME}: Num of sharerowexclusive locks','pgsql.locks.sharerowexclusive["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Number of total sharerowexclusive for each database','0','30d','0','','31186','3s','','','','200','1','0','','0','0','0','0','0','0','0');
@@ -4286,6 +4311,364 @@ INSERT INTO `items` (`itemid`,`type`,`sn
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31354','7','','10296','{#DEVNAME}: Disk average queue size (avgqu-sz)','perf_counter_en["\\PhysicalDisk({#DEVNAME})\\Current Disk Queue Length",60]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Current average disk queue, the number of requests outstanding on the disk at the time the performance data is collected.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31355','7','','10296','{#DEVNAME}: Disk read rate','perf_counter_en["\\PhysicalDisk({#DEVNAME})\\Disk Reads/sec",60]','1m','7d','365d','0','0','','!r/s','','',NULL,NULL,'','','0','','','','','2',NULL,'Rate of read operations on the disk.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
 INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31356','7','','10296','{#DEVNAME}: Disk write rate','perf_counter_en["\\PhysicalDisk({#DEVNAME})\\Disk Writes/sec",60]','1m','7d','365d','0','0','','!w/s','','',NULL,NULL,'','','0','','','','','2',NULL,'Rate of write operations on the disk.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31361','11','','10329','Oracle: Get archive log info','db.odbc.get[get_archivelog_stat,"{$ORACLE.DSN}"]','5m','0','0','0','4','','','','',NULL,NULL,'SELECT\nd.dest_name, DECODE (d.status, \'VALID\',3, \'DEFERRED\', 2, \'ERROR\', 1, 0) AS status,\nd.log_sequence,\nd.error\nFROM v$archive_dest d , v$database db\nWHERE d.status != \'INACTIVE\' AND db.log_mode = \'ARCHIVELOG\';','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31362','11','','10329','Oracle: Get tablespaces stats','db.odbc.get[tablespace_stats,"{$ORACLE.DSN}"]','1m','0','0','0','4','','','','',NULL,NULL,'SELECT df.tablespace_name AS tablespace, df.type AS TYPE, SUM(df.bytes) AS used_bytes, SUM(df.max_bytes) AS max_bytes, SUM(f.free) AS free_bytes, ROUND(SUM(df.bytes)/ SUM(df.max_bytes)* 100, 2) AS used_pct, DECODE(df.status, \'ONLINE\', 1, \'OFFLINE\', 2, \'READ ONLY\', 3, 0) AS status FROM ( SELECT ddf.file_id, dt.contents AS TYPE, dt.STATUS , ddf.file_name, ddf.tablespace_name, TRUNC(ddf.bytes) AS bytes, TRUNC(GREATEST(ddf.bytes, ddf.maxbytes)) AS max_bytes FROM dba_data_files ddf, dba_tablespaces dt WHERE ddf.tablespace_name = dt.tablespace_name ) df, ( SELECT TRUNC(SUM(bytes)) AS FREE, file_id FROM dba_free_space GROUP BY file_id ) f WHERE df.file_id = f.file_id (+) GROUP BY df.tablespace_name, df.TYPE, df.status UNION ALL SELECT Y.name AS tablespace_name, Y.type AS TYPE, SUM(Y.bytes) AS bytes, SUM(Y.max_bytes) AS max_bytes, MAX(NVL(Y.free_bytes, 0)) AS FREE, ROUND(SUM(Y.bytes)/ SUM(Y.max_bytes)* 100, 2) AS used_pct, DECODE(Y.tbs_status, \'ONLINE\', 1, \'OFFLINE\', 2, \'READ ONLY\', 3, 0) AS status FROM ( SELECT dtf.tablespace_name AS name, dt.contents AS TYPE, dt.STATUS AS tbs_status, dtf.status AS status, dtf.bytes AS bytes, (SELECT ((f.total_blocks - s.tot_used_blocks)* vp.value) FROM ( SELECT tablespace_name, SUM(used_blocks) tot_used_blocks FROM gv$sort_segment WHERE tablespace_name != \'DUMMY\' GROUP BY tablespace_name) s, ( SELECT tablespace_name, SUM(blocks) total_blocks FROM dba_temp_files WHERE tablespace_name != \'DUMMY\' GROUP BY tablespace_name) f, ( SELECT value FROM v$parameter WHERE name = \'db_block_size\') vp WHERE f.tablespace_name = s.tablespace_name AND f.tablespace_name = dtf.tablespace_name ) AS free_bytes, CASE WHEN dtf.maxbytes = 0 THEN dtf.bytes ELSE dtf.maxbytes END AS max_bytes FROM sys.dba_temp_files dtf, sys.dba_tablespaces dt WHERE dtf.tablespace_name = dt.tablespace_name ) Y GROUP BY Y.name, Y.TYPE, Y.tbs_status ORDER BY tablespace;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'Get tablespaces stats.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31363','11','','10329','Oracle: Get ASM stats','db.odbc.get[get_asm_stat,"{$ORACLE.DSN}"]','1m','0','0','0','4','','','','',NULL,NULL,'SELECT\nname AS dg_name,\nROUND(total_mb / DECODE(TYPE, \'NORMAL\', 2, \'HIGH\', 3, \'EXTERN\', 1)*1024*1024) AS size_byte,\nROUND(usable_file_mb*1024*1024 ) AS free_size_byte,\nROUND(100-(usable_file_mb /(total_mb / DECODE(TYPE, \'NORMAL\', 2, \'HIGH\', 3, \'EXTERN\', 1)))* 100, 2) AS used_percent\nFROM v$asm_diskgroup ;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'Get ASM disk groups stats.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31364','0','','10329','Oracle: Service\'s TCP port state','net.tcp.service[tcp,{HOST.CONN},{$ORACLE.PORT}]','30s','7d','365d','0','3','','','','',NULL,'1','','','0','','','','','0',NULL,'Test the availability of Oracle on TCP port.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31365','0','','10329','Oracle: Number of LISTENER processes','proc.num[,,,"tnslsnr LISTENER"]','30s','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Number of LISTENER processes running','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31367','11','','10329','Oracle: Get CDB and No-CDB info','db.odbc.get[get_cdb_info,"{$ORACLE.DSN}"]','1m','0','0','0','4','','','','',NULL,NULL,'SELECT name as DBNAME,\nDECODE(open_mode, \'MOUNTED\', 1, \'READ ONLY\', 2, \'READ WRITE\', 3, \'READ ONLY WITH APPLY\', 4, \'MIGRATE\', 5, 0) AS open_mode,\nDECODE(database_role, \'SNAPSHOT STANDBY\', 1, \'LOGICAL STANDBY\', 2, \'PHYSICAL STANDBY\', 3, \'PRIMARY\', 4, \'FAR SYNC\', 5, 0) AS ROLE,\nDECODE(force_logging, \'YES\',1,\'NO\',0,0) AS force_logging,\nDECODE(log_mode, \'MANUAL\',2 ,\'ARCHIVELOG\',1,\'NOARCHIVELOG\',0,0) AS log_mode\nFROM v$database','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'Get info about CDB and  No-CDB databases on instansce.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31368','11','','10329','Oracle: Get PDB info','db.odbc.get[get_pdb_info,"{$ORACLE.DSN}"]','1m','0','0','0','4','','','','',NULL,NULL,'SELECT\nname as DBNAME,\nDECODE(open_mode, \'MOUNTED\', 1, \'READ ONLY\', 2, \'READ WRITE\', 3, \'READ ONLY WITH APPLY\', 4, \'MIGRATE\', 5, 0) AS open_mode\nFROM v$pdbs;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'Get info about PDB databases on instansce.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31369','11','','10329','Oracle: Get instance state','db.odbc.get[get_instance_state,"{$ORACLE.DSN}"]','1m','0','0','0','4','','','','',NULL,NULL,'SELECT\nINSTANCE_NAME,\nHOST_NAME,\nVERSION || \'-\' || EDITION AS VERSION,\nfloor((SYSDATE - startup_time)*60*60*24) AS UPTIME,\ndecode(status,\'STARTED\',1,\'MOUNTED\',2,\'OPEN\',3,\'OPEN MIGRATE\',4, 0) AS STATUS,\ndecode(archiver,\'STOPPED\',1,\'STARTED\',2,\'FAILED\',3, 0) AS  ARCHIVER,\ndecode(instance_role,\'PRIMARY_INSTANCE\',1,\'SECONDARY_INSTANCE\',2, 0) AS  INSTANCE_ROLE\nFROM v$instance;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'The item gets state of the current instance.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31370','18','','10329','Oracle: Version','oracle.version','0','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Oracle Server version.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31398','18','','10329','Oracle: Uptime','oracle.uptime','0','7d','0d','0','3','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Oracle instance uptime in seconds.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31407','18','','10329','Oracle: Archiver state','oracle.archiver_state','0','7d','365d','0','3','','','','',NULL,'116','','','0','','','','','0',NULL,'Automatic archiving status.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31425','18','','10329','Oracle: Instance hostname','oracle.instance_hostname','0','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Name of the host machine.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31426','18','','10329','Oracle: Instance name','oracle.instance_name','0','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Name of the instance.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31427','18','','10329','Oracle: Instance status','oracle.instance_status','0','7d','365d','0','3','','','','',NULL,'114','','','0','','','','','0',NULL,'Status of the instance.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31428','18','','10329','Oracle: Instance role','oracle.instance.role','0','7d','365d','0','3','','','','',NULL,'115','','','0','','','','','0',NULL,'Indicates whether the instance is an active instance or an inactive secondary instance.','0','30d','0','','31369','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31434','11','','10329','Archive log discovery','db.odbc.discovery[archivelog,"{$ORACLE.DSN}"]','1h','90d','0','0','4','','','','',NULL,NULL,'SELECT d.dest_name\nFROM v$archive_dest d , v$database db WHERE d.status != \'INACTIVE\' AND db.log_mode = \'ARCHIVELOG\';','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','1',NULL,'Log archive destinations.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31435','11','','10329','ASM disk groups discovery','db.odbc.discovery[asm,"{$ORACLE.DSN}"]','1h','90d','0','0','4','','','','',NULL,NULL,'SELECT name AS dg_name FROM v$asm_diskgroup;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','1',NULL,'ASM disk groups','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31436','11','','10329','Database discovery','db.odbc.discovery[db_list,"{$ORACLE.DSN}"]','1h','90d','0','0','4','','','','',NULL,NULL,'SELECT name as DBNAME, DECODE(CDB, \'YES\', \'CDB\', \'No-CDB\') AS TYPE  FROM V$DATABASE;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','1',NULL,'Scanning databases in DBMS.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31437','11','','10329','PDB discovery','db.odbc.discovery[pdb_list,"{$ORACLE.DSN}"]','1h','90d','0','0','4','','','','',NULL,NULL,'SELECT name as DBNAME FROM V$PDBS;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','1',NULL,'Scanning PDB in DBMS.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31438','11','','10329','Tablespace discovery','db.odbc.discovery[tbsname,"{$ORACLE.DSN}"]','1h','90d','0','0','4','','','','',NULL,NULL,'SELECT\ntablespace_name AS tablespace,\ncontents  FROM DBA_TABLESPACES;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','1',NULL,'Scanning tablespaces in DBMS.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31439','18','','10329','Archivelog \'{#DEST_NAME}\': Error','oracle.archivelog_error["{#DEST_NAME}"]','0','7d','0','0','4','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Displays the error text','0','30d','0','','31361','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31440','18','','10329','Archivelog \'{#DEST_NAME}\': Last sequence','oracle.archivelog_log_sequence["{#DEST_NAME}"]','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Identifies the sequence number of the last archived redo log to be archived','0','30d','0','','31361','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31441','18','','10329','Archivelog \'{#DEST_NAME}\': Status','oracle.archivelog_log_status["{#DEST_NAME}"]','0','7d','365d','0','3','','','','',NULL,'118','','','0','','','','','2',NULL,'Identifies the current status of the destination: 1 - \'Valid\', 2 - \'Dederred\',3 - \'Error\', 0 - \'Unknown\'','0','30d','0','','31361','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31442','18','','10329','ASM \'{#DG_NAME}\': Free size','oracle.asm_free_size["{#DG_NAME}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Free size of ASM disk group.','0','30d','0','','31363','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31443','18','','10329','ASM \'{#DG_NAME}\': Total size','oracle.asm_total_size["{#DG_NAME}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Total size of ASM disk group.','0','30d','0','','31363','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31444','18','','10329','ASM \'{#DG_NAME}\': Free size','oracle.asm_used_pct["{#DG_NAME}"]','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','2',NULL,'Usage percent of ASM disk group.','0','30d','0','','31363','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31445','18','','10329','Oracle Database \'{#DBNAME}\': Force logging','oracle.db_force_logging["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'119','','','0','','','','','2',NULL,'Indicates whether the database is under force logging mode (YES) or not (NO)','0','30d','0','','31367','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31446','18','','10329','Oracle Database \'{#DBNAME}\': Log mode','oracle.db_log_mode["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'120','','','0','','','','','2',NULL,'Archive log mode, 0 - \'NOARCHIVELOG\', 1 - \'ARCHIVELOG\', 2 - \'MANUAL\'','0','30d','0','','31367','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31447','18','','10329','Oracle Database \'{#DBNAME}\': Open status','oracle.db_open_mode["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'112','','','0','','','','','2',NULL,'1 - \'MOUNTED\', 2 - \'READ WRITE\', 3 - \'READ ONLY\', 4 - \'READ ONLY WITH APPLY\' (A physical standby database is open in real-time query mode)','0','30d','0','','31367','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31448','18','','10329','Oracle Database \'{#DBNAME}\': Role','oracle.db_role["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'113','','','0','','','','','2',NULL,'Current role of the database, 1 - \'SNAPSHOT STANDBY\', 2 - \'LOGICAL STANDBY\', 3 - \'PHYSICAL STANDBY\', 4 - \'PRIMARY \', 5 -\'FAR SYNC\'','0','30d','0','','31367','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31449','18','','10329','Oracle Database \'{#DBNAME}\': Open status','oracle.pdb_open_mode["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'112','','','0','','','','','2',NULL,'1 - \'MOUNTED\', 2 - \'READ WRITE\', 3 - \'READ ONLY\', 4 - \'READ ONLY WITH APPLY\' (A physical standby database is open in real-time query mode)','0','30d','0','','31368','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31450','18','','10329','Oracle TBS \'{#TABLESPACE}\': Tablespace free, bytes','oracle.tbs_free_bytes["{#TABLESPACE}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Free bytes of allocated space.','0','30d','0','','31362','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31451','18','','10329','Oracle TBS \'{#TABLESPACE}\': Tablespace MAX size, bytes','oracle.tbs_max_bytes["{#TABLESPACE}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Maximum size of tablespace.','0','30d','0','','31362','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31452','18','','10329','Oracle TBS \'{#TABLESPACE}\': Open status','oracle.tbs_status["{#TABLESPACE}"]','0','7d','365d','0','3','','','','',NULL,'117','','','0','','','','','2',NULL,'Tablespace status. 1 - \'ONLINE\' 2 - \'OFFLINE\' 3- \'READ ONLY\'','0','30d','0','','31362','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31454','18','','10329','Oracle TBS \'{#TABLESPACE}\': Tablespace usage percent','oracle.tbs_used_pct["{#TABLESPACE}"]','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','2',NULL,'Allocated bytes/Max bytes*100','0','30d','0','','31362','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31455','0','','10291','Network interfaces WMI get','wmi.getall[root\\cimv2,"select Name,Description,NetConnectionID,Speed,AdapterTypeId,NetConnectionStatus from win32_networkadapter where PhysicalAdapter=True and NetConnectionStatus>0"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Raw data of win32_networkadapter.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31457','18','','10291','Network interfaces discovery','net.if.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery of installed network interfaces.','0','30d','1','','31455','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31459','0','','10291','Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded','net.if.in["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31460','0','','10291','Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors','net.if.in["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31461','0','','10291','Interface {#IFNAME}({#IFALIAS}): Bits received','net.if.in["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Incoming traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31462','0','','10291','Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded','net.if.out["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31463','0','','10291','Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors','net.if.out["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31464','0','','10291','Interface {#IFNAME}({#IFALIAS}): Bits sent','net.if.out["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Outgoing traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31471','18','','10291','Interface {#IFNAME}({#IFALIAS}): Speed','net.if.speed["{#IFNAME}"]','0','7d','0d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Estimated bandwidth of the network interface if any.','0','30d','0','','31455','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31472','18','','10291','Interface {#IFNAME}({#IFALIAS}): Operational status','net.if.status["{#IFNAME}"]','0','7d','0','0','3','','','','',NULL,'81','','','0','','','','','2',NULL,'The operational status of the network interface.','0','30d','0','','31455','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31473','18','','10291','Interface {#IFNAME}({#IFALIAS}): Interface type','net.if.type["{#IFNAME}"]','0','7d','0d','0','3','','','','',NULL,'79','','','0','','','','','2',NULL,'The type of the network interface.','0','30d','0','','31455','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31477','7','','10298','Network interfaces WMI get','wmi.getall[root\\cimv2,"select Name,Description,NetConnectionID,Speed,AdapterTypeId,NetConnectionStatus from win32_networkadapter where PhysicalAdapter=True and NetConnectionStatus>0"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Raw data of win32_networkadapter.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31479','18','','10298','Network interfaces discovery','net.if.discovery','0','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Discovery of installed network interfaces.','0','30d','1','','31477','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31481','7','','10298','Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded','net.if.in["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31482','7','','10298','Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors','net.if.in["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of incoming packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31483','7','','10298','Interface {#IFNAME}({#IFALIAS}): Bits received','net.if.in["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Incoming traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31484','7','','10298','Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded','net.if.out["{#IFNAME}",dropped]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets dropped on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31485','7','','10298','Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors','net.if.out["{#IFNAME}",errors]','3m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'The number of outgoing packets with errors on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31486','7','','10298','Interface {#IFNAME}({#IFALIAS}): Bits sent','net.if.out["{#IFNAME}"]','3m','7d','365d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Outgoing traffic on the network interface.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31493','18','','10298','Interface {#IFNAME}({#IFALIAS}): Speed','net.if.speed["{#IFNAME}"]','0','7d','0d','0','3','','bps','','',NULL,NULL,'','','0','','','','','2',NULL,'Estimated bandwidth of the network interface if any.','0','30d','0','','31477','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31494','18','','10298','Interface {#IFNAME}({#IFALIAS}): Operational status','net.if.status["{#IFNAME}"]','0','7d','0','0','3','','','','',NULL,'81','','','0','','','','','2',NULL,'The operational status of the network interface.','0','30d','0','','31477','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31495','18','','10298','Interface {#IFNAME}({#IFALIAS}): Interface type','net.if.type["{#IFNAME}"]','0','7d','0d','0','3','','','','',NULL,'79','','','0','','','','','2',NULL,'The type of the network interface.','0','30d','0','','31477','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31499','16','','10169','ClassLoading: Loaded class count','jmx["java.lang:type=ClassLoading","LoadedClassCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays number of classes that are currently loaded in the Java virtual machine.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31500','16','','10169','MemoryPool: PS Perm Gen used','jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31501','16','','10169','MemoryPool: Code Cache committed','jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31502','16','','10169','MemoryPool: CodeCache maximum size','jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31503','16','','10169','MemoryPool: Code Cache used','jmx["java.lang:type=MemoryPool,name=Code Cache","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31504','16','','10169','MemoryPool: Perm Gen committed','jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31505','16','','10169','MemoryPool: Perm Gen maximum size','jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31506','16','','10169','MemoryPool: Perm Gen used','jmx["java.lang:type=MemoryPool,name=Perm Gen","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31507','16','','10169','MemoryPool: PS Old Gen','jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31508','16','','10169','MemoryPool: PS Old Gen maximum size','jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31509','16','','10169','MemoryPool: PS Old Gen used','jmx["java.lang:type=MemoryPool,name=PS Old Gen","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31510','16','','10169','MemoryPool: PS Perm Gen committed','jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31511','16','','10169','MemoryPool: PS Perm Gen maximum size','jmx["java.lang:type=MemoryPool,name=PS Perm Gen","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31512','16','','10169','MemoryPool: Tenured Gen committed','jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31513','16','','10169','MemoryPool: CMS Perm Gen maximum size','jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31514','16','','10169','MemoryPool: Tenured Gen maximum size','jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31515','16','','10169','MemoryPool: Tenured Gen used','jmx["java.lang:type=MemoryPool,name=Tenured Gen","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31516','16','','10169','OperatingSystem: File descriptors maximum count','jmx["java.lang:type=OperatingSystem","MaxFileDescriptorCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'This is the number of file descriptors we can have opened in the same process, as determined by the operating system. You can never have more file descriptors than this number.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31517','16','','10169','OperatingSystem: File descriptors opened','jmx["java.lang:type=OperatingSystem","OpenFileDescriptorCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'This is the number of opened file descriptors at the moment, if this reaches the MaxFileDescriptorCount, the application will throw an IOException: Too many open files. This could mean you’re are opening file descriptors and never closing them.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31518','16','','10169','OperatingSystem: Process CPU Load','jmx["java.lang:type=OperatingSystem","ProcessCpuLoad"]','1m','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'ProcessCpuLoad represents the CPU load in this process.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31519','16','','10169','Runtime: JVM uptime','jmx["java.lang:type=Runtime","Uptime"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31520','16','','10169','Runtime: JVM name','jmx["java.lang:type=Runtime","VmName"]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31521','16','','10169','Runtime: JVM version','jmx["java.lang:type=Runtime","VmVersion"]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31522','16','','10169','Threading: Daemon thread count','jmx["java.lang:type=Threading","DaemonThreadCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Number of daemon threads running.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31523','16','','10169','Threading: Peak thread count','jmx["java.lang:type=Threading","PeakThreadCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum number of threads being executed at the same time since the JVM was started or the peak was reset.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31524','16','','10169','Threading: Thread count','jmx["java.lang:type=Threading","ThreadCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of threads running at the current moment.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31525','16','','10169','MemoryPool: CMS Perm Gen used','jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31526','16','','10169','MemoryPool: CMS Perm Gen committed','jmx["java.lang:type=MemoryPool,name=CMS Perm Gen","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31527','16','','10169','ClassLoading: Total loaded class count','jmx["java.lang:type=ClassLoading","TotalLoadedClassCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of classes that have been loaded since the Java virtual machine has started execution.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31528','16','','10169','GarbageCollector: PS MarkSweep number of collections per second','jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionCount"]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of collections that have occurred per second.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31529','16','','10169','ClassLoading: Unloaded class count','jmx["java.lang:type=ClassLoading","UnloadedClassCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of classes that have been loaded since the Java virtual machine has started execution.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31530','16','','10169','Compilation: Name of the current JIT compiler','jmx["java.lang:type=Compilation","Name"]','1m','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of classes unloaded since the Java virtual machine has started execution.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31531','16','','10169','Compilation: Accumulated time spent','jmx["java.lang:type=Compilation","TotalCompilationTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated elapsed time spent in compilation, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31532','16','','10169','GarbageCollector: ConcurrentMarkSweep number of collections per second','jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionCount"]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of collections that have occurred per second.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31533','16','','10169','GarbageCollector: ConcurrentMarkSweep accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=ConcurrentMarkSweep","CollectionTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated collection elapsed time, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31534','16','','10169','GarbageCollector: Copy number of collections per second','jmx["java.lang:type=GarbageCollector,name=Copy","CollectionCount"]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of collections that have occurred per second.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31535','16','','10169','GarbageCollector: Copy accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=Copy","CollectionTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated collection elapsed time, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31536','16','','10169','GarbageCollector: MarkSweepCompact number of collections per second','jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionCount"]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of collections that have occurred per second.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31537','16','','10169','GarbageCollector: MarkSweepCompact accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=MarkSweepCompact","CollectionTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated collection elapsed time, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31538','16','','10169','GarbageCollector: ParNew number of collections per second','jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionCount"]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of collections that have occurred per second.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31539','16','','10169','GarbageCollector: ParNew accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=ParNew","CollectionTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated collection elapsed time, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31540','16','','10169','GarbageCollector: PS MarkSweep accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=PS MarkSweep","CollectionTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated collection elapsed time, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31541','16','','10169','MemoryPool: CMS Old Gen used','jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31542','16','','10169','GarbageCollector: PS Scavenge number of collections per second','jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionCount"]','1m','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the total number of collections that have occurred per second.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31543','16','','10169','GarbageCollector: PS Scavenge accumulated time spent in collection','jmx["java.lang:type=GarbageCollector,name=PS Scavenge","CollectionTime"]','1m','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Displays the approximate accumulated collection elapsed time, in seconds.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31544','16','','10169','Memory: Heap memory committed','jmx["java.lang:type=Memory","HeapMemoryUsage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31545','16','','10169','Memory: Heap memory maximum size','jmx["java.lang:type=Memory","HeapMemoryUsage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31546','16','','10169','Memory: Heap memory used','jmx["java.lang:type=Memory","HeapMemoryUsage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage outside the heap.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31547','16','','10169','Memory: Non-Heap memory committed','jmx["java.lang:type=Memory","NonHeapMemoryUsage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31548','16','','10169','Memory: Non-Heap memory maximum size','jmx["java.lang:type=Memory","NonHeapMemoryUsage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31549','16','','10169','Memory: Non-Heap memory used','jmx["java.lang:type=Memory","NonHeapMemoryUsage.used"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory usage outside the heap','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31550','16','','10169','Memory: Object pending finalization count','jmx["java.lang:type=Memory","ObjectPendingFinalizationCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The approximate number of objects for which finalization is pending.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31551','16','','10169','MemoryPool: CMS Old Gen committed','jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.committed"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current memory allocated','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31552','16','','10169','MemoryPool: CMS Old Gen maximum size','jmx["java.lang:type=MemoryPool,name=CMS Old Gen","Usage.max"]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31553','16','','10169','Threading: Total started thread count','jmx["java.lang:type=Threading","TotalStartedThreadCount"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of threads started since the JVM was launched.','0','30d','0','service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31554','3','','10173','VMware: Event log','vmware.eventlog[{$VMWARE.URL},skip]','1m','7d','0','0','2','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Collect VMware event log. See also: https://www.zabbix.com/documentation/current/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31555','3','','10173','VMware: Full name','vmware.fullname[{$VMWARE.URL}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'VMware service full name.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31556','3','','10173','VMware: Version','vmware.version[{$VMWARE.URL}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'VMware service version.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31557','3','','10174','VMware: Cluster name','vmware.vm.cluster.name[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Cluster name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31558','3','','10174','VMware: Swapped memory','vmware.vm.memory.size.swapped[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of guest physical memory swapped out to the VM\'s swap device by ESX.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31559','3','','10174','VMware: Unshared storage space','vmware.vm.storage.unshared[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Total storage space, in bytes, occupied by the virtual machine across all datastores, that is not shared with any other virtual machine.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31560','3','','10174','VMware: Uncommitted storage space','vmware.vm.storage.uncommitted[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Additional storage space, in bytes, potentially used by this virtual machine on all datastores.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31561','3','','10174','VMware: Committed storage space','vmware.vm.storage.committed[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Total storage space, in bytes, committed to this virtual machine across all datastores.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31562','3','','10174','VMware: Power state','vmware.vm.powerstate[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','','','',NULL,'12','','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The current power state of the virtual machine.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31563','3','','10174','VMware: Memory size','vmware.vm.memory.size[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Total size of configured memory.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31564','3','','10174','VMware: Host memory usage','vmware.vm.memory.size.usage.host[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of host physical memory allocated to the VM, accounting for saving from memory sharing with other VMs.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31565','3','','10174','VMware: Guest memory usage','vmware.vm.memory.size.usage.guest[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of guest physical memory that is being used by the VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31566','3','','10174','VMware: Shared memory','vmware.vm.memory.size.shared[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of guest physical memory shared through transparent page sharing.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31567','3','','10174','VMware: Number of virtual CPUs','vmware.vm.cpu.num[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Number of virtual CPUs assigned to the guest.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31568','3','','10174','VMware: Private memory','vmware.vm.memory.size.private[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Amount of memory backed by host memory and not being shared.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31569','3','','10174','VMware: Compressed memory','vmware.vm.memory.size.compressed[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of memory currently in the compression cache for this VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31570','3','','10174','VMware: Ballooned memory','vmware.vm.memory.size.ballooned[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of guest physical memory that is currently reclaimed through the balloon driver.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31571','3','','10174','VMware: Hypervisor name','vmware.vm.hv.name[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Hypervisor name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31572','3','','10174','VMware: Datacenter name','vmware.vm.datacenter.name[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Datacenter name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31573','3','','10174','VMware: CPU usage','vmware.vm.cpu.usage[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','Hz','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Current upper-bound on CPU usage. The upper-bound is based on the host the virtual machine is current running on, as well as limits configured on the virtual machine itself or any parent resource pool. Valid while the virtual machine is running.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31574','3','','10174','VMware: CPU ready','vmware.vm.cpu.ready[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','ms','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Time that the virtual machine was ready, but could not get scheduled to run on the physical CPU during last measurement interval (VMware vCenter/ESXi Server performance counter sampling interval - 20 seconds)','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31575','3','','10174','VMware: Uptime','vmware.vm.uptime[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','uptime','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'System uptime.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31576','3','','10175','VMware: Cluster name','vmware.hv.cluster.name[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Cluster name of the guest VM.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31577','3','','10175','VMware: Vendor','vmware.hv.hw.vendor[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The hardware vendor identification.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31578','3','','10175','VMware: Version','vmware.hv.version[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Dot-separated version string.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31579','3','','10175','VMware: Uptime','vmware.hv.uptime[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','uptime','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'System uptime.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31580','3','','10175','VMware: Overall status','vmware.hv.status[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','','','',NULL,'13','','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The overall alarm status of the host: gray - unknown, green - ok, red - it has a problem, yellow - it might have a problem.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31581','3','','10175','VMware: Health state rollup','vmware.hv.sensor.health.state[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','','','',NULL,'13','','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The host health state rollup sensor value: gray - unknown, green - ok, red - it has a problem, yellow - it might have a problem.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31582','3','','10175','VMware: Number of bytes transmitted','vmware.hv.network.out[{$VMWARE.URL},{HOST.HOST},bps]','{$VMWARE_PERF_INTERVAL}','7d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'VMware hypervisor network output statistics (bytes per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31583','3','','10175','VMware: Number of bytes received','vmware.hv.network.in[{$VMWARE.URL},{HOST.HOST},bps]','{$VMWARE_PERF_INTERVAL}','7d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'VMware hypervisor network input statistics (bytes per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31584','3','','10175','VMware: Used memory','vmware.hv.memory.used[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Physical memory usage on the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31585','3','','10175','VMware: Ballooned memory','vmware.hv.memory.size.ballooned[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The amount of guest physical memory that is currently reclaimed through the balloon driver. Sum of all guest VMs.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31586','3','','10175','VMware: Bios UUID','vmware.hv.hw.uuid[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The hardware BIOS identification.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31587','3','','10175','VMware: CPU usage','vmware.hv.cpu.usage[{$VMWARE.URL},{HOST.HOST}]','1m','7d','365d','0','3','','Hz','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Aggregated CPU usage across all cores on the host in Hz. This is only available if the host is connected.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31588','3','','10175','VMware: Model','vmware.hv.hw.model[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The system model identification.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31589','3','','10175','VMware: Total memory','vmware.hv.hw.memory[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The physical memory size.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31590','3','','10175','VMware: CPU threads','vmware.hv.hw.cpu.threads[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Number of physical CPU threads on the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31591','3','','10175','VMware: CPU cores','vmware.hv.hw.cpu.num[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Number of physical CPU cores on the host. Physical CPU cores are the processors contained by a CPU package.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31592','3','','10175','VMware: CPU model','vmware.hv.hw.cpu.model[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The CPU model.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31593','3','','10175','VMware: CPU frequency','vmware.hv.hw.cpu.freq[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','Hz','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The speed of the CPU cores. This is an average value if there are multiple speeds. The product of CPU frequency and number of cores is approximately equal to the sum of the MHz for all the individual cores on the host.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31594','3','','10175','VMware: Full name','vmware.hv.fullname[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'The complete product name, including the version information.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31595','3','','10175','VMware: Datacenter name','vmware.hv.datacenter.name[{$VMWARE.URL},{HOST.HOST}]','1h','7d','0','0','1','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Datacenter name of the hypervisor.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31596','3','','10175','VMware: Number of guest VMs','vmware.hv.vm.num[{$VMWARE.URL},{HOST.HOST}]','1h','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','0',NULL,'Number of guest virtual machines.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31597','3','','10173','Discover VMware clusters','vmware.cluster.discovery[{$VMWARE.URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'Discovery of clusters','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31598','3','','10173','Discover VMware datastores','vmware.datastore.discovery[{$VMWARE.URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31599','3','','10173','Discover VMware hypervisors','vmware.hv.discovery[{$VMWARE.URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'Discovery of hypervisors.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31600','3','','10173','Discover VMware VMs','vmware.vm.discovery[{$VMWARE.URL}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'Discovery of guest virtual machines.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31601','3','','10174','Network device discovery','vmware.vm.net.if.discovery[{$VMWARE.URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'Discovery of all network devices.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31602','3','','10174','Disk device discovery','vmware.vm.vfs.dev.discovery[{$VMWARE.URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'Discovery of all disk devices.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31603','3','','10174','Mounted filesystem discovery','vmware.vm.vfs.fs.discovery[{$VMWARE.URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'Discovery of all guest file systems.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31604','3','','10175','Datastore discovery','vmware.hv.datastore.discovery[{$VMWARE.URL},{HOST.HOST}]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','1',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31605','3','','10173','VMware: Status of "{#CLUSTER.NAME}" cluster','vmware.cluster.status[{$VMWARE.URL},{#CLUSTER.NAME}]','1m','7d','365d','0','3','','','','',NULL,'13','','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware cluster status.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31606','3','','10173','VMware: Average read latency of the datastore {#DATASTORE}','vmware.datastore.read[{$VMWARE.URL},{#DATASTORE},latency]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'Amount of time for a read operation from the datastore (milliseconds).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31607','3','','10173','VMware: Free space on datastore {#DATASTORE} (percentage)','vmware.datastore.size[{$VMWARE.URL},{#DATASTORE},pfree]','5m','7d','365d','0','0','','%','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware datastore space in percentage from total.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31608','3','','10173','VMware: Total size of datastore {#DATASTORE}','vmware.datastore.size[{$VMWARE.URL},{#DATASTORE}]','5m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware datastore space in bytes.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31609','3','','10173','VMware: Average write latency of the datastore {#DATASTORE}','vmware.datastore.write[{$VMWARE.URL},{#DATASTORE},latency]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'Amount of time for a write operation to the datastore (milliseconds).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31610','3','','10174','VMware: Number of bytes received on interface {#IFDESC}','vmware.vm.net.if.in[{$VMWARE.URL},{HOST.HOST},{#IFNAME},bps]','1m','7d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine network interface input statistics (bytes per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31611','3','','10174','VMware: Number of packets received on interface {#IFDESC}','vmware.vm.net.if.in[{$VMWARE.URL},{HOST.HOST},{#IFNAME},pps]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine network interface input statistics (packets per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31612','3','','10174','VMware: Number of bytes transmitted on interface {#IFDESC}','vmware.vm.net.if.out[{$VMWARE.URL},{HOST.HOST},{#IFNAME},bps]','1m','7d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine network interface output statistics (bytes per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31613','3','','10174','VMware: Number of packets transmitted on interface {#IFDESC}','vmware.vm.net.if.out[{$VMWARE.URL},{HOST.HOST},{#IFNAME},pps]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine network interface output statistics (packets per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31614','3','','10174','VMware: Average number of bytes read from the disk {#DISKDESC}','vmware.vm.vfs.dev.read[{$VMWARE.URL},{HOST.HOST},{#DISKNAME},bps]','1m','7d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine disk device read statistics (bytes per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31615','3','','10174','VMware: Average number of reads from the disk {#DISKDESC}','vmware.vm.vfs.dev.read[{$VMWARE.URL},{HOST.HOST},{#DISKNAME},ops]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine disk device read statistics (operations per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31616','3','','10174','VMware: Average number of bytes written to the disk {#DISKDESC}','vmware.vm.vfs.dev.write[{$VMWARE.URL},{HOST.HOST},{#DISKNAME},bps]','1m','7d','365d','0','3','','Bps','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine disk device write statistics (bytes per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31617','3','','10174','VMware: Average number of writes to the disk {#DISKDESC}','vmware.vm.vfs.dev.write[{$VMWARE.URL},{HOST.HOST},{#DISKNAME},ops]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine disk device write statistics (operations per second).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31618','3','','10174','VMware: Free disk space on {#FSNAME}','vmware.vm.vfs.fs.size[{$VMWARE.URL},{HOST.HOST},{#FSNAME},free]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine file system statistics (bytes).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31619','3','','10174','VMware: Free disk space on {#FSNAME} (percentage)','vmware.vm.vfs.fs.size[{$VMWARE.URL},{HOST.HOST},{#FSNAME},pfree]','1m','7d','365d','0','0','','%','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine file system statistics (percentages).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31620','3','','10174','VMware: Total disk space on {#FSNAME}','vmware.vm.vfs.fs.size[{$VMWARE.URL},{HOST.HOST},{#FSNAME},total]','1h','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine total disk space (bytes).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31621','3','','10174','VMware: Used disk space on {#FSNAME}','vmware.vm.vfs.fs.size[{$VMWARE.URL},{HOST.HOST},{#FSNAME},used]','1m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware virtual machine used disk space (bytes).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31622','3','','10175','VMware: Average read latency of the datastore {#DATASTORE}','vmware.hv.datastore.read[{$VMWARE.URL},{HOST.HOST},{#DATASTORE},latency]','{$VMWARE_PERF_INTERVAL}','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'Average amount of time for a read operation from the datastore (milliseconds).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31623','3','','10175','VMware: Free space on datastore {#DATASTORE} (percentage)','vmware.hv.datastore.size[{$VMWARE.URL},{HOST.HOST},{#DATASTORE},pfree]','5m','7d','365d','0','0','','%','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware datastore space in percentage from total.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31624','3','','10175','VMware: Total size of datastore {#DATASTORE}','vmware.hv.datastore.size[{$VMWARE.URL},{HOST.HOST},{#DATASTORE}]','5m','7d','365d','0','3','','B','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'VMware datastore space in bytes.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31625','3','','10175','VMware: Average write latency of the datastore {#DATASTORE}','vmware.hv.datastore.write[{$VMWARE.URL},{HOST.HOST},{#DATASTORE},latency]','{$VMWARE_PERF_INTERVAL}','7d','365d','0','3','','','','',NULL,NULL,'','','0','{$VMWARE.USERNAME}','{$VMWARE.PASSWORD}','','','2',NULL,'Average amount of time for a write operation to the datastore (milliseconds).','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31626','15','','10327','MSSQL: Percent of Adhoc queries running','mssql.percent_of_adhoc_queries','0;m0-59s3','7d','365d','0','0','','%','','',NULL,NULL,'last(mssql.sql_compilations_sec.rate) * 100 /\n(last(mssql.batch_requests_sec.rate) + (last(mssql.batch_requests_sec.rate)=0))','','0','','','','','0',NULL,'The ratio of SQL compilations per second to Batch requests per second in percent.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31627','15','','10327','MSSQL: Full scans to Index searches ratio','mssql.scan_to_search','0;m0-59s3','7d','365d','0','0','','','','',NULL,NULL,'last(mssql.full_scans_sec.rate) / (last(mssql.index_searches_sec.rate) + (last(mssql.index_searches_sec.rate)=0))','','0','','','','','0',NULL,'The ratio of Full scans per second to Index searches per second. The threshold recommendation is strictly for OLTP workloads.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31628','15','','10327','MSSQL: Percent of Recompiled Transact-SQL Objects','mssql.percent_recompilations_to_compilations','0;m0-59s3','7d','365d','0','0','','%','','',NULL,NULL,'last(mssql.sql_recompilations_sec.rate) * 100 /\n(last(mssql.sql_compilations_sec.rate) + (last(mssql.sql_compilations_sec.rate)=0))','','0','','','','','0',NULL,'The ratio of SQL re-compilations per second to SQL compilations per second in percent.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31629','0','','10333','Oracle: Ping','oracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','30s','7d','365d','0','3','','','','',NULL,'1','','','0','','','','','0',NULL,'Test the connection to Oracle Database state','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31630','0','','10333','Oracle: Datafiles count','oracle.datafiles.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Current number of datafile.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31631','0','','10333','Oracle: Get FRA stats','oracle.fra.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get FRA statistics.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31632','0','','10333','Oracle: Number of processes','oracle.proc.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31633','0','','10333','Oracle: Get SGA stats','oracle.sga.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get SGA statistics.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31634','0','','10333','Oracle: Get PDB info','oracle.pdb.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get info about PDB databases on instansce.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31635','0','','10333','Oracle: Get ASM stats','oracle.diskgroups.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get ASM disk groups stats.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31636','0','','10333','Oracle: Get system metrics','oracle.sys.metrics["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','0;m0-59','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The item gets system metric values.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31637','0','','10333','Oracle: Get instance state','oracle.instance.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The item gets state of the current instance.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31638','0','','10333','Oracle: Get system parameters','oracle.sys.params["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get a set of system parameter values.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31639','0','','10333','Oracle: Get PGA stats','oracle.pga.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get PGA statistics.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31640','0','','10333','Oracle: Redo logs available to switch','oracle.redolog.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Number of available for log switching inactive/unused REDO logs.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31641','0','','10333','Oracle: User\'s expire password','oracle.user.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','7d','365d','0','0','','days','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of days before zabbix account password expired.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31642','0','','10333','Oracle: Get archive log info','oracle.archive.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','5m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31643','0','','10333','Oracle: Get sessions stats','oracle.sessions.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{$ORACLE.SESSION.LOCK.MAX.TIME}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get sessions statistics. {$ORACLE.SESSION.LOCK.MAX.TIME} -- maximum seconds in the current wait condition for counting long time locked sessions. Default: 600 seconds.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31644','0','','10333','Oracle: Get CDB and No-CDB info','oracle.cdb.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get info about CDB and  No-CDB databases on instansce.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31645','0','','10333','Oracle: Get tablespaces stats','oracle.ts.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1m','0','0','0','4','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Get tablespaces stats.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31646','18','','10333','Oracle: Active user sessions','oracle.session_active_user','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of active user sessions.','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31647','18','','10333','Oracle: Rows per sort','oracle.rows_per_sort','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The average number of rows per sort for all types of sorts performed.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31648','18','','10333','Oracle: Active background sessions','oracle.session_active_background','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of active background sessions.','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31649','18','','10333','Oracle: Sessions concurrency','oracle.session_concurrency_rate','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'The percentage of concurrency. Concurrency is a DB behaviour when different transactions request to change the same resource - in case of modifying data transactions sequentially block temporarily the right to change data, the rest of the transactions are waiting for access. In the case when access for resource is locked for a long time, then the concurrency grows (like the transaction queue) and this often has an extremely negative impact on performance. A high contention value does not indicate the root cause of the problem, but is a signal to search for it.','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31650','18','','10333','Oracle: Session count','oracle.session_count','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Session count.','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31651','18','','10333','Oracle: Inactive user sessions','oracle.session_inactive_user','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of inactive user sessions.','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31652','18','','10333','Oracle: SQL service response time','oracle.service_response_time','0','7d','365d','0','0','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'SQL service response time in seconds.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31653','18','','10333','Oracle: Sessions limit','oracle.session_limit','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'User and system sessions.','0','30d','0','','31638','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31654','18','','10333','Oracle: Sessions lock rate','oracle.session_lock_rate','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'The percentage of locked sessions. Locks are mechanisms that prevent destructive interaction between transactions accessing the same resource—either user objects such as tables and rows or system objects not visible to users, such as shared data structures in memory and data dictionary rows.','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31655','18','','10333','Oracle: Processes limit','oracle.processes_limit','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Max user processes.','0','30d','0','','31638','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31656','18','','10333','Oracle: Active parallel sessions','oracle.active_parallel_sessions','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of active parallel sessions.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31657','18','','10333','Oracle: Sessions locked over {$ORACLE.SESSION.LOCK.MAX.TIME}s','oracle.session_long_time_locked','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Count of the prolongely locked sessions. (You can change maximum session lock duration in seconds for query by {$ORACLE.SESSION.LOCK.MAX.TIME} macro. Default 600 sec)','0','30d','0','','31643','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31658','18','','10333','Oracle: SGA, buffer cache','oracle.sga_buffer_cache','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'The size of the cache of standard blocks.','0','30d','0','','31633','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31659','18','','10333','Oracle: SGA, fixed','oracle.sga_fixed','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'The fixed SGA is an internal housekeeping area.','0','30d','0','','31633','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31660','18','','10333','Oracle: SGA, java pool','oracle.sga_java_pool','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Memory is allocated from the java pool.','0','30d','0','','31633','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31661','18','','10333','Oracle: SGA, log buffer','oracle.sga_log_buffer','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of bytes allocated for the redo log buffer.','0','30d','0','','31633','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31662','18','','10333','Oracle: SGA, shared pool','oracle.sga_shared_pool','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Memory is allocated from the shared pool.','0','30d','0','','31633','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31663','18','','10333','Oracle: Shared pool free %','oracle.shared_pool_free','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'Shared pool free memory percent. Free/Total','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31664','18','','10333','Oracle: Total sorts per user call','oracle.sorts_per_user_call','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Total sorts per user call.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31665','18','','10333','Oracle: Temp space used','oracle.temp_space_used','0','7d','365d','0','0','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Temp space used.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31666','18','','10333','Oracle: PGA, Total allocated','oracle.total_pga_allocated','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current amount of PGA memory allocated by the instance. The Oracle Database attempts to keep this number below the value of the PGA_AGGREGATE_TARGET initialization parameter. However, it is possible for the PGA allocated to exceed that value by a small percentage and for a short period of time when the work area workload is increasing very rapidly or when PGA_AGGREGATE_TARGET is set to a small value.','0','30d','0','','31639','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31667','18','','10333','Oracle: PGA, Total freeable','oracle.total_pga_freeable','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Number of bytes of PGA memory in all processes that could be freed back to the operating system.','0','30d','0','','31639','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31668','18','','10333','Oracle: PGA, Total inuse','oracle.total_pga_used','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Indicates how much PGA memory is currently consumed by work areas. This number can be used to determine how much memory is consumed by other consumers of the PGA memory (for example, PL/SQL or Java).','0','30d','0','','31639','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31669','18','','10333','Oracle: Uptime','oracle.uptime','0','7d','0d','0','3','','s','','',NULL,NULL,'','','0','','','','','0',NULL,'Oracle instance uptime in seconds.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31670','18','','10333','Oracle: User rollbacks per second','oracle.user_rollbacks_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of times that users manually issue the ROLLBACK statement or an error occurred during a user\'s transactions.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31671','18','','10333','Oracle: SGA, large pool','oracle.sga_large_pool','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Memory is allocated from the large pool.','0','30d','0','','31633','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31672','18','','10333','Oracle: Physical reads bytes per second','oracle.physical_read_bytes_rate','0','7d','365d','0','0','','Bps','','',NULL,NULL,'','','0','','','','','0',NULL,'Read bytes per second.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31673','18','','10333','Oracle: Physical writes per second','oracle.physical_writes_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'Writes per second.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31674','18','','10333','Oracle: FRA, Space reclaimable','oracle.fra_space_reclaimable','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Total amount of disk space (in bytes) that can be created by deleting obsolete, redundant, and other low priority files from the fast recovery area.','0','30d','0','','31631','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31675','18','','10333','Oracle: Average active sessions','oracle.active_sessions','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The average active sessions at a point in time. It is the number of sessions that are either working or waiting.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31676','18','','10333','Oracle: Archiver state','oracle.archiver_state','0','7d','365d','0','3','','','','',NULL,'116','','','0','','','','','0',NULL,'Automatic archiving status.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31677','18','','10333','Oracle: Buffer cache hit ratio','oracle.buffer_cache_hit_ratio','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'Ratio of buffer cache hits. (LogRead - PhyRead)/LogRead','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31678','18','','10333','Oracle: Global cache blocks corrupted','oracle.cache_blocks_corrupt','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of blocks that encountered a corruption or checksum failure during interconnect.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31679','18','','10333','Oracle: Global cache blocks lost','oracle.cache_blocks_lost','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of global cache blocks lost','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31680','18','','10333','Oracle: Cursor cache hit ratio','oracle.cursor_cache_hit_ratio','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'Ratio of cursor cache hits. CursorCacheHit/SoftParse','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31681','18','','10333','Oracle: Database CPU time ratio','oracle.database_cpu_time_ratio','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'Calculated by dividing the total CPU used by the database by the Oracle time model statistic DB time.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31682','18','','10333','Oracle: Database wait time ratio','oracle.database_wait_time_ratio','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'Wait time: the time that the server process spends waiting for available shared resources (to be released by other server processes) such as latches, locks, data buffers, and so on','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31683','18','','10333','Oracle: Datafiles limit','oracle.db_files_limit','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Max allowable number of  datafile.','0','30d','0','','31638','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31684','18','','10333','Oracle: Disk sort per second','oracle.disk_sorts','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of sorts going to disk per second','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31685','18','','10333','Oracle: Enqueue timeouts per second','oracle.enqueue_timeouts_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'Enqueue timeouts per second.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31686','18','','10333','Oracle: FRA, Number of files','oracle.fra_number_of_files','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Number of files in the fast recovery area','0','30d','0','','31631','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31687','18','','10333','Oracle: FRA, Number of restore points','oracle.fra_restore_point','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','','31631','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31688','18','','10333','Oracle: FRA, Space limit','oracle.fra_space_limit','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum amount of disk space (in bytes) that the database can use for the fast recovery area.','0','30d','0','','31631','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31689','18','','10333','Oracle: FRA, Used space','oracle.fra_space_used','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Amount of disk space (in bytes) used by fast recovery area files created in current and all previous fast recovery areas.','0','30d','0','','31631','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31690','18','','10333','Oracle: Physical writes bytes per second','oracle.physical_write_bytes_rate','0','7d','365d','0','0','','Bps','','',NULL,NULL,'','','0','','','','','0',NULL,'Write bytes per second.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31691','18','','10333','Oracle: FRA, Used space in %','oracle.fra_usable_pct','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'','0','30d','0','','31631','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31692','18','','10333','Oracle: GC CR block received per second','oracle.gc_cr_block_received_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'GC CR block received per second.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31693','18','','10333','Oracle: Instance hostname','oracle.instance_hostname','0','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Name of the host machine.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31694','18','','10333','Oracle: Instance name','oracle.instance_name','0','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Name of the instance.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31695','18','','10333','Oracle: Instance status','oracle.instance_status','0','7d','365d','0','3','','','','',NULL,'114','','','0','','','','','0',NULL,'Status of the instance.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31696','18','','10333','Oracle: Instance role','oracle.instance.role','0','7d','365d','0','3','','','','',NULL,'115','','','0','','','','','0',NULL,'Indicates whether the instance is an active instance or an inactive secondary instance.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31697','18','','10333','Oracle: Library cache hit ratio','oracle.library_cache_hit_ratio','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'Ratio of library cache hits. Hits/Pins','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31698','18','','10333','Oracle: Logons per second','oracle.logons_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of logon attempts.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31699','18','','10333','Oracle: Long table scans per second','oracle.long_table_scans_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of long table scans per second. A table is considered \'long\' if the table is not cached and if its high-water mark is greater than 5 blocks.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31700','18','','10333','Oracle: Memory sorts ratio','oracle.memory_sorts_ratio','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','0',NULL,'The percentage of sorts (from ORDER BY clauses or index building) that are done to disk vs in-memory.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31701','18','','10333','Oracle: PGA, Global memory bound','oracle.pga_global_bound','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Maximum size of a work area executed in automatic mode.','0','30d','0','','31639','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31702','18','','10333','Oracle: PGA, Aggregate target parameter','oracle.pga_target','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','0',NULL,'Current value of the PGA_AGGREGATE_TARGET initialization parameter. If this parameter is not set, then its value is 0 and automatic management of PGA memory is disabled.','0','30d','0','','31639','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31703','18','','10333','Oracle: Active serial sessions','oracle.active_serial_sessions','0','7d','365d','0','0','','','','',NULL,NULL,'','','0','','','','','0',NULL,'The number of active serial sessions.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31704','18','','10333','Oracle: Physical reads per second','oracle.physical_reads_rate','0','7d','365d','0','0','','Rps','','',NULL,NULL,'','','0','','','','','0',NULL,'Reads per second.','0','30d','0','','31636','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31705','18','','10333','Oracle: Version','oracle.version','0','7d','0','0','1','','','','',NULL,NULL,'','','0','','','','','0',NULL,'Oracle Server version.','0','30d','0','','31637','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31706','0','','10333','Archive log discovery','oracle.archive.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Log archive destinations.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31707','0','','10333','Database discovery','oracle.db.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Scanning databases in DBMS.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31708','0','','10333','ASM disk groups discovery','oracle.diskgroups.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'ASM disk groups','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31709','0','','10333','PDB discovery','oracle.pdb.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Scanning PDB in DBMS.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31710','0','','10333','Tablespace discovery','oracle.ts.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]','1h','90d','0','0','4','','','','',NULL,NULL,'','','0','','','','','1',NULL,'Scanning tablespaces in DBMS.','0','30d','1','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31711','18','','10333','Archivelog \'{#DEST_NAME}\': Error','oracle.archivelog_error["{#DEST_NAME}"]','0','7d','0','0','4','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Displays the error text','0','30d','0','','31642','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31712','18','','10333','Archivelog \'{#DEST_NAME}\': Last sequence','oracle.archivelog_log_sequence["{#DEST_NAME}"]','0','7d','365d','0','3','','','','',NULL,NULL,'','','0','','','','','2',NULL,'Identifies the sequence number of the last archived redo log to be archived','0','30d','0','','31642','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31713','18','','10333','Archivelog \'{#DEST_NAME}\': Status','oracle.archivelog_log_status["{#DEST_NAME}"]','0','7d','365d','0','3','','','','',NULL,'118','','','0','','','','','2',NULL,'Identifies the current status of the destination: 1 - \'Valid\', 2 - \'Dederred\',3 - \'Error\', 0 - \'Unknown\'','0','30d','0','','31642','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31714','18','','10333','Oracle Database \'{#DBNAME}\': Force logging','oracle.db_force_logging["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'119','','','0','','','','','2',NULL,'Indicates whether the database is under force logging mode (YES) or not (NO)','0','30d','0','','31644','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31715','18','','10333','Oracle Database \'{#DBNAME}\': Log mode','oracle.db_log_mode["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'120','','','0','','','','','2',NULL,'Archive log mode, 0 - \'NOARCHIVELOG\', 1 - \'ARCHIVELOG\', 2 - \'MANUAL\'','0','30d','0','','31644','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31716','18','','10333','Oracle Database \'{#DBNAME}\': Open status','oracle.db_open_mode["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'112','','','0','','','','','2',NULL,'1 - \'MOUNTED\', 2 - \'READ WRITE\', 3 - \'READ ONLY\', 4 - \'READ ONLY WITH APPLY\' (A physical standby database is open in real-time query mode)','0','30d','0','','31644','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31717','18','','10333','Oracle Database \'{#DBNAME}\': Role','oracle.db_role["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'113','','','0','','','','','2',NULL,'Current role of the database, 1 - \'SNAPSHOT STANDBY\', 2 - \'LOGICAL STANDBY\', 3 - \'PHYSICAL STANDBY\', 4 - \'PRIMARY \', 5 -\'FAR SYNC\'','0','30d','0','','31644','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31718','18','','10333','ASM \'{#DG_NAME}\': Free size','oracle.asm_free_size["{#DG_NAME}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Free size of ASM disk group.','0','30d','0','','31635','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31719','18','','10333','ASM \'{#DG_NAME}\': Total size','oracle.asm_total_size["{#DG_NAME}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Total size of ASM disk group.','0','30d','0','','31635','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31720','18','','10333','ASM \'{#DG_NAME}\': Free size','oracle.asm_used_pct["{#DG_NAME}"]','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','2',NULL,'Usage percent of ASM disk group.','0','30d','0','','31635','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31721','18','','10333','Oracle Database \'{#DBNAME}\': Open status','oracle.pdb_open_mode["{#DBNAME}"]','0','7d','365d','0','3','','','','',NULL,'112','','','0','','','','','2',NULL,'1 - \'MOUNTED\', 2 - \'READ WRITE\', 3 - \'READ ONLY\', 4 - \'READ ONLY WITH APPLY\' (A physical standby database is open in real-time query mode)','0','30d','0','','31634','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31722','18','','10333','Oracle TBS \'{#TABLESPACE}\': Tablespace allocated, bytes','oracle.tbs_alloc_bytes["{#TABLESPACE}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Currently allocated bytes for tablespace (sum of the current size of datafiles).','0','30d','0','','31645','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31723','18','','10333','Oracle TBS \'{#TABLESPACE}\': Tablespace free, bytes','oracle.tbs_free_bytes["{#TABLESPACE}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Free bytes of allocated space.','0','30d','0','','31645','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31724','18','','10333','Oracle TBS \'{#TABLESPACE}\': Tablespace MAX size, bytes','oracle.tbs_max_bytes["{#TABLESPACE}"]','0','7d','365d','0','3','','B','','',NULL,NULL,'','','0','','','','','2',NULL,'Maximum size of tablespace.','0','30d','0','','31645','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31725','18','','10333','Oracle TBS \'{#TABLESPACE}\': Open status','oracle.tbs_status["{#TABLESPACE}"]','0','7d','365d','0','3','','','','',NULL,'117','','','0','','','','','2',NULL,'Tablespace status. 1 - \'ONLINE\' 2 - \'OFFLINE\' 3- \'READ ONLY\'','0','30d','0','','31645','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31726','18','','10333','Oracle TBS \'{#TABLESPACE}\': Tablespace usage percent','oracle.tbs_used_pct["{#TABLESPACE}"]','0','7d','365d','0','0','','%','','',NULL,NULL,'','','0','','','','','2',NULL,'Allocated bytes/Max bytes*100','0','30d','0','','31645','3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31727','11','','10329','Oracle: Get system metrics (2)','db.odbc.get[get_system_metrics_2,"{$ORACLE.DSN}"]','0;m0-59','0','0','0','4','','','','',NULL,NULL,'SELECT \'SGA::\' || INITCAP(pool) AS METRIC , SUM(bytes) AS VALUE FROM V$SGASTAT\nWHERE pool IN ( \'java pool\', \'large pool\' ) GROUP BY pool\nUNION\nSELECT \'SGA::Shared Pool\', SUM(bytes) FROM V$SGASTAT\nWHERE pool = \'shared pool\' AND name NOT IN (\'library cache\', \'dictionary cache\', \'free memory\', \'sql area\')\nUNION\nSELECT \'SGA::\' || INITCAP(name), bytes FROM V$SGASTAT\nWHERE pool IS NULL AND name IN (\'log_buffer\', \'fixed_sga\')\nUNION\nSELECT \'SGA::Buffer_Cache\', SUM(bytes) FROM V$SGASTAT\nWHERE pool IS NULL AND name IN (\'buffer_cache\', \'db_block_buffers\')\nUNION\nSELECT \'REDO::Available\', count(*) from v$log t where t.status in (\'INACTIVE\', \'UNUSED\')\nUNION\nSELECT \'USER::Expire password\', ROUND(DECODE(SIGN(NVL(u.expiry_date, SYSDATE + 999) - SYSDATE),-1, 0, NVL(u.expiry_date, SYSDATE + 999) - SYSDATE)) exp_passwd_days_before\nFROM dba_users u WHERE username = UPPER(\'{$ORACLE.USER}\')\nUNION\n SELECT \'FRA::Space Limit\', space_limit FROM V$RECOVERY_FILE_DEST\nUNION\n SELECT \'FRA::Space Used\', space_used FROM V$RECOVERY_FILE_DEST\nUNION\n SELECT \'FRA::Space Reclaimable\', space_reclaimable FROM V$RECOVERY_FILE_DEST\nUNION\n SELECT \'FRA::Number Of Files\', number_of_files FROM V$RECOVERY_FILE_DEST\nUNION\n SELECT \'FRA::Usable Pct\', DECODE(space_limit, 0, 0,(100-(100 *(space_used-space_reclaimable)/ space_limit))) AS VALUE FROM V$RECOVERY_FILE_DEST\nUNION\n SELECT \'FRA::Restore Point\', COUNT(*) FROM V$RESTORE_POINT;','','0','{$ORACLE.USER}','{$ORACLE.PASSWORD}','','','0',NULL,'The item gets system metric values.','0','30d','0','',NULL,'3s','','','','200','1','0','','0','0','0','0','0','0','0');
+INSERT INTO `items` (`itemid`,`type`,`snmp_oid`,`hostid`,`name`,`key_`,`delay`,`history`,`trends`,`status`,`value_type`,`trapper_hosts`,`units`,`formula`,`logtimefmt`,`templateid`,`valuemapid`,`params`,`ipmi_sensor`,`authtype`,`username`,`password`,`publickey`,`privatekey`,`flags`,`interfaceid`,`description`,`inventory_link`,`lifetime`,`evaltype`,`jmx_endpoint`,`master_itemid`,`timeout`,`url`,`query_fields`,`posts`,`status_codes`,`follow_redirects`,`post_type`,`headers`,`retrieve_mode`,`request_method`,`output_format`,`verify_peer`,`verify_host`,`allow_traps`,`discover`) values ('31728','11','','10329','Oracle: Get system metrics (1)','db.odbc.get[get_system_metrics_1,"{$ORACLE.DSN}"]','0;m0-59','0','0','0','4','','','','',NULL,NULL,'SELECT \'SYS::\' || METRIC_NAME AS METRIC, ROUND(VALUE,3) AS VALUE\n FROM V$SYSMETRIC WHERE GROUP_ID = 2\nUNION\n  SELECT \'SYSPARAM::\' || INITCAP(NAME), to_number(VALUE)\n  FROM V$SYSTEM_PARAMETER WHERE NAME IN (\'sessions\', \'processes\', \'db_files\')\nUNION\n SELECT \'SESSION::Long time locked\' ,count(*) FROM V$SESSION s WHERE s.BLOCKING_SESSION IS NOT NULL AND s.BLOCKING_SESSION_STATUS=\'VALID\' AND s.SECONDS_IN_WAIT > {$ORACLE.SESSION.LOCK.MAX.TIME}\nUNION\nSELECT \'SESSION::Lock rate\' ,(cnt_block / cnt_all)* 100 pct\nFROM ( SELECT COUNT(*) cnt_block FROM v$session WHERE blocking_session IS NOT NULL), ( SELECT COUNT(*) cnt_all FROM v$session)\nUNION\n SELECT \'SESSION::Total\', COUNT(*) FROM V$SESSION\nUNION\nSELECT \'SESSION::\' || INITCAP(STATUS)|| \' \' || INITCAP(TYPE), COUNT(*) FROM V$SESSION GROUP BY STATUS, TYPE\nUNION\nSELECT \'SESSION::Concurrency rate\', NVL(ROUND(SUM(duty_act.cnt*100 / num_cores.val)), 0)\nFROM\n( SELECT DECODE(session_state, \'ON CPU\', \'CPU\', wait_class) wait_class, ROUND(COUNT(*)/(60 * 15), 1) cnt\nFROM v$active_session_history sh\nWHERE sh.sample_time >= SYSDATE - 15 / 1440 AND DECODE(session_state, \'ON CPU\', \'CPU\', wait_class) IN(\'Concurrency\')\nGROUP BY DECODE(session_state, \'ON CPU\', \'CPU\', wait_class)) duty_act,\n( SELECT SUM(value) val FROM v$osstat WHERE stat_name = \'NUM_CPU_CORES\') num_cores\nUNION\n SELECT \'PGA::\' || INITCAP(NAME), VALUE FROM V$PGASTAT\n UNION\nSELECT \'PROC::