From a3967ea004c78e8b22a9638813927c4f5e3d21d16cb609e31c120b957bf739a6 Mon Sep 17 00:00:00 2001 From: Boris Manojlovic Date: Fri, 27 Sep 2024 13:34:57 +0000 Subject: [PATCH] Use SOURCE_DATE_EPOCH for reproducible jar mtime OBS-URL: https://build.opensuse.org/package/show/server:monitoring:zabbix/zabbix?expand=0&rev=66 --- .gitattributes | 23 + .gitignore | 1 + README-SSL.SUSE | 3 + README.SUSE | 13 + apache2-zabbix.conf | 19 + rn6.0.0.html | 6238 +++++++++++++++++++++++++++ system-user-zabbix.conf | 7 + zabbix-6.0.12-netsnmp-fixes.patch | 45 + zabbix-6.0.31.tar.gz | 3 + zabbix-6.0.33.tar.gz | 3 + zabbix-agentd.service | 13 + zabbix-java-gateway.service | 25 + zabbix-java-gateway.sh | 121 + zabbix-logrotate.in | 8 + zabbix-proxy.service | 12 + zabbix-reproducible-jar-mtime.patch | 12 + zabbix-server.service | 13 + zabbix-tmpfiles.conf | 1 + zabbix.changes | 2023 +++++++++ zabbix.spec | 661 +++ 20 files changed, 9244 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README-SSL.SUSE create mode 100644 README.SUSE create mode 100644 apache2-zabbix.conf create mode 100644 rn6.0.0.html create mode 100644 system-user-zabbix.conf create mode 100644 zabbix-6.0.12-netsnmp-fixes.patch create mode 100644 zabbix-6.0.31.tar.gz create mode 100644 zabbix-6.0.33.tar.gz create mode 100644 zabbix-agentd.service create mode 100644 zabbix-java-gateway.service create mode 100644 zabbix-java-gateway.sh create mode 100644 zabbix-logrotate.in create mode 100644 zabbix-proxy.service create mode 100644 zabbix-reproducible-jar-mtime.patch create mode 100644 zabbix-server.service create mode 100644 zabbix-tmpfiles.conf create mode 100644 zabbix.changes create mode 100644 zabbix.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README-SSL.SUSE b/README-SSL.SUSE new file mode 100644 index 0000000..48e4ca6 --- /dev/null +++ b/README-SSL.SUSE @@ -0,0 +1,3 @@ +It is recommended to use SSL in the communication between agents and server, but it is not enabled by default. +To configure it, please follow https://www.zabbix.com/documentation/4.0/manual/encryption/using_certificates. +In other case you are putting yourself into huge risk of leaking sensitive data. diff --git a/README.SUSE b/README.SUSE new file mode 100644 index 0000000..f48d114 --- /dev/null +++ b/README.SUSE @@ -0,0 +1,13 @@ +zabbix-phpfrontend: + To enable zabbix frontend in apache + type in console: + # a2enflag ZABBIX + or if you want to remove it from apache configuration + type in console: + # a2enflag -d ZABBIX + # service apache2 restart + or reload if apache restart is too disrupting + + Please, make sure SSL is enabled and up in Apache2 config. + You can get inspired by https://www.zabbix.com/documentation/4.0/manual/installation/requirements/best_practices. + If you have Apache 2.4.30 or newer, it is even more simple: https://httpd.apache.org/docs/trunk/mod/mod_md.html. diff --git a/apache2-zabbix.conf b/apache2-zabbix.conf new file mode 100644 index 0000000..0820185 --- /dev/null +++ b/apache2-zabbix.conf @@ -0,0 +1,19 @@ +# please read how to enable zabbix frontend and SSL encryption in +# /usr/share/doc/packages/zabbix-phpfrontend/README.SUSE + + Alias /zabbix "/usr/share/zabbix/" + + + # Apache 2.4 + Require all denied + + + + Order deny,allow + Deny from all + + + + + Redirect 403 /zabbix + diff --git a/rn6.0.0.html b/rn6.0.0.html new file mode 100644 index 0000000..34cd112 --- /dev/null +++ b/rn6.0.0.html @@ -0,0 +1,6238 @@ + + + + + + + +Release Notes for Zabbix 6.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Release Notes for Zabbix 6.0.0

+
+
+ +

Zabbix Team is pleased to announce the availability of Zabbix 6.0.0.

+ +

Zabbix is an enterprise-class open source distributed monitoring solution. Zabbix is released under the GPL, thus it is free of charge for both commercial and non-commercial use. A complete text of the license is available at http://www.gnu.org/copyleft/gpl.txt.

+ + +

This document contains the release notes for Zabbix 6.0.0. Download it from download.

+

The following sections describe the release in details and provide late-breaking or other information that supplements its main documentation.

+
+ + +

New Features and Improvements

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ZBXNEXT-7414 Added new tags to all templates
+ ZBXNEXT-7125 Added new widget "Top hosts"; deprecated widget "Data overview"
+ ZBXNEXT-7411 Replaced signals with IPC messages for most of internal runtime control option processing
+ ZBXNEXT-4635 Added templates for Kubernetes Controlplane and Kubestate metrics
+ ZBXNEXT-7107 Added Item popup menu in Latest data; added new links in Configuration Items popup menu and Item prototypes popup menu
+ ZBXNEXT-7409 Added native support for the vfs.dir.size and vfs.dir.count keys in Zabbix agent 2
+ ZBXNEXT-1911,
ZBXNEXT-7399
Allowed textual types of information for Calculated items
+ ZBXNEXT-7389 Changed templates to use no linked templates, moved OS templates from the classic folder to the os folder
+ ZBXNEXT-6687 Implemented subfilter and named filters for latest data section
+ ZBXNEXT-7101 Implemented sleep function into JS engine
+ ZBXNEXT-6861 Updated Zabbix proxy templates according to the latest guidelines
+ ZBXNEXT-7078 Added pfsense template
+ ZBXNEXT-7033 Anchored modal dialogues to avoid their repositioning during interactions
+ ZBXNEXT-669 Added maintenance status icon to Latest Data page
+ ZBXNEXT-6999 Implemented SLA, SLA reports and SLA report widget
+ ZBXNEXT-6875 Added native support for the system.hw.chassis and system.hw.devices keys in Zabbix agent 2
+ ZBXNEXT-2485 Moved odbc poller into separate poller type
+ ZBXNEXT-7109 Changed runtime control options to connecto to zabbix server/proxy using socket rather than sending signals
+ ZBXNEXT-6470,
ZBXNEXT-6890
Implemented complete audit logging of maintenance API object; added strict validation for maintenance.create, maintenance.update, maintenance.delete API methods
+ ZBXNEXT-7115 Removed deprecated support of user macros in item names
+ ZBXNEXT-3140 Added {ITEM.STATE.ERROR},{LLDRULE.STATE.ERROR},{TRIGGER.STATE.ERROR} macros to indicate error messages in internal monitoring alerts
+ ZBXNEXT-6958 Added external plugin loader for Zabbix agent 2
+ ZBXNEXT-7092 Improved usability for Latest data and Hosts views
+ ZBXNEXT-4922 Added support for pcre2
+ ZBXNEXT-7112 Added new fields in PROMETHEUS_PATTERN preprocessing in templates Etcd, Vault, Linux
+ ZBXNEXT-7049 Added aggregation options to prometheus pattern preprocessing step, added bulk preprocessing for dependent items
+ ZBXNEXT-7100 Added new LLD macro HV.NETNAME to vmware.hv.discovery
+ ZBXNEXT-6470,
ZBXNEXT-6867
Implemented complete audit logging of templates; added strict validation for template.create, template.update, template.delete, template.massadd, template.massupdate, template.massremove API methods
+ ZBXNEXT-6966 Added single item widget
+ ZBXNEXT-7085 Extended 'formula' field in 'actions' table from 255 to 1024 characters
+ ZBXNEXT-7031 Upgraded Oracle by ODBC template for using config string in items
+ ZBXNEXT-2579,
ZBXNEXT-7020
Added baseline monitoring functions baslinewma,baselinedev
+ ZBXNEXT-6250 Added option to opt-out of "escalation canceled" messages
+ ZBXNEXT-6593 Added support of persistent files for restoring log item state after agent restart
+ ZBXNEXT-7070 Transferred host and template mass update template inputs to main tab
+ ZBXNEXT-7018 Transferred template and group input to main tabs
+ ZBXNEXT-6955 Added trendstl() anomaly detection function
+ ZBXNEXT-6936 Added possibility to reload user parameters without restarting Zabbix Agent
+ ZBXNEXT-3706 Added support for utf8mb4 encoding with utf8mb4_bin collation on mysql and mariadb
+ ZBXNEXT-6921 Introduced support of primary keys for history tables
+ ZBXNEXT-712 Added new item vfs.dir.get[] for Agent and Agent2
+ ZBXNEXT-6945 Implemented geographical map widget
+ ZBXNEXT-6651 Added new item agent.variant for Agent and Agent2
+ ZBXNEXT-6470,
ZBXNEXT-6920
Implemented audit logging of action API object
+ ZBXNEXT-6950 Implemented changecount() trigger function
+ ZBXNEXT-6677 Added cpu percent field to docker.container_stats key for docker plugin in Zabbix agent 2 and docker template
+ ZBXNEXT-7014 Updated README for a newer version of PagerDuty
+ ZBXNEXT-7001 Added support High availability cluster in Zabbix server health/Remote Zabbix server health template
+ ZBXNEXT-6923,
ZBXNEXT-6928
Added High availability cluster support
+ ZBXNEXT-6896 Added automatic Item type suggestion
+ ZBXNEXT-7004 Implemented service cloning
+ ZBXNEXT-6470,
ZBXNEXT-6951
Implemented audit logging of services API object
+ ZBXNEXT-2475 Added handling of compressed content to web monitoring
+ ZBXNEXT-6782 Added new parameters for system.hostname
+ ZBXNEXT-6757 Added ability to create/edit hosts via modal form
+ ZBXNEXT-6837 Added VMWare SD-WAN VeloCloud template
+ ZBXNEXT-6869 Removed positional macros in item name
+ ZBXNEXT-6677 Added cpu percent field to docker.container_stats key for docker plugin in Zabbix agent 2
+ ZBXNEXT-6608 Added support for vmware key named 'vmware.hv.sensors.get'
+ ZBXNEXT-6644 Added support for vmware key named 'vmware.hv.maintenance'
+ ZBXNEXT-6954 Added new macros for debugging trigger expressions
+ ZBXNEXT-6930 Removed Monitoring -> Overview
+ ZBXNEXT-6470,
ZBXNEXT-6868
Implemented complete audit logging of host groups; added strict validation for hostgroup.massadd, hostgroup.massupdate, hostgroup.massremove API methods; changed sortfield used in audit log report to auditid
+ ZBXNEXT-6970 Added templates for "MikroTik" Ethernet routers and Switches
+ ZBXNEXT-6879 Implemented new history functions "rate", "bucket_rate_foreach" and "bucket_percentile" and math function "histogram_quantile"
+ ZBXNEXT-6470,
ZBXNEXT-6929
Implemented audit logging of correlation API object
+ ZBXNEXT-6428 Moved plugins config options to separate files
+ ZBXNEXT-2406 Implemented service problem root cause analysis
+ ZBXNEXT-6470,
ZBXNEXT-6885
Implemented audit logging of mediatype API object; refactored mediatype.create, mediatype.update and mediatype.delete
+ ZBXNEXT-6888 Added template "InfluxDB by HTTP"
+ ZBXNEXT-6470,
ZBXNEXT-6914
Implemented audit logging of image and iconmap API objects
+ ZBXNEXT-6470,
ZBXNEXT-6716
Implemented API method history.clear - history cleanup for items and web scenarios
+ ZBXNEXT-6809 Changed behavior of the vmware event log, the 'skip' option of the new item resets the VMware event cache
+ ZBXNEXT-6822 Added Github media type
+ ZBX-20010 Fixed crash in zabbix-proxy-sqlite3 caused by uninitialized pointer in db_version_info struct
+ ZBXNEXT-6470,
ZBXNEXT-6918
Implemented audit logging of script API object
+ ZBXNEXT-6912 Implemented audit for server (processing LLD graphs)
+ ZBXNEXT-6911 Implemented audit for server (processing LLD triggers)
+ ZBXNEXT-6750 Added IgnoreURLCertErrors configuration option to web service
+ ZBXNEXT-6470,
ZBXNEXT-6917
Implemented audit logging of global macro API object
+ ZBXNEXT-6470,
ZBXNEXT-6910
Implemented audit logging of dashboard and templatedashboard API object
+ ZBXNEXT-6470,
ZBXNEXT-6887
Implemented audit logging of report API object
+ ZBXNEXT-6470,
ZBXNEXT-6718
Restored audit logging of user login and logout actions; implemented logging of failed login attempts by non-existing users; added new API method user.unblock
+ ZBXNEXT-6871 Implemented audit for server (processing Web scenarios)
+ ZBXNEXT-6898 Added restriction that prevents server and proxy from working with old unsupported databases
+ ZBXNEXT-6470,
ZBXNEXT-6889
Implemented audit logging of proxy API object
+ ZBXNEXT-6470,
ZBXNEXT-6909
Implemented audit logging of authentication, autoregistration, housekeeping and settings API objects
+ ZBXNEXT-6470,
ZBXNEXT-6901
Implemented audit logging of module API object
+ ZBXNEXT-6470,
ZBXNEXT-6717
Added RegExp API object
+ ZBXNEXT-6840 Improved protocol to support Zabbix proxy configuration of size up to 16 GB; improved performance and memory usage by freeing uncompressed data as fast as possible and compressing before connection
+ ZBXNEXT-6784 Removed item being unsupported when swap is not configured
+ ZBXNEXT-6856 Implemented audit for server (linking templates - graphs, graph prototypes)
+ ZBXNEXT-6855 Implemented audit for server (linking templates - triggers, trigger prototypes)
+ ZBXNEXT-6852 Updated localization for Zabbix Support URL; replaced Zabbix Share link with link to Zabbix Integrations
+ ZBXNEXT-6787 Added support of user permissions for service tree
+ ZBXNEXT-6824 Replaced simple macros with expression macros
+ ZBXNEXT-6870 Implemented support of additional HTTP methods for webhooks
+ ZBXNEXT-6470,
ZBXNEXT-6866
Implemented audit logging of usergroup API object
+ ZBXNEXT-6830 Implemented audit on server (processing discovered items)
+ ZBXNEXT-6817 Implemented audit for server (linking templates - items, items prototypes, discovery rules)
+ ZBXNEXT-6820 Added utf8mb3 when checking for supported mysql character sets and collations
+ ZBXNEXT-6470,
ZBXNEXT-6859
Added logging of deleted tokens when deleting a user
+ ZBXNEXT-6789 Added template for Travis CI
+ ZBXNEXT-6800 Implemented complex service status calculation and propagation rules
+ ZBXNEXT-6470,
ZBXNEXT-6775
Implemented new audit log; added new auditlog to user and token API
+ ZBXNEXT-6810 Implemented audit on server (processing of LLD rules and discovered hosts)
+ ZBXNEXT-6802 Implemented audit for server (linking templates - host, host prototypes)
+ ZBXNEXT-6702 Added {#FSLABEL} macro in item names of the "Windows filesystems by Zabbix agent/agent active" templates, changed vfs.file.cksum[/etc/passwd] key to vfs.file.cksum[/etc/passwd,sha256] in Unix templates
+ ZBXNEXT-6813 Dropped support of British English as frontend language
+ ZBXNEXT-6688 Added new items for Agent and Agent2
+ ZBXNEXT-6601 Added monoinc() and monodec() functions
+ ZBXNEXT-6470,
ZBXNEXT-6768
Implemented audit for server (except for linking and LLD)
+ ZBXNEXT-6772 Added new prometheus label matching operators != and !~
+ ZBXNEXT-6470,
ZBXNEXT-6715
Made auditlog workable with new auditlog DB structure
+ ZBXNEXT-4029 Implemented password policy support
+ ZBXNEXT-6773 Added new aggregation functions count, exists_foreach and item_count
+ ZBXNEXT-6755 Added support of alerting in services
+ ZBXNEXT-3022 Improved scalability of services
+ ZBXNEXT-6674 Added tag based mapping of problems in services
+ ZBXNEXT-6528,
ZBXNEXT-6669
Moved auditlog calls from frontend sections Images, Proxies, Graphs and Graph prototypes, Services, and Maps to API
+ ZBXNEXT-6679 Improved performance of template linking on Zabbix Server
+ ZBXNEXT-284 Added timeout parameter to zabbix_sender and zabbix_get
+
+ +

Bug Fixes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ZBX-16896 Added interface speed metric to linux by agent templates and fixed interfaces tags
+ ZBX-20370 Fixed textarea tags not expanding in service editing form
+ ZBX-20466 Fixed context menu, which was not appearing for numeric discovered items
+ ZBX-20475 Fixed panic when Plugins.Smart.Path is set in Zabbix agent 2, by inroducing System config keywords
+ ZBX-20524 Fixed usage of history source and extra data selection in Top hosts widget
+ ZBX-20490 Fixed initial ha failover delay update, improved RTC and HA service communications
+ ZBX-20509 Changed host group in Squid, Hikvision, Morningstar templates
+ ZBX-20396 Fixed expression for "Calculated value of innodb_log_file_size" item in MySQL templates
+ ZBX-20415 Fixed host list page showing incorrect default interface
+ ZBX-17748 Improved host graphs page
+ ZBX-20508 Fixed console error when creating or editing host prototypes
+ ZBX-20504 Fixed impossibility to select a service in conditions of service actions
+ ZBX-20481 Fixed warning in log when updgrading Zabbix proxy database
+ ZBX-19356 Fixed failure when editing Templates caused by exceeding max_input_vars limit
+ ZBX-20267 Fixed browser error when using dynamic rows
+ ZBX-20485 Fixed cancel button not working when creating a new discovery rule
+ ZBX-20494 Fixed multiple hintbox issue upon widget updates
+ ZBX-20432 Fixed impossibility to import templates with triggers mapping to hosts with numeric names
+ ZBX-20225 Fixed host modal window not opening on many pages
+ ZBX-20453 Fixed Agent 2 compilation issues on macOS
+ ZBX-20359 Fixed export on Monitoring Problems page getting out of sync with filter
+ ZBX-19961 Fixed possible crash due to trigger functions being updated during LLD
+ ZBX-20300 Fixed displaying extra decimal digits in vertical scales of graphs for item units prefixed with "!"
+ ZBX-20444 Fixed Agent and Agent 2 compilation with libpcre2 on Windows
+ ZBX-20460 Fixed color-picker not updating selected color in its input element
+ ZBX-20446 Fixed housekeeper failure when deleting auditlog entries; thanks to Yuuki Enomoto for the patch
+ ZBX-20420 Increased storage size of the 'parameters' field of the 'alerts' table for Oracle backend
+ ZBX-20416 Fixed vfs.file.owner to display unknown user:group numerically instead of error
+ ZBX-20288 Fixed cloning services twice hitting enter key in configuration form
+ ZBX-20293 Fixed icmpping items group becomes not supported due to error in interval detection
+ ZBX-20428 Fixed table headers above the graph area in Graph widget configuration form
+ ZBX-20342 Fixed keyboard navigation for colorpicker
+ ZBX-20417 Fixed vfs.file.get error for HP-UX; thanks to Yuuki Enomoto for the patch
+ ZBX-20175 Changed functions with disabled history/trends to return error
+ ZBX-20436 Fixed hardcoded -lpcre in Agent 2 embedded C code
+ ZBX-20431 Fixed template import button shown out of bounds
+ ZBX-19991 Fixed template import of dependent items and item prototypes having newly created master item
+ ZBX-20316 Added macro for password and changed conf file in postgresql by user parameters template
+ ZBX-20303 Fixed trigger name in MSSQL template
+ ZBX-19456 Changed zbx_trends_parse_range() behavior for zero time period, added test cases
+ ZBX-20246 Fixed unpredictable choice of vmware hv ip for HA mode of management interface
+ ZBX-19565 Fixed agent2 to return the same 255 code as agent1 when key service.info does not find service
+ ZBX-20371 Fixed crash in Agent2 when monitoring log files
+ ZBX-20204 Fixed range check for perfcounter in agent2 on windows
+ ZBX-20382 Updated jquery version
+ ZBX-20383 Updated logback-core, logback-classic and slf4j-api jars to the latest stable versions
+ ZBX-20384 Fixed possibility to view setup pages by non-superadmin if config already file exists
+ ZBX-20388 Fixed XSS vulnerability in multiselect
+ ZBX-19815 Fixed multiple data convertion issues in import between versions 1.8/2.0 and 5.0
+ ZBX-20405 Improved timeouts in JS
+ ZBX-19669 Fixed success message not showing when no fields were changed in Administration->Authentication page
+ ZBX-20269 Added handling of performance counter with negative denominator value
+ ZBX-20143 Fixed tcp timeout not working in net.dns.record
+ ZBX-20292 Fixed LLD overrides for item for particular corner-case
+ ZBX-20236 Improved memory consumption in Zabbix proxy trappers by moving configuration sync between database and cache to configuration syncer; improved trappers and listeners memory consumption by freeing received data after it was processed instead of after new data is received
+ ZBX-20330 Added handling of nan/inf values in ipmi discovery
+ ZBX-19185 Fixed free bytes calculation for temporary tablespace in Oracle by ODBC and by agent2 template
+ ZBX-20377 Implemented hmac-sha256 for server for scheduled reports cookies
+ ZBX-20258 Fixed tags processing for Zammad media type
+ ZBX-20350 Changed hash algo for encrypted cookies
+ ZBX-20164 Fixed agent2 crash caused by wmi metrics
+ ZBX-20249 Fixed escalator query failure on Oracle
+ ZBX-19351 Fixed event correlation query failure on Oracle
+ ZBX-20270 Fixed XSS vulnerability, max zoom level validation, inventory field processing and initial view hintbox text in geomap widget
+ ZBX-20328 Fixed incomplete inheritance of items, item prototypes, lld rules, host prototypes, when user with type "Admin" was edited them on template which is linked to non-permitted for him templates or hosts
+ ZBX-20232 Added HA node table cleanup on startup
+ ZBX-20113 Fixed items value map for VMware template
+ ZBX-20341 Moved zbx_ipc_service_init_env() to MAIN_ZABBIX_ENTRY
+ ZBX-20311 Returned the value -1 for bucket_percentile() and histogram_quantile() if bucket[+inf] = 0
+ ZBX-20276 Fixed parameter parsing error in bucket_percentile
+ ZBX-20278 Fixed XSS attack vulnerability in scheduled report configuration form
+ ZBX-20060 Fixed trigger expression for memory monitoring in F5 Big-IP SNMP template
+ ZBX-20075 Fixed trigger expression for certificate monitoring in F5 Big-IP SNMP template
+ ZBX-19704 Fixed item pattern in "Zabbix server health" dashboard
+ ZBX-20240 Added integration tests for trigger state
+ ZBX-18389 Fixed sql query for 32 and 64 bit xids postgresql versions in postgresql by user parameters template
+ ZBX-18474 Fixed regexp in macros in Template Module Windows Services
+ ZBX-19651 Fixed problem escalation when at least one of the hosts in a trigger expression is not in maintenance
+ ZBX-19897 Updated postgresql templates and plugin files
+ ZBX-20120 Fixed import of several hosts assigned to different proxies
+ ZBX-20238 Fixed linking templates with trigger prototypes
+ ZBX-20178 Fixed action webhook failure when return value is not required
+ ZBX-19806 Added support of multiple header fields in JS method getHeaders()
+ ZBX-20192 Fixed quote expansion in command execution in agent2 on windows
+ ZBX-19924 Fixed trigger expression and calculated items not allowing to specify timeshift that ends in future even if it starts in the past
+ ZBX-19973 Fixed event list hintbox field validation
+ ZBX-20294 Fixed typo in system information table
+ ZBX-20170 Fixed trigger expression testing constructor for monoinc and monodec functions
+ ZBX-20268 Fixed disabled button issue when cloning a service
+ ZBX-19514 Fixed disc utilization metric for windows discs discovery
+ ZBX-19866 Fixed possible duplication of server log messages with first network error or interface activation
+ ZBX-20177 Added acnowledgeid index for alerts table
+ ZBX-19587 Fixed Zabbix Java gateway error message when object or attribute is not found
+ ZBX-20176 Fixed trigger not being calculated for first value when item changes state to supported; fixed build failure when DES is disabled in Net-SNMP; fixed tests on big-endian systems
+ ZBX-20150 Fixed special characters escaping in markdown parsing of the Telegram media type
+ ZBX-19888 Fixed selectUpdateOperations option not accepting "extend" value in Actions API
+ ZBX-20200 Fixed PHP runtime errors when updating media type
+ ZBX-20186 Fixed incorrect count of result rows reported by API
+ ZBX-20097 Added celsius support to vmware unitInfo
+ ZBX-18944 Fixed the fields size for LLD validation of triggers.description and item_preproc.params
+ ZBX-20085 Fixed build on Solaris; thanks to Yuuki Enomoto for the patch
+ ZBX-20158 Added label to standalone server and fixed issue caused by setup step skew
+ ZBX-19926 Fixed Zabbix agent crashing when reading event log on Windows Server 2022
+ ZBX-20139 Renamed ExternalAddress to NodeAddress and removed ListenIP/Port dependency
+ ZBX-20080 Fixed error message
+ ZBX-20137 Fixed HA node not to become active after restart if there is another node that can take over
+ ZBX-20003 Fixed update and discard intervals in generic snmp and some other templates
+ ZBX-20032 Fixed server crash when restarting monitored vmware vc
+ ZBX-19912 Fixed mysql.db.size, mysql.replication.get_slave_status and pgsql.custom.query items for Zabbix agent 2
+ ZBX-19963 Fixed macro with regular expression for serial numbers discovery in cisco template
+ ZBX-19958 Fixed macro with regular expression for interfaces discovery in OS linux templates
+ ZBX-20132 Fixed item type mismatch warning not getting removed for non-matching key
+ ZBX-20125 Fixed invalid argument error in trigger test
+ ZBX-18975 Fixed item value being truncated in item test form
+ ZBX-20124 Fixed incorrect number of days in the error message when the display period is exceeded
+ ZBX-20123 Fixed svg graph widgets not displaying data for certain time periods
+ ZBX-20065 Fixed count() function gt,ge,lt,le operations
+ ZBX-19958 Fixed macro with regular expression for interfaces discovery in OS linux template
+ ZBX-18611 Fixed division by zero error due to small graph size when using gradient lines
+ ZBX-20079 Fixed web scenarios import / export error when authentication method is kerberos
+ ZBX-18988 Added vm.vmemory.size metric to Zabbix agent 2 for Windows
+ ZBX-19569 Changed linked template "Zabbix agent" to "Zabbix agent active" in templates "Windows by Zabbix agent active" and "Linux by Zabbix agent active"
+ ZBX-18554 Fixed MSSQL by ODBC README
+ ZBX-19872 Removed redundant escaping in XML data of HTTP agent POST request
+ ZBX-19920 Changed setup instruction in README of the "IIS by Zabbix agent" template
+ ZBX-19237 Changed condition in SQL request of pgsql.connections.sum.waiting item in DB PostgreSQL template to exclude rows with idle state
+ ZBX-20019 Fixed README file in Oracle by Zabbix Agent 2 template
+ ZBX-19760 Fixed interface operstate valuemap in the linux templates
+ ZBX-20017 Added new metrics, fixed update intervals in the "F5 Big-IP" template
+ ZBX-20077 Fixed possible collision of audit entities for server in json
+ ZBX-20089 Fixed server crash during network discovery when default inventory mode is not Disabled
+ ZBXNEXT-6708 Fixed 3rd parameter for Zabbix agent 2 web.certificate.get plugin
+ ZBX-20006 Fixed Zabbix server must not audit default DB values
+ ZBX-20008 Removed curl and ldap linkage from agent2
+ ZBX-19997 Fixed too long URL error when performing background page refresh
+ ZBX-20021 Fixed impossibility to import media types of type script with parameters from previous versions
+ ZBX-19889 Fixed server not updating trigger dependencies and other data during linking
+ ZBX-20001 Fixed crash and invalid bytecode error being generated on big-sendian systems when javascript is used; upgraded duktape to version 2.6
+ ZBX-19419 Fixed not refreshing graph widgets on dashboards
+ ZBX-19604 Increased storage size of fields item_preproc.params, triggers.description and media_type_message.message for Oracle backend
+ ZBX-19781 Fixed server not linking host prototype inventory mode
+ ZBX-19978 Fixed SQL errors when trying to get count of the interfaces
+ ZBX-19774 Fixed README examples
+ ZBX-19776 Fixed README file
+ ZBX-19284 Added smart.disk.attr.raw item, removed unit for smart.disk.hours item in "SMART by Zabbix agent 2" template
+ ZBX-19899 Fixed mass update not working across pages
+ ZBX-19584 Increased width for Subscriptions section of Scheduled reports to avoid text clipping
+ ZBX-19580 Fixed date format mismatch in UI elements that are loaded via JavaScript
+ ZBX-19683 Fixed editable UI tags component for discovered host edit form
+ ZBX-19883 Fixed broken secret text macro button style
+ ZBX-19848 Fixed vmware perf counters that return percentage values
+ ZBX-19939 Fixed typo in Clickhouse Template README
+ ZBX-20014 Fixed server audit to generate CUID during entry creation instead of audit flush
+ ZBX-20015 Fixed Zabbix agent not being able to retrieve active checks configuration on Windows
+ ZBX-19989 Fixed audit flush when used with Oracle
+ ZBX-19954 Fixed updating of the "subject" and "message" parameters in scheduled reports
+ ZBX-19923 Fixed incorrect audit after context name change in host prototype
+ ZBX-19814 Added ignoring final result in case if fping quits on a signal
+ ZBX-19952 Removed libmodbus linkage from server and proxy
+ ZBX-19914 Fixed Web scenarios fields update during template linking
+ ZBX-19931 Fixed crash on big-endian systems when processing history
+ ZBX-19440 Added utf-8 support to zbx_set_json_strerror
+ ZBX-19864 Fixed preprocessing of "Checkpoint sync time" item, fixed the regex in preprocessing in the "Ping time" item, fixed SQL request in the "Get transactions" item in "DB PostgreSQL" template
+ ZBX-19614 Fixed proc.num,proc.cpu.utilization,proc.mem metrics not working properly when compiled with unsupported Go version and improved performance by using functions introduced in Go 1.16
+ ZBX-19120 Fixed escaping values in resolved macros in item test form for HTTP items when Request body type is JSON or XML
+ ZBX-19850 Fixed unnecessary updates of database records in the report.update() method
+ ZBX-19712 Fixed unavailable interface to affect only Zabbix agent checks,SNMP agent checks, IPMI checks and JMX monitoring
+ ZBX-19635 Fixed build failure when DES is disabled in Net-SNMP or when LTO is used
+ ZBX-19817 Fixed module config not being stored in database when module is discovered
+ ZBX-19675 Fixed Zabbix agent 2 -R windows service crash
+ ZBX-19865 Fixed typos in "F5 Big-IP SNMP" template
+ ZBX-19835 Fixed incorrect master item in template "Hikvision camera by HTTP"
+ ZBX-19849 Fixed a trigger name typo in the "MSSQL by ODBC" template
+ ZBX-19613 Fixed Zabbix agent 2 redis plugin to closer match redis-cli connection
+ ZBX-19510 Fixed re-reading of old Windows events for various Windows event system synchronization problems
+ ZBX-16803 Fixed ability to use Interface Guid in network interface LLD
+ ZBX-19236 Fixed task manager constantly busy with close_problem task if trigger no longer exists but event still exist
+ ZBX-19581 Fixed untranslated and incorrectly translated strings
+ ZBX-18680 Fixed multi-channel notification issue in "Slack" media type
+ ZBX-19822 Fixed Zabbix server not to populate housekeeper table with tasks that are never deleted when TimescaleDB partitioning is used
+ ZBX-19623 Fixed Jira Service Desk URL in webhook
+ ZBX-19857 Dropped support for the non-working option "with_gui_access" in the usergroup.get() method
+ ZBX-19395 Changed version in links of the templates and the media
+
+ + +

Installation and Upgrade Notes

+ +

Installation

+

See Zabbix documentation for full details.

+ +

Upgrade

+

+ Recompile Zabbix binaries and update front-end PHP files. See + Zabbix manual + for a detailed upgrade procedure. +

+ +

Commercial support

+ Zabbix Company provides a full range of Professional Services. + We also provide trouble-free Upgrade Service + for easy migration from earlier versions of Zabbix. + Please Contact sales for pricing and more details. + + +
+

References

+

Zabbix 6.0 Manual

+
+ +
+ +
+
+
+
+ + + + +
+
+

Get started in 10 minutes, absolutely FREE

+ Download Zabbix +

Zabbix is professionally developed open-source software with no limits or hidden costs

+
+
+ + + + + + +
+ + + + \ No newline at end of file diff --git a/system-user-zabbix.conf b/system-user-zabbix.conf new file mode 100644 index 0000000..70bc0c6 --- /dev/null +++ b/system-user-zabbix.conf @@ -0,0 +1,7 @@ +#Type Name ID GECOS Home directory Shell +g zabbix - +g zabbixs - +u zabbix - "Zabbix agent" /var/lib/zabbix - +u zabbixs - "Zabbix agent" /var/lib/zabbixs - +m zabbix zabbix +m zabbixs zabbixs diff --git a/zabbix-6.0.12-netsnmp-fixes.patch b/zabbix-6.0.12-netsnmp-fixes.patch new file mode 100644 index 0000000..f614dad --- /dev/null +++ b/zabbix-6.0.12-netsnmp-fixes.patch @@ -0,0 +1,45 @@ +Index: m4/netsnmp.m4 +=================================================================== +--- m4/netsnmp.m4.orig 2023-09-25 12:26:59.951273749 +0200 ++++ m4/netsnmp.m4 2023-10-17 22:18:29.154010921 +0200 +@@ -169,7 +169,22 @@ session.securityAuthProto = usmHMAC384SH + ],[ + AC_MSG_RESULT(no) + ]) +- ++################## monkey patching.... ++ dnl Check if MD5 auth is removed ++ AC_MSG_CHECKING(for disabled MD5 auth protocol support) ++ AC_TRY_LINK([ ++#include ++#include ++ ],[ ++struct snmp_session session; ++session.securityAuthProto = usmHMACMD5AuthProtocol; ++ ],[ ++ AC_DEFINE(HAVE_NETSNMP_NO_MD5_AUTH, 1, [Define to 1 if MD5 auth protocols is disabled.]) ++ AC_MSG_RESULT(yes) ++ ],[ ++ AC_MSG_RESULT(no) ++ ]) ++################## end monkey patching.... + dnl Check for AES192/256 protocol support for privacy + AC_MSG_CHECKING(for strong AES privacy protocol support) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +Index: src/zabbix_server/poller/checks_snmp.c +=================================================================== +--- src/zabbix_server/poller/checks_snmp.c.orig 2023-09-25 12:27:00.031274243 +0200 ++++ src/zabbix_server/poller/checks_snmp.c 2023-10-17 22:18:29.154010921 +0200 +@@ -356,10 +356,12 @@ static int zbx_snmpv3_set_auth_protocol( + + switch (item->snmpv3_authprotocol) + { ++#ifdef usmHMACMD5AuthProtocol + case ITEM_SNMPV3_AUTHPROTOCOL_MD5: + session->securityAuthProto = usmHMACMD5AuthProtocol; + session->securityAuthProtoLen = USM_AUTH_PROTO_MD5_LEN; + break; ++#endif + case ITEM_SNMPV3_AUTHPROTOCOL_SHA1: + session->securityAuthProto = usmHMACSHA1AuthProtocol; + session->securityAuthProtoLen = USM_AUTH_PROTO_SHA_LEN; diff --git a/zabbix-6.0.31.tar.gz b/zabbix-6.0.31.tar.gz new file mode 100644 index 0000000..3681e85 --- /dev/null +++ b/zabbix-6.0.31.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27d2d453ead41a251131cf1c66300175386355879f6d605de5d88dbb57ab82f9 +size 45176869 diff --git a/zabbix-6.0.33.tar.gz b/zabbix-6.0.33.tar.gz new file mode 100644 index 0000000..4c6d276 --- /dev/null +++ b/zabbix-6.0.33.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e229b08edace4071b4fdecb0a08aebd83fccb6f0e7350a384bb059507f9e1887 +size 45392256 diff --git a/zabbix-agentd.service b/zabbix-agentd.service new file mode 100644 index 0000000..585ee70 --- /dev/null +++ b/zabbix-agentd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Zabbix Monitor Agent +After=syslog.target network.target + +[Service] +Type=simple +ExecStart=/usr/sbin/zabbix_agentd -f +User=zabbix +Group=zabbix +PrivateTmp=yes + +[Install] +WantedBy=multi-user.target diff --git a/zabbix-java-gateway.service b/zabbix-java-gateway.service new file mode 100644 index 0000000..2f4efe9 --- /dev/null +++ b/zabbix-java-gateway.service @@ -0,0 +1,25 @@ +[Unit] +Description=Zabbix Server +After=syslog.target network.target + +[Service] +Type=simple +ExecStart=/usr/bin/zabbix-java-gateway run +User=zabbixs +PrivateTmp=yes +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +PrivateDevices=true +ProtectHostname=true +ProtectClock=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions + +[Install] +WantedBy=multi-user.target diff --git a/zabbix-java-gateway.sh b/zabbix-java-gateway.sh new file mode 100644 index 0000000..eba2cf0 --- /dev/null +++ b/zabbix-java-gateway.sh @@ -0,0 +1,121 @@ +#!/bin/bash + +CMD=$1 +NOHUP=${NOHUP:=$(which nohup)} + +# resolve links - $0 may be a softlink +ZBXJAVAGWCTL="$0" + +while [ -h "$ZBXJAVAGWCTL" ]; do + ls=$(ls -ld "$ZBXJAVAGWCTL") + link=$(expr "$ls" : '.*-> \(.*\)$') + if expr "$link" : '/.*' > /dev/null; then + ZBXJAVAGWCTL="$link" + else + ZBXJAVAGWCTL=$(dirname "$ZBXJAVAGWCTL")/"$link" + fi +done + +SERVICE_NAME="zabbix-java-gateway" +JAVA=${JAVA:-java} +JAVA_OPTIONS="-server" +JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=/etc/zabbix/zabbix-java-gateway-log.xml" +ZABBIX_OPTIONS=${ZABBIX_OPTIONS:=} +ZABBIX_JAVA_DIR=${ZABBIX_JAVA_DIR:=$(dirname "$ZBXJAVAGWCTL")} +ZABBIX_JAVA_CONF=${ZABBIX_JAVA_CONF:=/etc/zabbix/zabbix-java-gateway.conf} +ZABBIX_JAVA_GW_PID=${ZABBIX_JAVA_GW_PID:=/run/zabbixs/zabbix-java-gateway.pid} +ZABBIX_JAVA_GW_LOGFILE=${ZABBIX_JAVA_GW_LOGFILE:=/var/log/zabbixs/zabbix-java-gateway.log} +# source configuration... +. ${ZABBIX_JAVA_CONF} + +# Build classpath +CLASSPATH=$(echo $(find /usr/lib/zabbix-java-gateway/ -name "*jar" -type f -print)|sed -e 's/ /:/g') +if [ -n "$PID_FILE" ]; then + ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.pidFile=$PID_FILE" +fi +if [ -n "$LISTEN_IP" ]; then + ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenIP=$LISTEN_IP" +fi +if [ -n "$LISTEN_PORT" ]; then + ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.listenPort=$LISTEN_PORT" +fi +if [ -n "$START_POLLERS" ]; then + ZABBIX_OPTIONS="$ZABBIX_OPTIONS -Dzabbix.startPollers=$START_POLLERS" +fi + +COMMAND_LINE="$JAVA $JAVA_OPTIONS -classpath $CLASSPATH $ZABBIX_OPTIONS com.zabbix.gateway.JavaGateway" + +start() { + status + if [ $? -ne 0 ]; then + echo "Starting ${SERVICE_NAME} ..." + cd "$ZBXJAVAGWCTL_DIR" + (/bin/bash -c "$COMMAND_LINE > /dev/null 2>&1 & echo \$!") > ${ZABBIX_JAVA_GW_PID} + fi +} + +run() { + echo "Running ${SERVICE_NAME} ..." + cd "$ZBXJAVAGWCTL_DIR" + exec $COMMAND_LINE +} + +stop() { + pid=$(cat ${ZABBIX_JAVA_GW_PID}) + echo "Stopping ${SERVICE_NAME} ($pid) ..." + if kill $pid; then + rm ${ZABBIX_JAVA_GW_PID} + fi +} + +restart() { + echo "Restarting ${SERVICE_NAME} ..." + stop + start +} + +status() { + pid=$(get_pid) + if [ ! -z $pid ]; then + if pid_running $pid; then + echo "${SERVICE_NAME} running as pid $pid" + return 0 + else + echo "Stale pid file with $pid - removing..." + rm ${ZABBIX_JAVA_GW_PID} + return 1 + fi + fi + + echo "${SERVICE_NAME} not running" + return 3 +} + +get_pid() { + cat ${ZABBIX_JAVA_GW_PID} 2> /dev/null +} + +pid_running() { + kill -0 $1 2> /dev/null +} + +case "$CMD" in + start) + start + ;; + stop) + stop + ;; + restart) + restart + ;; + status) + status + ;; + run) + run + ;; + *) + echo "Usage $0 {start|stop|restart|status}" + RETVAL=1 +esac diff --git a/zabbix-logrotate.in b/zabbix-logrotate.in new file mode 100644 index 0000000..8a3e0cb --- /dev/null +++ b/zabbix-logrotate.in @@ -0,0 +1,8 @@ +/var/log/USER/zabbix_COMPONENT.log { + missingok + monthly + notifempty + compress + copytruncate + su USER USER +} diff --git a/zabbix-proxy.service b/zabbix-proxy.service new file mode 100644 index 0000000..f0b9843 --- /dev/null +++ b/zabbix-proxy.service @@ -0,0 +1,12 @@ +[Unit] +Description=Zabbix Proxy +After=syslog.target network.target mysql.service postgresql.service + +[Service] +Type=simple +ExecStart=/usr/sbin/zabbix_proxy -f +User=zabbixs +PrivateTmp=yes + +[Install] +WantedBy=multi-user.target diff --git a/zabbix-reproducible-jar-mtime.patch b/zabbix-reproducible-jar-mtime.patch new file mode 100644 index 0000000..9770d03 --- /dev/null +++ b/zabbix-reproducible-jar-mtime.patch @@ -0,0 +1,12 @@ +diff -urEbwB zabbix-6.0.33.orig/src/zabbix_java/Makefile.am zabbix-6.0.33/src/zabbix_java/Makefile.am +--- zabbix-6.0.33.orig/src/zabbix_java/Makefile.am 2024-09-26 21:55:13.116258283 +0200 ++++ zabbix-6.0.33/src/zabbix_java/Makefile.am 2024-09-26 21:58:05.924204894 +0200 +@@ -18,7 +18,7 @@ + + $(ZJG): class src/com/zabbix/gateway/*.java + $(JAVAC) -d class/src -classpath $(LIB) src/com/zabbix/gateway/*.java +- $(JAR) cf $(ZJG) -C class/src . ++ $(JAR) --date="$$(date -u -d @$${SOURCE_DATE_EPOCH:-$$(date +%s)} +%Y-%m-%dT%H:%M:%SZ)" --create --file=$(ZJG) -C class/src . + + test: class + echo "badger useruser" > tests/com/zabbix/gateway/jmx_test_beans/jmxremote.password diff --git a/zabbix-server.service b/zabbix-server.service new file mode 100644 index 0000000..7153acf --- /dev/null +++ b/zabbix-server.service @@ -0,0 +1,13 @@ +[Unit] +Description=Zabbix Server +After=syslog.target network.target mysql.service postgresql.service + +[Service] +Type=simple +ExecReload=/usr/sbin/zabbix_server -R config_cache_reload +ExecStart=/usr/sbin/zabbix_server -f +User=zabbixs +PrivateTmp=yes + +[Install] +WantedBy=multi-user.target diff --git a/zabbix-tmpfiles.conf b/zabbix-tmpfiles.conf new file mode 100644 index 0000000..b68725e --- /dev/null +++ b/zabbix-tmpfiles.conf @@ -0,0 +1 @@ +D /run/zabbix 0770 root zabbix - diff --git a/zabbix.changes b/zabbix.changes new file mode 100644 index 0000000..9eed2dc --- /dev/null +++ b/zabbix.changes @@ -0,0 +1,2023 @@ +------------------------------------------------------------------- +Thu Sep 26 20:26:42 UTC 2024 - Fridrich Strba + +- Added patch: + * zabbix-reproducible-jar-mtime.patch + + Use SOURCE_DATE_EPOCH for reproducible jar mtime + + Applied if building with Java >= 17 + +------------------------------------------------------------------- +Fri Sep 20 07:11:45 UTC 2024 - Boris Manojlovic + +- update to 6.0.33 +- this version fixes CVE-2024-36461 and CVE-2024-22114 +- New Features and Improvements + + ZBXNEXT-9000 Changed query table for ASM disk group metrics in Oracle Database plugin and + Oracle by ODBC template Agent Templates + + ZBXNEXT-9217 Added AWS Lambda by HTTP template Templates + + ZBXNEXT-9293 Updated max supported MySQL version to 9.0 Proxy Server + + ZBXNEXT-8657 Updated Zabbix health templates with new visualization Templates + + ZBXNEXT-9143 Added index on auditlog recordsetid Server + + ZBXNEXT-9081 Added Small Computer System Interface (SCSI) device type support to Zabbix agent 2 Smart plugin Agent + + ZBXNEXT-6445 Added recovery expression for fuzzytime triggers in Linux and Windows templates, + removed fuzzytime triggers from active agent templates Templates + + ZBXNEXT-9201 Updated max supported MySQL version to 8.4 Proxy Server + + ZBXNEXT-9225 Updated max supported TimescaleDB version to 2.15 Server + + ZBXNEXT-9226 Updated max supported MariaDB version to 11.4 Proxy Server + + ZBXNEXT-8868 Added discovery and template for Azure VM Scale Sets Templates + +- Bug Fixes + + BX-24947 Fixed PHP runtime errors while processing frontend notifications Frontend + + ZBX-24824 Improved loadable plugin connection broker Agent + + ZBX-24583 Fixed inability to export/import web scenario with digest authentication API + + ZBX-23905 Fixed double scroll in script dialogs Frontend + + ZBX-18767 Fixed word breaks in flexible text input fields and trigger expressions Frontend + + ZBX-24909 Fixed resolving of macro functions in the "Item value" widget Frontend + + ZBX-24859 Fixed JavaScript in S3 buckets discovery rule Templates + + ZBX-24617 Fixed hardcoded region in AWS by HTTP template Templates + + ZBX-24524 Fixed "New values per second" statistic to include dependent items in calculation Proxy Server + + ZBX-24821 Made 'execute_on' value being recorded in audit only for shell scripts Server + + ZBX-23312 Fixed discovery edit form being saved incorrectly after dcheck update Frontend + + ZBX-24773 Fixed duplicate item preprocessing in Kubernetes Kubelet by HTTP template Templates + + ZBX-24514 Fixed standalone Zabbix server and Zabbix proxy not stopping when database is read-only Proxy Server + + ZBX-23936 Fixed state and styling of readonly fields Frontend + + ZBX-24520 Fixed an issue with incorrect translations used in several frontend places Frontend + + ZBX-21815 Fixed issue with undefined offset for media type when it was deleted before saving the user Frontend + + ZBX-24108 Fixed error in dashboard if Map widget contains map element that user doesn't have access to Frontend + + ZBX-24569 Fixed old and added new items to Azure Virtual Machine template Templates + + ZBX-24537 Fixed tags subfilter in Latest data kiosk mode Frontend + + ZBX-24167 Fixed template linkage when item prototype collision is found Server + + ZBX-23770 Improved monitoring user permissions documentation for Zabbix agent 2 Oracle plugin and Oracle by ODBC template Documentation + + ZBX-24565 Removed redundant kernel header include, fixed musl compatibility issues (thanks to Alpine Linux maintainers for spotting this) + + ZBX-24610 Fixed interface field appearance for discovered items without interface set Frontend + + ZBX-24562 Fixed incorrect problem order in Problems by severity widget's hintbox Frontend + + ZBX-23751 Fixed inability to pass an action filter condition without an "operator" property, implying a default value of "Equal" API + + ZBX-21429 Prevented ability to disable all UI element access via role.update API API + + ZBX-19271 Fixed inconsistent tag row rendering in different edit forms Frontend + + ZBX-24539 Fixed incorrect threshold in trigger expression of Check Point Next Generation Firewall by SNMP template Templates + + ZBX-24667 Fixed vm.memory.size[pused] item on Solaris Agent + + ZBX-23781 Added storage volumes check in HPE iLO by HTTP template Templates + + ZBX-24391 Fixed Zabbix agent to return net.tcp.socket.count result without error if IPv6 is disabled Agent + + ZBX-24235 Fixed value misalignment in Item value widget Frontend + + ZBX-24352 Fixed custom severity name usage in Geomap widget Frontend + + ZBX-24665 Fixed potential problem with deprecated GCE Integrity feature Templates + + ZBX-20993 Fixed Zabbix agent 2 MQTT plugin clientID to be generated by strict requirements Agent + + ZBX-23426 Added dependent item with JavaScript preprocessing for edges SD-WAN in VMWare SD-WAN VeloCloud by HTTP template Templates + + ZBX-24566 Fixed crash when expression macro is used in unsupported location Server + + ZBX-24450 Fixed issue where graph could differ for data gathered from PostgreSQL and other databases Frontend + + ZBX-24513 Fixed real-time export of rarely updated trends Server + + ZBX-24163 Fixed submap addition in Map navigation tree widget to not append same submaps repeatedly Frontend + + ZBX-23398 Fixed trigger expression constructor incorrectly showing '<' and '>' operators Frontend + + ZBX-23584 Fixed error message being displayed when updating host after changing item status Frontend + + ZBX-24635 Fixed datastore triggers in VMware templates Templates + + +------------------------------------------------------------------- +Thu Jun 27 10:09:48 UTC 2024 - Boris Manojlovic + +- update to 6.0.31 +- New Features and Improvements + + ZBXNEXT-9140 Added support for custom compartments in Oracle Cloud by HTTP templates Templates + + ZBXNEXT-9034 Added Jira Data Center by JMX template Templates + + ZBXNEXT-8682 Introduced a length limit of 512KB for item test values that server returns to Zabbix frontend Frontend Server + + ZBXNEXT-8248 Added database filter macros to MySQL templates Templates + + ZBXNEXT-6698 Removed absolute threshold and timeleft from OS template triggers of filesystem space Templates + + ZBXNEXT-7930 Added user macro support for username and password fields in email media type Server + + ZBXCTR-22 Refactored JavaScript filter functions for Kubernetes templates Templates + + ZBXNEXT-9098 Added AWS ELB Network Load Balancer by HTTP template Templates + + ZBXNEXT-6864 Replaced {HOST.CONN} with user macros in templates Templates + + ZBXNEXT-9117 Updated max supported MariaDB version to 11.3 Proxy Server + + ZBXNEXT-9026 Added Go compiler version to Zabbix agent 2 version output Agent + + ZBXNEXT-8786 Changed 'odbc.discovery' keys to 'odbc.get' in MySQL by ODBC and Oracle by ODBC templates Templates + + ZBXNEXT-8536 Added cbdhsvc service to macros in Windows agent templates Templates + + ZBXNEXT-8861 Made changes and added more metrics to the FortiGate by SNMP template Templates + + ZBXNEXT-8240 Added a new set of templates for integration with Oracle Cloud Infrastructure Templates + +- Bug Fixes + + ZBX-24483 Improved memory usage in Zabbix server/proxy trappers and in proxy + pollers when sending large configuration Proxy Server + + ZBX-23073 Fixed URL widget resizing and dragging Frontend + + ZBX-24574 Fixed HA node flipping between standby and active states Server + + ZBX-24119 Fixed possible blocking of alert manager when it periodically pings database Server + + ZBX-7998 Added VMware service username, password and URL check for empty values Proxy Server + + ZBX-24402 Reduced main process connections to database during startup Proxy Server + + ZBX-24369 Fixed filter behavior in monitoring pages after deleting filter parameters Frontend + + ZBX-24484 Fixed Geomap widget console error when dragging map in widget edit mode Frontend + + ZBX-23337 Improved supported version documentation for Oracle Database plugin and both templates Documentation + + ZBX-24180 Fixed inability to import existing host or template when its dependent item prototype, + which is used in trigger prototypes or graph prototypes, would have a different master item API + + ZBX-20871 Fixed inability to use LLD macro functions in Prometheus pattern and labels used in item prototype preprocessing API + + ZBX-24527 Fixed unnecessary loading text being displayed in hintbox preloader Frontend + + ZBX-24362 Fixed wrong Zabbix agent 2 loadable plugin process handling catching all child process exits Agent + + ZBX-24470 Fixed scale of VMware vmware.vm.memory.size.compressed key Proxy Server + + ZBX-24415 Added triggers for datastores in VMware templates Templates + + ZBX-18094 Fixed multiple pie graph issues related to calculation of item angles Frontend + + ZBX-20766 Fixed confusing port binding error message Agent Proxy Server + + ZBX-24481 Fixed inability to unset value map from existing item or item prototype by passing + a version without valuemap parameter into configuration.import API + + ZBX-24531 Fixed compile time data not being set for agent2 Agent + + ZBX-24453 Implemented socket file cleanup when shutting down, added blocking of signals during important stages of startup Proxy Server + + ZBX-24152 Fixed host form submission with Enter button if the form is opened in a popup and focus is in a flexible text area field Frontend + + ZBX-23788 Added SNMP OID ifAlias in Network interfaces discovery Templates + + ZBX-24482 Fixed the presence of the http_proxy field in the initial data Installation + + ZBX-24210 Improved Zabbix agent 2 loadable plugin capacity code style Agent + + ZBX-23951 Fixed issue of incorrect template matching when no UUID exists in export file API + + ZBX-23953 Fixed CIDR network mask of VMware HV network interface Proxy Server + + ZBX-24195 Fixed host IPMI username and password field max length Frontend + + ZBX-24451 Added tags and changed a item in Proxmox template Templates + + ZBX-23386 Fixed hintbox sizing to fit screen Frontend + + ZBX-24024 Fixed OIDs for external sensors in APC UPC by SNMP templates Templates + + ZBX-21751 Fixed node's loadavg item in Proxmox template Templates + + ZBX-24315 Fixed linking template to host when some LLD macro paths already exist Server + + ZBX-24172 Fixed Zabbix server issue with scheduled intervals on Feb 29th of leap year Server + + ZBX-23407 Improved performance of retrieving last history values when primary keys are available API + + ZBX-24246 Updated descriptions for family of MySQL and Oracle templates, + changed macro in the trigger 'Tablespace utilization is too high' for family of Oracle templates Templates + + ZBX-23988 Renamed Agent2 Go module + + ZBX-24222 Fixed incorrect item OIDs in the FortiGate by SNMP template Templates + + ZBX-24393 Updated README in Redis by Zabbix agent 2 template Templates + + ZBX-24298 Allowed any JNDI service providers back in JMX monitoring Java gateway + + ZBX-19990 Separated LLD filter macros in Apache Tomcat by JMX template Templates + + ZBX-24364 Added preprocessing steps for LLD rules in RabbitMQ templates Templates + + ZBX-24368 Improved PostgreSQL autovacuum's count query Templates + + ZBX-24282 Fixed Zabbix proxy to report error for not supported items Proxy Server + + ZBX-19507 Fixed vmware.eventlog item to recover after event keys are reset Server + + ZBX-24241 Fixed Zabbix server issue with random order of host groups for a host during real-time export Server + + ZBX-24275 Fixed item prototype JSONPath preprocessing, added missing volume health metric and triggers in HPE MSA templates Templates + + ZBX-24316 Fixed username macro in GridGain by JMX template Templates + + ZBX-23719 Updated plugin-support to add duplicate flag handling Agent + + ZBX-22429 Fixed typo in Zabbix proxy automake file Installation + + ZBX-24264 Fixed value cache being filled with values of newly added items with triggers Server + + ZBX-24088 Fixed problem filtering in maps with nested maps Frontend + + ZBX-24206 Fixed line breaks in JavaScript in Cloudflare template Templates + + ZBX-24236 Fixed nested transaction error in LLD when connection is terminated Server + + ZBX-24134 Added sensor discovery in VMware Hypervisor template Templates + + ZBX-23918 Fixed item pattern select popup to display all available items Frontend + + ZBX-24190 Fixed items being updated incorrectly when configuring graph Frontend + + ZBX-24289 Fixed issue with interface assignment for items copied from host to host Frontend + + ZBX-23032 Added triggers for cluster status in VMware templates Templates + + ZBX-23948 Added support for TabularData data when parsing an MBean attribute Java gateway + + ZBX-23742 Fixed tag filtering logic for tags with one name and different types of operators API + + ZBX-24271 Added delay in JavaScript execution for Azure Cost Management by HTTP template Templates + + ZBX-24208 Fixed Oracle, MySQL plugin connection cache blocking Agent + + ZBX-24202 Fixed JavaScript in AWS S3 bucket by HTTP template Templates + + ZBX-23478 Fixed issue when missing locale error would not be displayed for user under certain conditions Frontend + + ZBX-24166 Fixed Zabbix not being able to restart due to RTC and sockets not being closed before stopping Agent Proxy Server + + ZBX-23853 Fixed duplicate agent check timestamps when time shifts back due to system clock synchronization Agent + +------------------------------------------------------------------- +Wed May 29 12:57:35 UTC 2024 - Lubos Kocman + +- Update license to match legaldb report + +------------------------------------------------------------------- +Sat Mar 30 10:07:11 UTC 2024 - Andreas Stieger + +- update to 6.0.28: + * Added metadata in JavaScript for AWS templates + * Added AWS ELB Application Load Balancer by HTTP template + * Added Check Point Next Generation Firewall by SNMP template + * Added MSSQL by Zabbix agent 2 template + * Updated max supported TimescaleDB version to 2.14 + * bug fixes + +------------------------------------------------------------------- +Sat Mar 30 09:33:35 UTC 2024 - Boris Manojlovic + +- fix broken copypasta for system-user-zabbix source file and + file itself to remove gecos (description) in file + fixes bsc#1222169 Packaging Error in system-user-zabbix-6.0.27-1.1.noarch package prevents upgrade + Thanks Andreas Stieger for pointing out and reporter himself + +------------------------------------------------------------------- +Fri Mar 22 16:11:33 UTC 2024 - Boris Manojlovic + +- remove all firewalld definitions as they are part of firewald package already + +------------------------------------------------------------------- +Fri Mar 22 07:49:43 UTC 2024 - Boris Manojlovic + +- update to latest release 6.0.27 +- replaced zabbix-agentd.firewall zabbix-java-gateway.firewall zabbix-proxy.firewall zabbix-server.firewall + with firewalld xml definitions zabbix-agentd.xml zabbix-java-gateway.xml zabbix-proxy.xml zabbix-server.xml +- New Features and Improvements + + ZBXNEXT-8983 Updated max supported MariaDB version to 11.2 + + ZBXNEXT-8984 Updated max supported MySQL version to 8.3 + + ZBXNEXT-8762 Added YugabyteDB by HTTP and YugabyteDB Cluster by HTTP templates + + ZBXNEXT-8891 Updated max supported MySQL version to 8.2 + + ZBXNEXT-8524 Added support for HTTP proxy in GCP templates + + ZBXNEXT-8759 Added dashboards in Azure templates + + ZBXNEXT-8580 Added new discovery rules, refactored discovery rules to dependent items + and made few minor changes in MSSQL by ODBC template + + ZBXNEXT-8730 Added Azure Cost Management by HTTP template + + -Bug Fixes + + ZBX-23124 Fixed items with disabled history being sometimes stuck in non-supported state + + ZBX-23586 Fixed filter evaluation type of organizations discovery in Cisco Meraki dashboard by HTTP template + + ZBX-23766 Updated Zabbix agent 2 Ceph plugin readme setup instructions + + ZBX-24094 Fixed network interfaces LLD filtering macro in Linux by Prom template + + ZBX-23202 Fixed unused tag value being saved in tag filter + + ZBX-22555 Updated regexp to case insensitive in Nginx templates + + ZBX-23973 Fixed trends being retrieved from database for new items and for items with infrequent update interval + + ZBX-22745 Removed incorrect description of network interfaces administrative status filter macro in SNMP templates + + ZBX-24015 Improved zabbix[queue] internal item not to block history syncers and pollers + + ZBX-23509 Fixed JSONPath of Keyspace discovery master item in Redis by Zabbix agent 2 template + + ZBX-24059 Fixed libmodbus unnecessary linking into all binaries + + ZBX-24055 Added missing API port macros in URL of script items in HPE Synergy by HTTP and HPE Primera by HTTP templates + + ZBX-20525 Fixed vfs.dir.size performance issues when walking through directory that has a lot of subdirs/files + + ZBX-23773 Improved trigger functionality for Acronis Cyber Protect Cloud MSP by HTTP template + + ZBX-23979 Improved trend recalculation performance by performing trend updates in own transaction + + ZBX-23688 Improved new item value retrieval performance by adding such items to value cache after configuration sync + + ZBX-22130 Changed JSONPath expression evaluator to treat null values as empty variants + + ZBX-23986 Added a license to the Go module + + ZBX-23587 Fixed widget input field selecting when clicking on label + + ZBX-23640 Fixed preload hints opening + + ZBX-22433 Fixed web scenario and web scenario step configuration field trimming and field sorting + + ZBX-23684 Fixed transactions query file for PostgreSQL by Zabbix agent template + + ZBX-22371 Fixed process tags option not adding tags for service events + + ZBX-17208 Fixed invalid command-line flag handling in Zabbix agent 2 + + ZBX-23937 Fixed JavaScript for AWS EC2 instances discovery + + ZBX-22715 Fixed map shape dimension changes on resizing in scaled browser mode + + ZBX-23722 Added garbage collection after executing JavaScript code + + ZBX-23740 Fixed netsnmp persistent state disabling without affecting its configuration + + ZBX-23257 Fixed log items not using MaxLinesPerSecond setting correctly for Zabbix agent 2 + + ZBX-23890 Removed non-existing headers from compiler checks: mtent.h and knlist.h + + ZBX-23912 Removed Jira with CustomFields media type in data.tmpl + + ZBX-23761 Fixed JavaScript in Jira media type + + ZBX-22558 Fixed trigger expression for retrieval of stub page in Nginx templates + + ZBX-23691 Fixed LLD filters evaluation type for devices discovery in Cisco SD-WAN by HTTP template + + ZBX-23540 Added error checks for RegisterMetrics calls + + ZBX-23605 Removed getting location buckets in AWS by HTTP template + added discovery filters for request metrics in AWS S3 bucket by HTTP template + + ZBX-23466 Fixed data aggregation errors in Graphs and Top hosts widgets with Elasticsearch backend + + ZBX-23835 Updated Meraki templates + + ZBX-23723 Fixed proxy params in JavaScript AWS templates + + ZBX-23733 Fixed error when downloading graph as .png image if item name contains multibyte characters + + ZBX-22983 Fixed ellipsed dropdown options in items mass update in preprocessing + + ZBX-23715 Fixed persistent directory path not following symlinks upon creation + + ZBX-23825 Fixed query_fields values for Acronis and Nomand templates + + ZBX-22055 Fixed map image of map widget not being updated when pressing Apply button + + ZBX-23629 Fixed interface icon cursor to pointer + + ZBX-22536 Fixed TimescaleDB compression detection for history.clear API method and proper error appearance in frontend + + ZBX-23145 Disabled deprecated automatic reconnection in MySQL + + ZBX-22933 Improved vfs.file.regmatch and vfs.file.regexp items to use buffered file read + + ZBX-23439 Fixed sorting of numeric items with/without aggregation enabled in Top hosts widget + + ZBX-21973 Changed deprecated X-Frame option allow-from to Content-Security-Policy frame-ancestors + + ZBX-23633 Fixed service alarms to be recovered with problem time in case of negative problem duration + + ZBX-23738 Fixed Zabbix backend sources for libxml2 2.12.0 version changes + + ZBX-23746 Fixed creation of tickets during escalation for Zammad media type + + ZBX-23561 Fixed spacing between filter and results table + + ZBX-18873 Fixed disabled chevrons color in problem view + + ZBX-23636 Fixed some fields in Administration section not being trimmed on form submit + +------------------------------------------------------------------- +Tue Feb 20 12:05:38 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + +------------------------------------------------------------------- +Sun Feb 4 09:27:45 UTC 2024 - Dirk Müller + +- add group provides needed by RPM 4.19 + +------------------------------------------------------------------- +Sun Dec 24 09:21:51 UTC 2023 - Boris Manojlovic + +- updated to latest release 6.0.25 +- fixes for bsc#1218199 (CVE-2023-32727), bsc#1218185 (CVE-2023-32725),bsc#1218193 (CVE-2023-32726) +- New Features and Improvements + + ZBXNEXT-8857 Updated max supported TimescaleDB version to 2.13 + + ZBXNEXT-8800 Backported support of additional SSH options for ssh.run[] item as the 5th parameter + + ZBXNEXT-8705 Implemented new tablespace item to retrieve percentage about + current tablespace usage from max for both Oracle templates + + ZBXNEXT-8708 Added version metric to Oracle plugin in Zabbix agent 2 + + ZBXNEXT-8729 Updated max supported TimescaleDB version to 2.12 + + ZBXNEXT-8522 Added HPE iLO by HTTP template + + ZBXNEXT-7486 Added openshift-state-metrics in Kubernetes cluster state by HTTP + + ZBXNEXT-8552 Added FortiGate by SNMP and FortiGate by HTTP templates + + ZBXNEXT-8727 Added additional metrics in Cisco Meraki organization by HTTP template + + ZBXNEXT-7097 Added item and trigger for monitoring PostgreSQL version into PostgreSQL + by ODBC and PostgreSQL by Zabbix agent 2 templates + + ZBXNEXT-8283 Implemented role-based authentication for AWS monitoring + + ZBXNEXT-8575 Added Nextcloud template + + ZBXNEXT-8469 Increased PostgreSQL maximum supported version to 16 + + ZBXNEXT-8714 Increased MariaDB maximum supported version to 11.1 +- Bug Fixes + + ZBX-23559 Fixed SLI dropping when maintenance is set with pre-existing problem + + ZBX-23471 Fixed sha256 sum calculation on AIX, HP-UX and Solaris, fixed crash on HP-UX + + ZBX-23787,ZBX-23755 Fixed crash on empty HTTP response; + fixed Zabbix agent build on Windows with libcurl + + ZBX-23683 Fixed calculation of vmware.datastore.read/write items taking into + account VMware HV maintenance status + + ZBX-21132 Fixed Top hosts widget not showing all items by selected item name + + ZBX-23764 Added an additional field for new events in SIGNL4 media type + + ZBX-23342 Fixed Zabbix agent 2 MySQL plugin connection not taking into account TLS parameters + + ZBX-23685 Added read-only transaction to the list of recoverable errors on PostgreSQL + + ZBX-23580 Fixed aggregated item key conversion to calculated item formula when + item key includes 'last' function and a fourth parameter + + ZBX-22493 Fixed foreign key support with SQLite3 database + + ZBX-23490 Improved HTTP agent, web scenarios, web checks and JavaScript to convert to UTF-8 + from charset specified in HTTP header or HTTP meta tag + + ZBX-23621 Fixed SNMP discovery looping forever with empty trend response + + ZBX-23644 Fixed Zabbix agent compilation on AIX + + ZBX-23525 Fixed template tab name in template configuration form + + ZBX-23620 Reordered sub-templates in READMEs of Acronis, Control-M and Openstack templates + + ZBX-23381 Fixed unit for FreeStorageSpace metric in JavaScript AWS RDS instance by HTTP template + + ZBX-23269 Fixed sizes of loading modal windows + + ZBX-22400 Fixed Web scenarios configuration form to display parent web scenarios on page refresh + + ZBX-23290 Fixed gap when filtering by tags in Latest data + + ZBX-23430 Fixed selected filter tab in high contrast themes being indistinguishable from others when collapsed + + ZBX-23639 Changed value type for 'Pool Percent Used' item prototype in Ceph by Zabbix agent 2 template + + ZBX-21891 Fixed messages about enabling, disabling and updating modules being different from other places + + ZBX-23521 Fixed password field label not changing to key passphrase and + back for SSH agent item when changing authentication method + + ZBX-23431 Fixed non-working "Network timeout for item test" setting + + ZBX-23285 Added missing bottom border for disabled button dropdown on hover for inherited macros + + ZBX-23615 Fixed receiving data from the database twice the first time it is loaded + + ZBX-19531 Fixed tables with header text vertical rotation + + ZBX-23235 Fixed function macros to expand in notifications + + ZBX-23173 Fixed memory leak in agent 2 for Windows Events processing on MS Windows + + ZBX-23265 Fixed transfer of PSK encryption details when cloning proxy + + ZBX-23563 Fixed JSONPath for rowshare locks metric in PostgreSQL by Zabbix agent 2 template + + ZBX-22907 Removed unused LLD macro in PostgreSQL by Zabbix agent template + + ZBX-23377 Added support for VMware perfCounter with nanosecond type + + ZBX-23012 Possible optimization of the SQL queries when updating LLD items + + ZBX-23325 Fixed ability to add duplicate ICMP ping checks to discovery rule configuration form via popup + + ZBX-23270 Renamed trigger name condition to event name condition + + ZBX-23340 Fixed TLS parameter handling in MySQL plugin for Zabbix agent 2 + + ZBX-23461 Fixed output of redundant data in DCdump_interfaces + + ZBX-23528 Fixed inability to resize trigger expression field horizontally + + ZBX-22977 Fixed positioning of hidden checkbox inputs and fixed autofocus in template/host mass update + + ZBX-23494 Added SNMP fallback item to TrueNAS by SNMP template, updated + uptime item and template descriptions, added preprocessing to free swap percentage calculation + + ZBX-23404 Fixed Zabbix agent crashes on HP-UX 11.23 + + ZBX-22666 Disabled severity filter for Geomap widget in dashboard edit mode + + ZBX-22735 Fixed confusing error message on user parameter reload in Zabbix agent 2 + + ZBX-23393 Fixed unquoted macro parsing in trigger function parameters + + ZBX-23064 Simplified trend synchronization queries to improve performance + + ZBX-23373 Fixed result for script.get API call with selectActions option + + ZBX-23014 Fixed Zabbix agent build on HP-UX + + ZBX-23164 Added timespan parameter in JavaScript Cisco Meraki template + + ZBX-23455 Fixed inconsistency in button naming, confirmation messages, + success and error messages in item and web scenario list pages + + ZBX-20038 Fixed master host parameter for MySQL replication.get_slave_status key in Zabbix agent 2 + + ZBX-23301 Removed checks for PostgreSQL-TimescaleDB versions combination + + ZBX-23211 Fixed host dashboard view for multi-page dashboard where the first page is empty + +------------------------------------------------------------------- +Tue Oct 17 20:03:33 UTC 2023 - Boris Manojlovic + +- updated to latest upstream release 6.0.22 +- this version fixes CVE-2023-32722 and CVE-2023-32722 bsc#1216211 and bsc#1216222 +- removed patches zabbix-6.0.12-new-m4-pgsql.patch zabbix-6.0.12-curl-fixes.patch + honestly was tired of patching for correct way doing postgresql detection + now added postgresql-server-devel which does not make sense but hey + upstream does not care +- New Features and Improvements + + ZBXNEXT-8576 Added template integration with Acronis Cyber Protect Cloud + + ZBXNEXT-6554 Increased remote command execution limits to 16MB + + ZBXNEXT-8610 Added MantisBT template + + ZBXNEXT-8358 Improved items configuration sync on PostgreSQL by selecting using equal condition instead of not equal + + ZBXNEXT-8429 Added HashiCorp Nomad template + + ZBXNEXT-8649 Fixed time period params in JavaScript + + ZBXNEXT-8581 Added support for HTTP proxy in Azure templates + + ZBXNEXT-8558 Added MantisBT webhook + + ZBXNEXT-8589 Updated documentation, unified metric names and descriptions in PostgreSQL templates, + removed unused macros, user parameters and queries in PostgreSQL by Zabbix agent + + ZBXNEXT-8528 Added AWS Cost Explorer template + + ZBXNEXT-8190 Increased MariaDB maximum supported version to 11.0 + + ZBXNEXT-8582 Increased MySQL maximum supported version to 8.1 + + ZBXNEXT-8481 Added PostgreSQL by ODBC template + + ZBXNEXT-8561 Added nodata trigger to remote Zabbix proxy and server health templates + + ZBXNEXT-8482 Added integration with OpenStack Nova + + ZBXNEXT-8451 Disabled spell checking for nondescriptive textareas + + ZBXNEXT-8505 Added Cisco SD-WAN templates + + ZBXNEXT-7944 Excluded edgeupdate service from services discovery in Windows by Zabbix agent templates + + ZBXNEXT-8422 Added AWS ECS templates +- Bug Fixes + + ZBX-23417 Fixed possible memory leak when checking modbus.get[] item + + ZBX-23338 Improved performance of templatedashboard.get method for non super-admin users + + ZBX-23110 Fixed possible crash on Windows 11 by removing concurrent Win API call for update perfCounters list + + ZBX-23284 Prevented deletion of the discovered group as a result of renaming its group prototype + + ZBX-21094 Fixed graphs not displaying values when items do not have trends and trend storage period is overridden in configuration + + ZBX-23162 Fixed variable in JavaScript for Cisco Meraki template + + ZBX-23066 Expanded ui/composer.json to describe the project + + ZBX-23261 Removed kiosk mode button from host inventory form + + ZBX-23253 Added static units support to graph widget legend and hint box + + ZBX-21898 Fixed expression validation, history function parser to accept backslash without escaping + + ZBX-22943 Fixed various memory leaks in Zabbix agent 2 + + ZBX-23244 Added escaping for special characters in HTML mode of Telegram mediatype + + ZBX-22818 Fixed some aggregation functions not working with last_foreach() + + ZBX-21636 Fixed Oracle DB update query error mishandled as success + + ZBX-20442 Fixed Ceph plugin not returning percent_used in Zabbix agent 2 + + ZBX-15210 Added housekeeping and handling in remove action operation of autoreg_host table + + ZBX-22685 Fixed issue of error message details not being expanded by default in various forms + + ZBX-22166 Fixed item value widget not showing decimal places properly with seconds + + ZBX-23035 Fixed disappearing filter group in host, item, trigger, graph, discovery rule, web and template lists + + ZBX-23105 Added missing database indices + + ZBX-22640 Fixed inability to add unique SNMPv3 checks in discovery rules + + ZBX-21952 Fixed and improved documentation for Oracle by ODBC template + + ZBX-22724 Fixed inconsistencies in ordering of objects in template configuration export + + ZBX-22980 Fixed host prototype displaying inherited macros in a non-inherited macro tab + + ZBX-17279 Fixed graph widget loading + + ZBX-21644 Fixed state of "allow manual close" setting of trigger prototype getting lost on template cloning + + ZBX-22060 Added notes about encryption in PostgreSQL templates, renamed database instance URI macro to connection string + in PostgreSQL by Zabbix agent 2 template, updated PostgreSQL by ODBC template to use connection string + + ZBX-23246 Fixed classic graph preview not working if more than 10 items are assigned to it + + ZBX-22758 Fixed Zabbix agent 2 startup error on domain controllers by increasing go-winio version + + ZBX-22451 Fixed resolving of calculated item formula in test popup + + ZBX-22620 Added header in items for Meraki template + + ZBX-23051 Changed content of resolved alerts to be more compatible with Event Orchestration in PagerDuty + + ZBX-23272 Fixed naming for tenant item prototypes in OpenStack Nova by HTTP template + + ZBX-22771 Fixed handling of large unsigned integers in jsonpath + + ZBX-22871 Fixed regular expression crash with invalid utf-8 sequences when pcre2 is used + + ZBX-23141 Fixed crash when maintenance is enabled and unexpected event exists for trigger prototype + + ZBX-21255 Added support of the fmtnum() function for {ITEM.VALUE}, {ITEM.LASTVALUE} and expression macros + + ZBX-21695 Fixed {TIME} macro not being resolved during scheduled report test + + ZBX-23221 Fixed memory leaks when using certificate-based encryption in Zabbix Agent 1 and Agent 2; thanks to Masato Hirahata for the patch + + ZBX-22864 Fixed calculation of max_repetitions sent out to device in SNMP PDUs + + ZBX-21574 Optimized Asterisk by HTTP template + + ZBX-18168 Added regexp runtime error logging for log*[] items + + ZBX-22677 Adjusted font colors for placeholders, disabled and readonly fields + + ZBX-22972 Fixed displaying of dashboard pages when scrolling is enabled + + ZBX-22528 Fixed draggable element position + + ZBX-23067 Enhanced audit logging with reason of switching of HA node to active mode + + ZBX-22613 Fixed script execution with API token as authentication + + ZBX-23060 Removed unused endpoints in JavaScript for Veeam Backup and Replication template + + ZBX-22772 Added trends cleanup for non-numeric value types + + ZBX-22822 Fixed displaying the correct threshold color in "Top hosts" widget when value exceeds maximum + + ZBX-22777 Fixed item test form sending incorrectly resolved macros to server if item uses SNMP interface + + ZBX-23097 Fixed use of uninitialised value when verifying subject and issuer with TLS + + ZBX-23112 Fixed runtime errors in the inheritance of the trigger and trigger prototype dependencies + + ZBX-22539 Fixed SLI calculation for days with daylight-saving-time transitions + + ZBX-22814 Fixed PHP runtime errors in API trigger.get method when using "expandComment" option + + ZBX-23049 Fixed default condition for log item macro resolution + + ZBX-21909 Updated setup section in README for PHP-FPM templates to include configuration example for Apache + + ZBX-21547 Fixed reading of non-UTF-8 encoded files in Zabbix agent 2 + + ZBX-20148 Fixed the issue with housekeeper failing to delete some of the events that required deletion + + ZBX-21970 Fixed console error in "Map navigation tree" widget; disabled add button on a 10th depth level + + ZBX-19393 Fixed undefined index errors in configuration.importcompare + + ZBX-22290 Fixed generation of double page headers when general warning appears + + ZBX-21845 Fixed Zabbix agent 2 systemd plugin failing with newer dbus + + ZBX-22830 Fixed free bytes calculation for temporary tablespace in Oracle Zabbix agent 2 plugin + + ZBX-22912 Fixed not being able to save an event correlation when custom formula was selected but only one condition remained + + ZBX-21571 Updated pod crash loop trigger expressions in Kubernetes nodes and cluster state templates + + ZBX-22369 Fixed suffix interpretation in threshold values for "Top hosts" widget + + ZBX-22825 Fixed Zabbix access to the first page for user with specific page access + + ZBX-22867 Fixed import popup showing circle animation even if PHP code failed + + ZBX-22711 Fixed incorrectly displayed simple graphs with non-numeric items in Host graphs page + +------------------------------------------------------------------- +Thu Jul 20 20:54:15 UTC 2023 - Boris Manojlovic + +- updated to latest upstream release 6.0.19 +- this version fixes CVE-2023-29454 bsc#1213338 +- New Features and Improvements + + ZBXNEXT-8497 Removed unnecessary JavaScript preprocessing in discovery rules in Kubernetes templates + + ZBXNEXT-8465 Updated JavaScript scripts in Kubernetes templates + + ZBXNEXT-8467 Updated max supported TimescaleDB version to 2.11 + + ZBXNEXT-7072 Fixed hintbox to be automatically closed when target element disappears + + ZBXNEXT-8294 Added filters of node labels and annotations for Kubelet discovery + in Kubernetes cluster state template + + ZBXNEXT-8199 Added Google cloud platform monitoring template + + ZBXNEXT-8330 Updated plugin support with defaults support for Zabbix agent 2 + + ZBXNEXT-8357 Improved proxy history housekeeping when data older than ProxyOfflineBuffer is being constantly received + + ZBXNEXT-8142 Added ability to import configuration files with a UTF-8 Byte order mark + + ZBXNEXT-8209 Added Azure CosmosDB for MongoDB template + + ZBXNEXT-8078 Removed unnecessary new line for each element in an array when exporting YAML templates + + ZBXNEXT-8273 Implemented support for relative Include paths in the config file, based on its current directory + + ZBXNEXT-8391 Added container healthcheck metric in Docker by Zabbix agent 2 template + + ZBXNEXT-8354 Added pids_stats to docker.container_stats key in Zabbix agent 2 +- Bug Fixes + + ZBX-22987 Fixed inefficient URL schema validation + + ZBX-21859 Fixed active checks occasionally not being executed on Zabbix agent 2 if checks + for a plugin have long and short update intervals + + ZBX-21892 Fixed wrong fs type returned by vfs.fs.get for file systems with identical mount point + + ZBX-22941 Prevented clearing of the user macro secret values on inherited host prototypes as + the result of user macros modifications on the parent host prototype of a template + + ZBX-22695 Fixed eventlog duplicate timestamps + + ZBX-22903 Fixed scale calculation for Graph and Graph (classic) widgets + + ZBX-22148 Fixed the crash when updating a webhook to JavaScript that cannot be compiled + + ZBX-22868 Fixed Zabbix agent 2 plugin Defaults when hardcoded value is provided + + ZBX-22399 Added TLS and Default parameters support to MQTT plugin for Zabbix agent 2 + + ZBX-20280 Fixed page selection in a dashboard after refresh + + ZBX-22883 Fixed occasional crash of user parameters on Windows when using Zabbix agent 2 with UserParameterDir defined + + ZBX-22805 Increased memory allocation limit for JavaScript execution from 64M to 512M + + ZBX-22798 Fixed incorrect output of vfs.file.contents when reading frequently modified file + + ZBX-21573 Optimized preprocessing steps in the AWS EC2 by HTTP template + + ZBX-16326 Fixed displaying of the first and last data points on the graphs + + ZBX-22467 Fixed missing bracket in a trigger event name in Windows templates + + ZBX-22738 Fixed flickering debug info while editing empty dashboards + + ZBX-22231 Removed host and interface macros resolution from HTTP proxy fields in items, + item prototype and discovery rule test dialogues + + ZBX-21194 Fixed filter form submission upon pressing Enter key in Safari + + ZBX-22762 Fixed race condition in Zabbix agent 2 when reading filesystem + + ZBX-21804 Removed requirement for write permissions on hosts, host groups, triggers, discovery rules, + discovery checks and proxies when creating or updating actions + + ZBX-22243 Fixed navigation away from edited dashboard without user confirmation + + ZBX-22418 Fixed popup form fields overlapping labels when textarea width is resized + + ZBX-19590 Changed count_foreach to add 0 when no data are in the requested period + + ZBX-22681 Fixed wrongly displayed Revert button for text macros in host, template and host prototype clone forms + + ZBX-22594 Fixed fatal error when a request contains invalid authentication parameters + + ZBX-22397 Fixed disabled input field text color in Safari + + ZBX-21593 Optimized preprocessing steps in the templates PostgreSQL by Zabbix agent and PostgreSQL by Zabbix agent 2 + + ZBX-22470 Fixed hang on logging when establishing an encrypted connection in Zabbix agent 2 + + ZBX-20263 Prevented the ability to link two or more templates with matching item keys to a host or template; + improved the check for double template linkage and related error messages + + ZBX-22571 Fixed "service not equal" action condition not working as expected + + ZBX-22644 Fixed Graph widget not showing all problems for multiple items with dataset aggregation enabled + + ZBX-22698 Fixed spelling mistakes in the templates + + ZBX-21883 Changed Select map field of the Map widget to multiselect + + ZBX-22989 Silenced null-dereference warnings for duktape + + ZBX-22720 Dropped support for custom geomap HTML attribution text + + ZBX-22604 Added new replica mismatch metrics to Kubernetes cluster state template, updated triggers + + ZBX-22475 Fixed regex in preprocessing parameter for Jenkins template + + ZBX-21910 Fixed JavaScript in Kubernetes nodes template + + ZBX-22773 Made NodeAddress use ListenIP and ListenPort if not specified + + ZBX-21613 Fixed broken database upgrade if more than one Zabbix server at the same time on one database is started + + ZBX-22688 Fixed AlertScriptPath not allowing links + + ZBX-22029 Fixed preprocessing step in Pods discovery for Kubernetes kubelet template + + ZBX-22234 Fixed incorrect SNMPINDEX offset retrieval in SNMP discovery + + ZBX-22141 Fixed attaching multiple templates with proc.get item key to one host and fixed spelling in description + + ZBX-22285 Fixed honoring of the excludeSearch parameter in API + + ZBX-20604 Fixed UserParameterDir behavior for UserParameter calls + + ZBX-22732 Fixed description of ATAN2 mathematical function + + ZBX-22664 Fixed user macros with regex context being resynced without any changes + + ZBX-22661 Fixed templated dashboard display in Monitoring Hosts Dashboards + + ZBX-21599 Optimised preprocessing steps and added dashboard in the TiDB TiKV by HTTP template + + ZBX-21598 Optimised preprocessing steps and added dashboard in the TiDB PD by HTTP template + + ZBX-21600 Optimised preprocessing steps and added dashboard in the TiDB by HTTP template + + ZBX-22386 Fixed encoding of HTML entities in the user interface + + ZBX-22714 Fixed signature for mqtt.get key in Standard items popup + + ZBX-21397 Fixed preprocessing step in discovery for Kubernetes kubelet template + + ZBX-20202 Improved tablespace handling to support Oracle multitenant architecture in Oracle by ODBC template + + ZBX-22713 Fixed Zabbix server compilation problem for NetBSD + + ZBX-21795 Fixed unhandled timeout in Telnet + + ZBX-21801 Fixed helper positioning when sorting Header and Query fields in item configuration form + + ZBX-22238 Fixed non-writable hostgroup appearance in template, host and host prototype clone forms + + ZBX-22192 Fixed valid widget name being reset when other widget fields are invalid + + ZBX-21871 Switched for the changes in users of user group API object to be audit logged + as updates in groups of user API objects + + ZBX-22461 Fixed incorrect sortable item positioning in Safari + + ZBX-22469 Fixed SLI calculation for services having multiple alarms per second + + ZBX-22859 Fixed validation of input parameters in action configuration form + + +------------------------------------------------------------------- +Mon May 15 16:46:46 UTC 2023 - Boris Manojlovic + +- updated to latest upstream release 6.0.17 +- New Features and Improvements + + ZBXNEXT-8334 Added Event-Driven Ansible media + + ZBXNEXT-8312 Increased TimescaleDB maximum supported version to 2.10 + + ZBXNEXT-8317 Increased MariaDB maximum supported version to 10.11 + + ZBXNEXT-7759 Added array and Buffer support to JavaScript btoa function and HttpRequest post/put methods + + ZBXNEXT-8071 Added sysdba, sysasm and sysoper login options to Zabbix agent 2 + Oracle plugin and updated Oracle by Zabbix agent 2 template documentation + + ZBXNEXT-8241 Added support of signing data using rs256 to JavaScript engine + + ZBXNEXT-8208 Added storage accounts in azure template + + ZBXNEXT-8012 Implemented API token authentication in user.checkAuthentication method + + ZBXNEXT-8204 Added support of PHP 8.2 + + ZBXNEXT-8170 Added AWS cloud templates + + ZBXNEXT-7923 Added templates for BMC Control-M integration + + ZBXNEXT-7775 Added Veeam backup and replication templates + + ZBXNEXT-8054 Updated MariaDB maximum supported version to 10.10 + + ZBXNEXT-7951 Implemented configuration import improvements + + ZBXNEXT-8112 Added Line media type + + ZBXNEXT-8197 Added TimescaleDB v2.9.x support + + ZBXNEXT-7962 Fixed interfaces discovery rules in OPNsense, PFSense and TrueNAS templates + + ZBXNEXT-7615 Added hmac function for JavaScript + + ZBXNEXT-7977 Added Azure Microsoft SQL templates + + ZBXNEXT-8076 Added prof_enable and prof_disable commands for profiling + + ZBXNEXT-7963 Added a hint box to the "Enable HTTP authentication" field; added confirmation dialog box for enabling HTTP authentication + + ZBXNEXT-7886 Added Cisco Nexus 9000 Series Switches template + + ZBXNEXT-6119 Added the option to retrieve all JSON data from docker.container_info key in Zabbix agent 2 Docker plugin + + ZBXNEXT-7834 Added templates for Microsoft Azure and Azure virtual machines + + ZBXNEXT-8058 Reduced locking between history syncers, trappers and proxy pollers +- Bug Fixes + + ZBX-22718 Fixed memory leak in json objects and identical keys + + ZBX-22719 Fixed replace() function in expressions + + ZBX-22720 Dropped support for custom geomap HTML attribution text + + ZBX-22589 Added new limits for JS objects + + ZBX-22521 Added debug logging for process selection in proc.mem[] on AIX + + ZBX-22373 Updated go.mod/sum to allow mixing session and key parameter for Zabbix agent 2 items + + ZBX-22241 Fixed minimum severity filter usage for map element link triggers + + ZBX-22194 Fixed inability to import a template with trigger dependency on a host trigger + + ZBX-22538 Fixed popup menus disappearing on right-clicking links in them + + ZBX-21583 Optimised preprocessing steps and added two graphs and dashboard in the Hadoop by HTTP template + + ZBX-19375 Prevented the ability to set a duplicate value for the uuid parameter when updating any of template + entities; added possibility to update the uuid parameter for the Service API; fixed duplicate UUIDs + in Proxmox VE by HTTP template + + ZBX-21603 Optimised preprocessing steps in the Zookeeper by HTTP template + + ZBX-21589 Optimised SQL queries and preprocessing steps + + ZBX-22492 Removed limitation for size of logged messages in JS + + ZBX-22641 Updated deprecated ports in Kubernetes templates, updated target tags, + added notes about binding address options for Scheduler and Cluster Manager components + + ZBX-22306 Fixed the crash in Zabbix agent 2 when running out of available file descriptors + + ZBX-21013 Hid the option "Create new groups" for unprivileged users in the Import form + + ZBX-22219 Added validation to the "Server" IP/DNS option in the Zabbix agent 2 configuration + + ZBX-22627 Fixed loss of preprocessing result when step with delta is used + + ZBX-22304 Fixed duplication in web scenario error messages when curl cannot resolve host + + ZBX-21577 Added an extra master item prototype to the Elasticsearch Cluster by HTTP template + to reduce preprocessing worker utilization + + ZBX-20084 Fixed VMware parameters display + + ZBX-20699 Fixed the inability to import host prototypes containing SNMPv3 interface; + allowed to supply conditional parameters with default values to hostprototype.create and hostprototype.update API methods + when the parameters have no effect; added audit logging of changes to host prototypes when unlinking a template; + fixed the inability to remove group links or group prototypes from a host prototype of a linked template + + ZBX-22432 Fixed different severity paddings in trigger popups and maps triggers + + ZBX-22210 Fixed selected count when using filter and filtered parameter is changed in a popup + + ZBX-22533 Fixed debug section overlapping with 'Add new widget' placeholder in the dashboard + + ZBX-22331 Fixed messages when updating graph prototype discovery + + ZBX-22455 Added a check for numeric value in value mapping + + ZBX-22206 Fixed incorrect padding in multiselect popup contrast dark and light stylesheets + + ZBX-18527 Fixed the markup for Type of calculation expression field + + ZBX-22363 Added support for item and item_preproc table fields to be either nvarchar or nclob + + ZBX-22622 Fixed alert script path validation + + ZBX-22588 Fixed unauthorised file system access when using cURL + + ZBX-22097 Fixed exiting process when connection to the database is lost + + ZBX-21576 Optimized preprocessing in ClickHouse by HTTP template and added lld rule + + ZBX-21669 Added the possibility to filter System user in the audit log + + ZBX-22261 Added value mapping in the template PostgreSQL by Zabbix agent 2 for item Checksum failures + + ZBX-22413 Fixed autofocus for inherited web scenario edit + + ZBX-22507 Fixed positioning of the debug information on dashboards in the editing mode + + ZBX-22506 Fixed horizontal scrollbar occasionally appearing on Graph widgets + + ZBX-22512 Fixed occasional jumping of hint-boxes of Graph widgets, when made static + + ZBX-22403 Added license information to the Readme for Veeam Backup templates + + ZBX-21596 Optimized preprocessing steps in the Redis by Zabbix agent 2 template + + ZBX-22520 Fixed the versions of integrations + + ZBX-19466 Changed global script name validation to include a menu path into its scope of uniqueness check + + ZBX-22073 Fixed subfilters of the Latest data and Graphs occasionally hiding the selected options + + ZBX-22490 Fixed HttpRequest limit in JavaScript being reached even if all objects are destroyed + + ZBX-21578 Optimized HAProxy http/agent templates to spread the load across the workers + + ZBX-21906 Fixed recovery of dependent items when throttling is used + + ZBX-21723 Removed syslog LogType from config file for Zabbix agent 2 on Windows + + ZBX-22407 Fixed a crash when testing an item with the aggregated function count containing invalid argument + + ZBX-22056 Fixed the "No data found" message style in Monitoring->Problems + + ZBX-22026 Fixed SNMP agent item going to unsupported state on NULL result + + ZBX-22411 Fixed incorrect time in the dashboard Graph widget hintbox + + ZBX-21902 Emphasized the HTML type in the attribution field in the Administration->Geographical Maps + + ZBX-18288 Fixed undefined offset runtime error in the Graph prototype preview + + ZBX-21963 Fixed $ZBX_SERVER value being ignored unless $ZBX_SERVER_PORT is also defined + + ZBX-21802 Fixed Enabled button in the discovered calculated items + + ZBX-21642 Fixed a filter not clearing when clicking on a specific host in the Monitoring + + ZBX-22186 Fixed wrong color update after item order change in graphs + + ZBX-19339 Fixed import and export of dependent LLD rules if master item is a web item + + ZBX-21813 Fixed User role update page when an empty user role name has been submitted + + ZBX-22188 Changed parameters of the wmi.get and wmi.getall keys to mandatory + + ZBX-21238 Fixed the inability to update status and other fields of a templated item, item prototype + and discovery rule of script type + + ZBX-21834 Fixed the map navigation tree breaking if there is a disabled trigger used as a link indicator + between two elements in a map + + ZBX-22259 Fixed quoted parameter escaping in the trigger expression functions + + ZBX-22241 Fixed map link color and drawing style selection when multiple triggers are in the problem state + + ZBX-22203 Fixed the tabfilter item click event being executed at the end of the tabfilter sorting event in Firefox + + ZBX-22434 Fixed race condition when starting Zabbix agent 2 with loadable plugins + + ZBX-22229 Updated Zabbix web service dependencies + + ZBX-20801 Updated the Readme in Docker template + + ZBX-22298 Fixed metrics preprocessing in PVC discovery in Kubernetes cluster state by HTTP template, + removed non-existing PVC statuses, combined state phases into single phase metrics, added PV discovery + + ZBX-22079 Fixed "make clean" command when used from tar archive + + ZBX-22222 Fixed applying item value maps on already converted values + + ZBX-22402 Fixed data sending to Zabbix server from Zabbix agent2 persistent buffer + + ZBX-22240 Fixed selects of history and trends being able to block housekeeping + + ZBX-22240 Fixed selects of history and trends blocking drop_chunks + + ZBX-22078 Fixed the crash in calculated items when using tag filter on 32-bit systems + + ZBX-21591 Optimized JSONPaths in the Nginx Plus template + + ZBX-21739 Fixed discover status not being updated for templated graph prototype + + ZBX-21748 Fixed the background of the Close button in the message box for dark theme + + ZBX-19202 Fixed template dashboard availability to users without permissions to the templates + + ZBX-22189 Fixed Zabbix server crash appearing when only item tags change between LLD runs + + ZBX-21591 Optimized Nginx Plus by HTTP template to spread the load across worker processes + + ZBX-22032 Added the cookie engine to HTTP checks + + ZBX-21597 Optimized Remote Zabbix server health template to spread the load across worker processes, updated descriptions + + ZBX-21602 Optimized Zabbix server health template to spread the load across worker processes, updated descriptions + + ZBX-22149 Fixed wrong escaping in trigger expression during upgrade and escaping as a workaround for calculated items + + ZBX-22061 Fixed custom query parameter read on an empty parameter for Oracle plugin in Zabbix agent 2 + + ZBX-21227 Improved error logging during agent start as a Windows service + + ZBX-22178 Fixed action operations being executed on the current host only if a host group is selected + + ZBX-22189 Fixed LLD Zabbix server crash + + ZBX-21538 Fixed history.get API method blocking drop_chunks requests during housekeeping + + ZBX-21956 Fixed severity sign overlapping trigger name in the map element configuration + + ZBX-22215 Fixed incorrectly quoted function parameter parsing + + ZBX-22043 Fixed the crash when array index in JSONPath is negative or large + + ZBX-22118 Fixed remote command execution sequence in Zabbix agent 2 + + ZBX-21556 Updated Etcd by HTTP template to comply with Etcd v3.5 + + ZBX-22133 Fixed closed pipe detection for communication with plugins in Windows + + ZBX-21936 Fixed actions not being displayed in the Action log widget + + ZBX-22164 Fixed quote and unquote methods for trigger functions + + ZBX-21254 Removed kernel.maxproc from the processes graph in Linux by Zabbix agent templates + + ZBX-21754 Improved value cache warmup when retrieving two last values with 1 day update interval + + ZBX-22077 Fixed Sign out link not working consistently in Mozilla Firefox + + ZBX-21862 Updated tablespaces query for Oracle plugin in Zabbix agent 2 + + ZBX-21665 Fixed SMART plugin infinite loop for Zabbix agent 2 + + ZBX-19138 Fixed Redis plugin configuration in Zabbix agent 2 configuration files + + ZBX-21592 Moved some static items under LLD rules to optimize Oracle by ODBC template + + ZBX-21069 Fixed SNMP max_vars not backing off when generr is received + + ZBX-21889 Fixed warnings being displayed even after enabling overrides for trends or history tables with compressed chunks + + ZBX-21563 Changed the order in which escalation steps and recovery operations are executed + + ZBX-22017 Fixed map navigation tree widget inability to save the order when the depth levels get changed + + ZBX-21961 Removed the unnecessary "Command:" label for message actions on the Event details page + + ZBX-21783 Fixed Zabbix JS timeout validation + + ZBX-21720 Fixed trends function cache size estimation and overallocation handling + + ZBX-21713 Fixed retrieval of the numeric column width when Oracle DB is used + + ZBX-22126 Fixed trends being deleted from cache and retrieved from the database when data older than 1 hour is received + + ZBX-22075 Fixed crash when Elasticsearch is used + + ZBX-21890 Fixed config.dbversion_status containing second empty object on PostgreSQL without TSDB + + ZBX-22138 Fixed inability to delete a group from the host prototype + + ZBX-21950 Updated script item to not require host interface during template linkage + + ZBX-21540 Moved some static items under LLD rules to improve performance in Oracle by Zabbix agent 2 template + + ZBX-21073 Added support of Int8Array(), Buffer() and also duktape plain buffers in md5, sha256 and hmac function parameters + + ZBX-22071 Extended description for OPSGenie media type + + ZBX-20845 Fixed SNMP interface availability in case of wrong credentials + + ZBX-21587 Added metrics for optimizing dependent items preprocessing in Jenkins template + + ZBX-21441 Added an override to skip metadata collection on zfs and btrfs for Nix templates + + ZBX-22016 Fixed host.get API method not returning any results for hosts with no interfaces when filtering by "hostid" + + ZBX-21927 Fixed a crash on Oracle database when connection is lost + + ZBX-21300 Fixed high CPU usage when using net.tcp.socket.count key on Windows + + ZBX-21793 Fixed error message for "diaginfo" runtime command + + ZBX-22042 Fixed inability to get the existing group prototypes by hostprototype.get API method when using Oracle database + + ZBX-21221 Increased character limit of task_result.info + + ZBX-21696 Fixed Windows agent 2 Unicode path support for log* items + + ZBX-21903 Fixed agent 2 timeout behavior for net.tcp.port item + + ZBX-21039 Fixed Readme in PostgreSQL by Zabbix agent 2 template + + ZBX-21922 Fixed expression macros to use corresponding item keys + + ZBX-21806 Fixed fatal PHP error in case incorrect variable type for controller action is given + + ZBX-21753 Fixed graphs not loading in kiosk mode + + ZBX-20413 Fixed the behavior of paging when a filter or a sub-filter is applied + + ZBX-21206 Updated plugin support dependency for Zabbix agent 2 + + ZBX-20356 Updated Zabbix agent 2 to remove and re-add performance counters on failed collection and to keep a query always open + + ZBX-21296 Updated Oracle plugin, Oracle ODBC and agent 2 template documentation grant select variables and added a new grant + + ZBX-21595 Optimized RabbitMQ node templates + + ZBX-21884 Changed system.sw.packages[,,] to system.sw.packages[,,] + + ZBX-21594 Optimized RabbitMQ cluster templates + + ZBX-20050 Fixed broken macro value and type input when changing to/from inherited macros + + ZBX-21864 Fixed the fatal error in system warning page + + ZBX-20110 Added single field search option to the archive.info, ts.stats, pdb.info, + cdb.info and diskgroups.stats keys in Zabbix agent 2 Oracle plugin + + ZBX-21373 Fixed the agent sometimes crashing when enumerating system processes on OpenBSD + +------------------------------------------------------------------- +Fri Jan 27 21:44:50 UTC 2023 - Boris Manojlovic + +- mention of patches added required... + zabbix-6.0.12-curl-fixes.patch zabbix-6.0.12-netsnmp-fixes.patch + zabbix-6.0.12-new-m4-pgsql.patch + +------------------------------------------------------------------- +Fri Jan 20 18:42:28 UTC 2023 - Boris Manojlovic + +- updated to 6.0.12 +- for changes in this major release please consult 6.0.html in + /usr/share/doc/packages/zabbix/ +- removed CVE-2022-35230.patch and zabbix-3.0.25-new-m4-pgsql.patch +- added fixed zabbix-6.0.12-new-m4-pgsql.patch patch + +------------------------------------------------------------------- +Fri Jul 22 23:14:21 UTC 2022 - Boris Manojlovic + +- add CVE-2022-35230 patch file CVE-2022-35230.patch + +------------------------------------------------------------------- +Fri Jul 22 22:44:34 UTC 2022 - Boris Manojlovic + +- updated to latest release 4.0.42 +- New Features and Improvements + + ZBXNEXT-7694 Added "utf8mb3" character set support for MySQL database + + ZBX-20946 Enabled Bulgarian, Chinese (zh_TW), German, Greek, Indonesian, + Romanian, Spanish and Vietnamese languages in frontend +- Bug Fixes + + ZBX-21123 Fixed crash when VMware VC was not available at the first moment when starting zabbix_server + + ZBX-21137 Fixed VMware collector crash related to datastore state disconnected from all HVs + + ZBX-20600 Fixed vmware hv.datastore.latency item when multiple datastores with duplicate name + + ZBX-20844 Fixed external check becoming unsupported when Zabbix server or Zabbix proxy is stopped + +------------------------------------------------------------------- +Thu Mar 17 09:40:55 UTC 2022 - Boris Manojlovic + +- updated to latest release 4.0.39 +- Bug Fixes + + ZBX-19789 Added SourceIP support to ldap simple checks + + ZBX-20680 Fixed reflected XSS issues + ( Reflected XSSes in Zabbix Frontend (CVE-2022-24349, CVE-2022-24917, CVE-2022-24918, CVE-2022-24919) ) + fixes for bsc#1196945 bsc#1196946 bsc#1196947 + +------------------------------------------------------------------- +Sun Feb 13 08:16:27 UTC 2022 - Boris Manojlovic + +- mention dropped files from 3.x series so it can be accepted in backports... +- zabbix-3.0.20-jsLoader-fix.patch was never required in 4.x + +----------------------------------------------------------------- +Thu Feb 10 09:47:46 UTC 2022 - pgajdos@suse.com + +- version update to 4.0.38 + * ZBX-20387 fixed default language of the setup routine for logged in superadmin users (averza) + * ZBX-19652 fixed JavaScript syntax for Internet Explorer 11 compatibility (jfreibergs) + +------------------------------------------------------------------- +Sat Jan 22 10:37:11 UTC 2022 - Boris Manojlovic + +- updated to latest realease 4.0.37 +- patching CVE-2022-23134 ( bsc#1194681 ) +- New Features and Improvements + + ZBXNEXT-6809 Changed behavior of the vmware event log, the 'skip' + option of the new item resets the VMware event cache +- Bug Fixes + + ZBX-20382 Updated jquery version + + ZBX-20383 Updated logback-core, logback-classic and slf4j-api jars to the latest stable versions + + ZBX-20384 Fixed possibility to view setup pages by non-superadmin if config already file exists +- Bug Fixes + + ZBX-19926 Fixed Zabbix agent crashing when reading event log on Windows Server 2022 + + ZBX-20032 Fixed server crash when restarting monitored vmware vc + + ZBX-19872 Removed redundant escaping in XML data of HTTP agent POST request +- Bug Fixes + + ZBX-19428 Fixed high CPU usage and preprocessing workers exiting with + timeout when starting numerous poller, trapper and discoverer processes + + ZBX-19510 Fixed re-reading of old Windows events for various Windows event system synchronization problems + + ZBX-19457 Fixed failed query when updating application names longer than 255 characters + +------------------------------------------------------------------- +Tue Jan 11 10:35:51 UTC 2022 - Johannes Segitz + +- Added hardening to systemd service(s) (bsc#1181400). Modified: + * zabbix-java-gateway.service + +------------------------------------------------------------------- +Tue Oct 5 16:13:41 UTC 2021 - Boris Manojlovic + +- updated to latest release 4.0.34 +- New Features and Improvements + + ZBXNEXT-6852 Updated localization for Zabbix Support URL +- Bug Fixes + + ZBX-19814 Added ignoring final result in case if fping quits on a signal + + ZBX-19931 Fixed crash on big-endian systems when processing history + + ZBX-19580 Fixed date format mismatch in UI elements that are loaded via JavaScript + + ZBX-19236 Fixed task manager constantly busy with close_problem task + if trigger no longer exists but event still exist + + ZBX-19857 Dropped support for the non-working option "with_gui_access" + in the usergroup.get() method + +------------------------------------------------------------------- +Fri Aug 13 19:53:27 UTC 2021 - Boris Manojlovic + +- updated to latest release 4.0.32 +- New Features and Improvements + + ZBXNEXT-6662 Increased field size to 2000 characters in web scenario variables + and web scenario step variables and post fields +- Bug Fixes + + ZBX-19558 Fixed creating of dependent item prototypes + + ZBX-18695 Fixed file_put_contents() runtime error if web server has + no write permissions for zabbix.conf.php + + ZBX-19424 Fixed trigger handling failing if host name looks like a number + + ZBX-19318 Added sorting by itemids for trends flush to avoid deadlock + + ZBX-18879 Fixed update vmware info about vCenter fullname and version + + ZBX-19447 Implemented item type validation by API + + ZBX-19388 Fixed inherited graph and graph prototype update if user has + no permissions to child host or template + + ZBX-19358 Fixed memory leak in case of duplicate vmware hv uuid + + ZBX-19248 Fixed retrieving of all data from separate database tables inside of + API methods when empty value for filter is passed + + ZBX-19300 Updated jquery version + + ZBX-19139 Fixed memory errors in cmdline parsing on freebsd + + ZBX-19359 Fixed error in logsource function due to empty source + + ZBX-8999 Fixed exporting of images separately from other objects + +------------------------------------------------------------------- +Thu Jun 24 09:46:42 UTC 2021 - Ferdinand Thiessen + +- Update to version 4.0.31 + + ZBX-19334: removed redundant ListenIP parameter in server's + configuration file + + ZBX-19233: fixed potential loss of original error when reading + vmware events + + ZBX-18883: fixed logrt[] monitoring with copytruncate rotation + + ZBX-19210: fixed css file versioning for custom themes + + ZBX-18912: fixed escalation message is using template message + instead of custom message in actions + + ZBX-19195: fixed endless loop in graph widget processing if + widget size is too small + +------------------------------------------------------------------- +Wed Apr 14 13:43:25 UTC 2021 - Ferdinand Thiessen + +- Update to version 4.0.30 +- New features and improvements + + ZBXNEXT-6528,ZBXNEXT-6565 Improved performance of host.create and + template.create methods; improved performance of templates linking + process; optimized DB::insert() method to send bulk SQL inserts + + ZBX-19150 Added csrf check + + ZBX-12867 reworked problem event popup of problems widget to load data + only on mouse hover and click + + ZBX-18998 Rewrote API main object validation + + ZBX-19111 Improved performance of checking circular and double + linkages of templates + + ZBX-10370 allowed Java Gateway to use ssl with remote registry + + ZBX-19149 updated logback-core, logback-classic and slf4j-api jars + to the latest stable versions: 1.2.3, 1.2.3 and 1.7.30 +- Bug fixes: + + ZBX-19117 Fixed host deletion, template deletion and maintenance + update was not shown in audit log report when it was made via + API request + + ZBX-17000 Changed translation of 'last' for week of month in + japanese + + ZBX-19023 Fixed inheritance of the permissions and tag filters + for new host groups + +------------------------------------------------------------------- +Wed Apr 14 13:32:26 UTC 2021 - Ferdinand Thiessen + +- Update to version 4.0.29 +- New features and improvements + + ZBX-18886 Implemented proper resource cleanup when sender + terminates by signal + + ZBX-18449 Reworked trigger API validation +- Bugfixes + + ZBX-18966 Fixed interface related errors when changing proxy + type from passive to active + + ZBX-18825 Fixed last year period calculation in service + availability report daily mode + + ZBX-18845 Fixed 'UserParameter' possible buffer overrun + + ZBX-18887 Fixed user session expiration when notification checks + are performed in background + + ZBX-18309 Fixed reading log files with NULL character in log line + + ZBX-18931 Fixed PHP runtime errors in CLineGraphDraw.php + + ZBX-18872 Fixed system.sw.os[name] for cases without quotation + mark in /etc/os-release + + ZBX-18885 Fixed SNMP agent item not accepting values that are + bigger than 2KB + - Last update (4.0.28) also included a fix for CVE-2021-27927 + +------------------------------------------------------------------- +Thu Mar 4 21:23:58 UTC 2021 - Boris Manojlovic + +- updated to latest release 4.0.28 +- New Features and Improvements + + ZBXNEXT-6364 Removed long lists of cloned objects from host and template full clone forms + + ZBXNEXT-6307 Added ability to read properties from a file +- Bug Fixes + + ZBX-18966 Fixed interface related errors when changing proxy type from passive to active + + ZBX-18886 Implemented proper resource cleanup when sender terminates by signal + + ZBX-18825 Fixed last year period calculation in service availability report daily mode + + ZBX-18845 Fixed 'UserParameter' possible buffer overrun + + ZBX-18449 Reworked trigger API validation + + ZBX-18887 Fixed user session expiration when notification checks are performed in background + + ZBX-18309 Fixed reading log files with NULL character in log line + + ZBX-18931 Fixed PHP runtime errors in CLineGraphDraw.php + + ZBX-18872 Fixed system.sw.os[name] for cases without quotation mark in /etc/os-release + + ZBX-18885 Fixed SNMP agent item not accepting values that are bigger than 2KB + + ZBX-18942 Fixed missing SID valiadion in authentication update route + + ZBX-18893 Changed frontend config file permissions to 0600 + + ZBX-18884 Fixed crash in web monitoring and web.page.* keys + when encoding non ASCII characters in URL + + ZBX-18865 Fixed dbConditionInt (db.inc.php) returning wrong result in rare cases + + ZBX-16216 Fixed semaphore not being cleaned up when stopping Zabbix agent + + ZBX-18556 Fixed gaps in time labels of classic graphs related to DST transitions + + ZBX-18644 Replaced deprecated gethostbyname function with getaddrinfo + + ZBX-18802 Fixed close problem task to be deleted when problem event is deleted + + ZBX-17865 Fixed displaying of long problem names on problems and event pages + + ZBX-18796 Improved update performance of the preprocessing + rules in item.update() and itemprototype.update() methods + + ZBX-18623 Fixed the global search showing number of objects that user has no permissions + + ZBX-18784 Fixed memory leak when handling vmware events + + ZBX-18761 Fixed possible heap overflow issues in IPC commonications + when deserializing huge text values + + ZBX-18755 Fixed possibility of out of memory error when replacing string in mail, + calculated checks, actions and when linking template + + ZBX-18486 Fixed screen inheritance from a linked template in the full clone case + + ZBX-18660 Fixed SNMP index returning as a number instead of string if there is a backslash + + ZBX-17703 Fixed problem negative duration for timed triggers in case of database disconnect + + ZBX-18694 Fixed crash when PSK connection is configured but PSK or PSK identity is empty + + ZBX-18662 Improved pollers, unreachable pollers, Java pollers and pingers to use less memory + + ZBX-18423 Fixed inconsistent macro expansion with Oracle DB compared with other databases + + ZBX-18219 Fixed custom multiplier preprocessing step validation to accept a string with macros + + ZBX-18422 Fixed "server is not running" warning message width + + ZBX-18688 Fixed schema name didnt show when available only postgresql + +------------------------------------------------------------------- +Fri Jan 15 08:30:14 UTC 2021 - Boris Manojlovic + +- updated to latest release 4.0.27 +- New Features and Improvements + + ZBXNEXT-2480 Removed autocomplete from fields having sensitive data +- Bug Fixes + + ZBX-18155 Removed positional macros from item names on 'Web monitoring' page + + ZBX-5842 Fixed ability to detect username existence from unsuccessful login message + + ZBX-18564 Moved taskid calculation to transaction when creating remote command task + + ZBX-18487 Increased trapper verbosity for DebugLevel=4 when rejecting sender data + + ZBX-18185 Fixed compilation error on Solaris 10 + + ZBX-18317 Fixed fatal error when updating only discovered triggers and their properties + + ZBX-18163 Fixed deletion of one last remaining main host interface to show error + instead of silently deleting the interface + + ZBX-18058 Updated the list of item keys and their descriptions + + ZBX-18464 Fixed javascript Uncaught TypeError when clicking on disabled multiselect item + + ZBX-18411 Set maxQueryMetrics default values for vcenter depending on its version + + ZBX-18438 Fixed missing asterisk mark for "timeout" field in item, item prototype and LLD rule edit forms + + ZBX-18327 Fixed undefined index when invalid URL is given + + ZBX-17178 Fixed multi-line value truncation in snmp lld + + ZBX-18462 Fixed inconsistent auto-registration behaviour for hosts without metadata + on Oracle DB compared to other databases when using Zabbix proxy + + ZBX-18364 Fixed inconsistency with autoregistration behaviour for hosts without metadata + on Oracle compared to other databases + + ZBX-18365 Added Fping 5.0 support to Zabbix + + ZBX-17493 Added discarding of incoming values outside history/trends storage periods on server + + ZBX-18343 Fixed in screen "host issue" problem stay even after problem resolved + + ZBX-17842 Updated VMware template to follow guidelines + + ZBX-17848 Fixed fping interval detection, added log prints of detected + options in debug mode, re-detect options every hour + + ZBX-18188 Increased age and duration related macro resolution to seconds + + ZBX-15651 Fixed handling of overlapping IP addresses in network discovery received from single Zabbix proxy + + ZBX-18326 Fixed unsupported code for internet explorer + + ZBX-15904 Added check of required cache size for vmware event messages + + ZBX-18121 Fixed SSH monitoring when compiled with libssh; thanks to MATSUDA Daiki for the patch + + ZBX-14503 Updated JMX template to follow guidelines + + ZBX-18189 Fixed crash when performing housekeeping with disabled value cache + + ZBX-18181 Fixed undefined index when importing host with non-existing interface + + ZBX-18050 Removed proxy name from host breadcrumbs + + ZBX-18202 Added new default item keys for item type "Zabbix aggregate" + + ZBX-18124 Fixed discovered host group prototype saving during import + + ZBX-13789 Fixed SQL errors with Oracle backend due to incorrect use of the USING statement + + ZBX-18046 Improved error message generation performance of user macro and item key parser + + ZBX-18105 Fixed use on uninitialised variable + + ZBX-18014 Added ODBC empty query check + + ZBX-18160 Fixed fatal error in items.php and host_discovery.php + + ZBX-13383 Improved performance of the trigger and trigger prototype inheritance + + ZBX-17974 Implement timeouts for WMI queries + + ZBX-13789 Improved performance of "Problems" widget with MySQL backend by removing DISTINCT + modifier from SQL statements with tables joined by primary keys + + ZBX-17468 Fixed excess audit log record being added on host status update + + ZBX-18076 Fixed PHP notice and multiple undefined index errors in hostinterface API + + ZBX-18000 Added red label for disabled media types in user profile + + ZBX-18075 Fixed runtime error when creating a host via API + + ZBX-15927 Removed problem calculation for dependent triggers when master trigger is in problem state + + ZBX-18063 Fixed usage of unsupported parameter in API call + + ZBX-18060 Fixed inaccessible user be displayed as accessible in slide show properties screen + + ZBX-17252 Fixed building of Zabbix daemons with link time optimization + +------------------------------------------------------------------- +Thu Jul 30 08:25:38 UTC 2020 - Boris Manojlovic + +- updated to latest release 4.0.23 +- New Features and improvements + + ZBXNEXT-6004 Added host info to vmware event message log + + ZBXNEXT-5903 Added vmware datacenters discovery +- Bug Fixes + + ZBX-8081 Fixed 'cmdline' parameter truncation on solaris 11.3 and later + + ZBX-18014 Fixed memory leak when action message does not have to be sent + + ZBX-15117 Fixed graph configuration with large amount of items + + ZBX-18069 Fixed server exit when trying to execute ipmi script without ipmi pollers + + ZBX-17960 Fixed undefined index in trends api + + ZBX-17682 Fixed button disable state in template item list and discovery list + + ZBX-17820 Fixed classic graph widget default header + + ZBX-17924 Fixed php errors in "system information" window for mysql + + ZBX-17917 Changed vm.memory.size keys on solaris to get memory usage statistics from kstat + + ZBX-18029 Fixed cpu counter wraparound handling on solaris + + ZBX-17624 Fixed misleading error message in case of not available datastorage + for vmware.hv.datastore.read and vmware.hv.datastore.write metrics + + ZBX-17860 Fixed host prototype import + + 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 + +------------------------------------------------------------------- +Sat Jul 18 20:46:25 UTC 2020 - Boris Manojlovic + +- updated to latest release 4.0.22 +- Fixes CVE-2020-15803 +- New Features and Improvements: + + ZBXNEXT-3588 Improved Zabbix server performance when evaluating + trigger, discovery, autoregistration and internal actions + + ZBXNEXT-5922 Increased max configuration cache size limit to 64GB + + ZBXNEXT-4829 Changed web setup wizard to not create + and drop tables for DB connectivity test purposes + +- Bug Fixes: + + ZBX-17720 Exclude disabled items from preprocessing configuration sync + + ZBX-17851 Fixed possible deadlocks when deleting escalations + + ZBX-17406 Fixed null value for a field of compositedata in jmx discovery + + ZBX-17891 Changed log, log.count monitoring to ignore file modification time + + ZBX-17697 Fixed strict dfsg compliance issue in using minified jquery sources + + ZBX-16461 Fixed recovery expression for "link down" trigger and updated + for following zabbix template guidelines + + ZBX-17702 Fixed escalation cancellation message not being sent when action is disabled + + ZBX-17480 Fixed context of {$temp_crit} macro in temperature trigger prototype + + ZBX-17694 Fixed high memory consumption when using dependent items + + ZBX-17780 Fixed memory leak + + ZBX-17577 Fixed remove of selected items in multiselect + + ZBX-17226 Fixed confusing error message being displayed if dbversion table cannot be found + + ZBX-17801 Shadow global auto_increment mysql variables only for proxy + + ZBX-17662 Fixed a failing query when updating existing host prototypes + + ZBX-15484 Shadow global auto_increment variables for mysql + + ZBX-17607 Fixed unreachable poller being too busy due + to snmp checks being attempted twice at a time + + ZBX-17629 Fixed markup in user media popup + + ZBX-17109 Fixed agent request parameter type parsing + + ZBX-17470 Fixed element of filters is not focused on several pages + + ZBX-17691 Fixed server crashes on regexp preprocessing + + ZBX-17445 Fixed misleading error shown when formula cannot be updated during lld + + ZBX-17186 Fixed context-aware lld macro expansion in jsonpath preprocessing + + ZBX-17524 Fixed time selector button state + + ZBX-17496 Fixed usermacro api validation + + ZBX-17532 Added css files and sprites versioning by query strings + + ZBX-17501 Fixed overlapping multiselect suggest with browser autocomplete + + ZBX-17402 Fixed search field accidentally transform value to lowercase + + ZBX-17505 Fixed crash inside a fork when calling vfs.fs.inode + + ZBX-16959 Fixed return code check of curl_easy_setopt + + ZBX-17423 Fixed "reset" button in history page + + ZBX-17395 Fixed deletion of templated applications that were + linked to items when importing templates + + ZBX-17359 Fixed "sortorder": "desc" option with multiple sortfields + + ZBX-17336 Fixed wrong error message when fping fails + + ZBX-17427 Fixed top busiest triggers filter + + ZBX-17523 Fixed agent compilation on windows + + ZBX-17508 Fixed error in oracle database encoding check + + ZBX-17442 Fixed web.page.get to time out when there is no response + + ZBX-17429 Fixed trigger expression condition popup to display + negative numbers upon opening existing expression + + ZBX-17012 Fixed url validator to also accept relative urls + + ZBX-17507 Fixed oracle query interpreted as a multistatement + + ZBX-9387 Fixed incorrect maintenance calculations when dst changed to summer time + + ZBX-17390 Fixed validation of the maximum selected period + +------------------------------------------------------------------- +Thu Apr 23 12:11:58 UTC 2020 - Boris Manojlovic + +- updated to latest release 4.0.19 +- replaced URL for source downloads to zabbix CDN network location +- New Features and improvements + + ZBXNEXT-5649 Added name referencing support ('~' suffix) to jsonpath + + ZBXNEXT-3604 Added support of user configurable ciphers for communication between zabbix components +- Bug Fixes + + ZBX-17173 Improved windows agent build scripts + + ZBX-17425 Fixed template.massupdate api macros update + + ZBX-17344 Fixed php 7.4 errors in latest data->history page for text and + log items having an empty filter + + ZBX-17330 Fixed error reading vmware events with keys over 2^31 + + ZBX-17288 Fixed undefined indexes in administration->regular expressions->test tab + + ZBX-17350 Fixed displaying of multiple value types in latest data->history page + + ZBX-16802 Added mtime-reread/mtime-noreread options parameter to log* keys + + ZBX-17390 Fixed validation of the maximum selected period + + ZBX-17185 Fixed non-disappearing messages of failed login attempts + + ZBX-17322 Fixed deadlock between server and frontend when updating multiple hosts + + ZBX-9057 Fixed duplicate entries being written into in profiles table + + ZBX-17159 Fixed overlay dialogue instantiation + + ZBX-17108 Improved process utilization calculation + + ZBX-17269 Fixed undefined indexes in history page + + ZBX-17342 Dump memory statistics and items with most values when value cache is fully used + + ZBX-16926 Fix int_max error when compiling on sunos/joyent/solaris + +------------------------------------------------------------------- +Mon Dec 23 14:25:01 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.16 +- New Features and Improvements + + ZBXNEXT-5271 Implemented 'delete missing' option for imported template linkages +- Bug Fixes + + ZBX-17101 Fixed url validation before output + + ZBX-16929 Fixed detection of invalid sender data request + + ZBX-16804 Added missing get parameters in availability report + + ZBX-16286 Fixed graph widget dimensions errors on high dpi screens + + ZBX-16848 Fixed fatal error occurring in user profile and user edit + forms when php fileinfo extension does not exist + + ZBX-16684 Fixed incorrect double quotes in history plain text view + + ZBX-16903 Fixed validation of "interfaceid" field for http agent items with large ids + + ZBX-16751 Fixed support for php 7.4 + + ZBX-16879 Changed condition description message for tag value in actions and event correlations + + ZBX-9084 Fixed high memory usage during startup + + ZBX-16932 Fixed build fail on netbsd + + ZBX-16111 Removed templateid from screen api output + + ZBX-16919 Fixed server check warning width in chrome + + ZBX-16944 Fixed "type of information" field in item form being marked as required when it is read-only + + ZBX-16912 Fixed image map elements having a hand cursor when there is no context menu available + + ZBX-15041 Fixed request not being cancelled along with popup window in widgets + + ZBX-1977 Fixed axis labels calculation + + ZBX-17034 Updated zabbix website links + + ZBX-16874 Fixed map-type widget clipping in internet explorer + + ZBX-16915 Fixed memory leak + + ZBX-17008 Improved zabbix server performance when using maintenance + + ZBX-16779 Fixed infinite loop when writing export to file fails + + ZBX-16540 Splitted host_resources templates into 3 subtemplates: for cpu, memory and storage + +------------------------------------------------------------------- +Thu Nov 28 10:27:02 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.15 +- New Features and Improvements + + ZBXNEXT-5493, ZBX-16540 Moved lld rules from parent templates to linked templates for module + host-resources-mib snmpv2, module interfaces windows snmpv2, net arista snmpv2, os windows snmpv2 + + ZBX-16871 Fixed not setting the default values of multiselects on initial load + + ZBX-16776 Reworked custom item select to multiselect + + ZBXNEXT-5532 Disabled guest user by default + + ZBXNEXT-4825 Implemented in monitoring -> problems the button "export to csv" to export all pages +- Bug Fixes + + ZBX-16955 Fixed performance of history syncers and timer processes by not locking + each other when suppressing events + + ZBX-16842 Added range validation and optional conversion to is_double() + + ZBX-16790 Fixed log rotation on windows + + ZBX-16865 Fixed dynamic graphs not updating when changing host in combo box + + ZBX-9146 Fixed json null value being treated as empty string for lld filters + + ZBX-16828 Fixed array_db validation when validated value is not an array + + ZBX-11659 Made user profile icon visible for guest user + + ZBX-16849 Moved interface_type_priority definition to misc.c + + ZBX-16844 Fixed the process of saving the scroll position on the latest data page in internet explorer + + ZBX-16343 Fixed lld not to create items on wrong host if there are failed transactions + + ZBX-16730 Fixed disappearance of successful modification message while saving the dashboards + + ZBX-16679 Fixed username and password fields resetting and saving for + item, item prototype and lld rule on type change + + ZBX-16785 Improved performance of timer process when reading from "problem_tag" table + + ZBX-16696 Fixed multiselect suggest box clipping when overflowing not allowed in parent containers + + ZBX-16809 Fixed undefined offset error in action operation condition form + + ZBX-16595 Optimized active logs checks monitoring when buffer flushing fails + + ZBX-16682 Fixed wrong element label update in map constructor + + ZBX-16815 Fixed widget form positioing when changing widget type from graph to any other type + + ZBX-16706 Fixed unneeded padding for dashboard url widget + + ZBX-16784 Fixed oracle performance by using "between" operator in sql queries + + ZBX-16579 Fixed long text wrapping in the latest data history + + ZBX-16767 Fixed possible null pointer arithmetic; thanks to mikhail grigorev for the patch + + ZBX-16500 Fixed sla calculation when requested time window starts during + the service time; fixed downtime time calculation + + ZBX-16805 Fixed when the httptest api selects too many entries from the httpstep + table when editing a specific web scenario + + ZBX-10618 Fixed disappearing dependent trigger cells and rows in overview + + ZBX-16596 Added handling of bom to detect encoding for vfs.file.contents, vfs.file.regex and vfs.file.regmatch + + ZBX-16771 Fixed wrong tab number being remembered when several browser tabs are in use + + ZBX-16548 Fixed sort order in plain text screen + +------------------------------------------------------------------- +Wed Oct 30 08:58:50 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.14 +- New Features and Improvements + + ZBXNEXT-5481 Added support of {trigger.id} macro in trigger tags + + ZBXNEXT-4746 Added "template server cisco ucs snmpv2" template + + ZBXNEXT-5422 Quoted numbers are now accepted by jsonpath aggregate functions +- Bug Fixes + + ZBX-16605 Fixed accessibility of localstorage identifier if cookies are + made unaccessible for client side scripts + + ZBX-16754 Fixed trigger not firing for first collected value if it's timestamp is in future + + ZBX-15211 Added key 'tests' for bootstrap.sh when working with cmocka tests + + ZBX-16542 Fixed incorrect displaying of unacknowledged and resolved + recent problematic triggers in trigger overview and dashboard widget + + ZBX-16749 Improved performance and memory consumption of script.getscriptsbyhosts() method + + ZBX-16725 Fixed detection of fping minimal interval + + ZBX-16562 Fixed configuration.export method in api improperly formatting + "application" property within "httptests" when exporting in json format + + ZBX-15222 Fixed housekeeper to cleanup history not only for current item + type of information but also for other previously selected types + + ZBX-16481 Fixed spelling issues in the code + + ZBX-15675 Added support for more than 64 cpus in windows agent + + ZBX-16770 Fixed value mapping in template net hp comware hh3c snmp + + ZBX-16534 Fixed stdout and stderr redirection after external log rotation + + ZBX-16368 Fixed fping double call + + ZBX-16317 Fixed log.h is not self-sufficient + + ZBX-16711 Ensuring errbuf is emptied before every curl_easy_perform request + + ZBX-16664 Fixed ipmi poller skips processing if one of the elements is missing information + + ZBX-16671 Fixed server crashing when linking web scenario template + + ZBX-16750 Fixed broken validation of peer certificate issuer + and subject strings in tls connect, fixed logging + + ZBX-16002 Added new macro event.recovery.name to display + recovery event name in recovery alerts + + ZBX-16512 Fixed false item insertion into the queue after maintenance + + ZBX-15685 Fixed zabbix_sender failing to report the error due to closed connection + + ZBX-16702 Fixed error in the elastic search clearing history + + ZBX-10805 Fixed log items graphs drawing with numeric values like trapper items + + ZBX-16604 Fixed occurrence of an undefined index in discovered graph configuration + + ZBX-16611 Fixed memory and performance leaks in gtlc.js library + + ZBX-15135 Fixed incorrect triggers being displayed in + availability report when filtering by template + + ZBX-16681 Fixed displaying of "acknowledge" menu option + for "not classified" problems in the trigger overview page + + ZBX-16428 Fixed sigbus crash when mmap memory is not accessible + + ZBX-16680 Fixed freeing locked resources when zabbix agent + cannot be started and has to exit with failure + + ZBX-16666 Fixed trailing slash being set in cookie path + + ZBX-16612 Fixed possibility of high cpu usage on windows + + ZBX-16683 Fixed race condition between history syncer + and escalator that caused recovery operations being delayed by step duration + + ZBX-16383 Adjusted timer sleeping period to process maintenances each minute at 00 seconds + + ZBX-16575 Getting disk controller type from linked controller label value + + ZBX-16561 Fixed jsonpath parsing for comma characters inside quoted string + + ZBX-16677 Fixed empty sql query dbexecute_overflowed_sql call during host availability update + + ZBX-15897 Fixed overall health check in template hp ilo snmpv2 + +------------------------------------------------------------------- +Thu Aug 29 08:46:12 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.11 +- New Features and Improvements + + ZBX-9522 Improved frontend messaging usage across multiple browser tabs +- Bug Fixes + + ZBX-16501 Fixed log out form being resubmitted when user is already logged + back in another tab + + ZBX-16072 Added more strict validation of host, template and proxy names + to prohibit leading and trailing spaces + + ZBX-16128 Fixed incorrect action id in audit log + + ZBX-16354 Fixed incorrect sorting by name with capital letters + + ZBX-16346 Fixed compilation for oracle instant client v18.5 and higher + + ZBX-16424 Fixed unable to create/update web scenario from internet explorer/edge + + ZBX-16471 For consistency reason changed translation string 'resolved by user.' + to 'resolved by inaccessible user.' + + ZBX-16469 Fixed problem that caused impossibility to edit trigger + description in problems screen + + ZBX-16362 Fixed keyboard event handling in graph widget hintbox + + ZBX-16474 Fixed 'request-uri too long' error in problems mass update page + + ZBX-16184 Updated zabbix sender man page + + ZBX-16462 Fixed syntax error in sql query used to calculate sla in monitoring->services + + ZBX-16031 Reworked event update controller, making partly closed set of events closable + + ZBX-16283 Fixed read-only shared dashboard without widgets missing placeholder label + + ZBX-16316 Fixed dashboard widget and slideshow menu popup not + updating current refresh rate and fixed a js error in slideshows + + ZBX-16346 Fixed compilation for oracle instant client v18.5 and higher + + ZBX-16424 Fixed unable to create/update web scenario from internet explorer/edge + +------------------------------------------------------------------- +Mon Aug 26 12:02:52 UTC 2019 - Marketa Calabkova + +- restructured for easier maintenance because of bsc#1144018 and FATE#324346 + * many thanks to Boris Manojlovic, Kristyna Streitova, Matthias Gerstner + and Tomas Chvatal for their help + * skipped renaming of binaries + * updated Apache config file + * added logrotate to rotate logs + * and other changes +- added README-SSL.SUSE to tell users how to configure SSL + +------------------------------------------------------------------- +Wed Aug 14 08:22:49 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.11 +- New Features and Improvements + - ZBXNEXT-4502,ZBXNEXT-5176 Added support of full jsonpath functionality + - ZBXNEXT-5205 Blocked zero item history/trends + period being overridden by global configuration +- Bug Fixes + + ZBX-16376 Fixed preprocessing steps having incorrect order + and duplicate step numbers + + ZBX-16344 Fixed possibility to add graph widget overrides + + ZBX-16388 Fixed lld to update preprocessing step number + in case it is incorrectly generated + + ZBX-16337 Fixed debug log message for suppressed escalations; + thanks to kotaro miyashita for the patch + + ZBX-16287 Fixed compiler warnings in host.c; thanks to + glebs ivanovskis for the patch + + ZBX-16103 Reduced pcre recursion limit + + ZBX-16289 Fixed async dashboard widget update + + ZBX-13266 Improved performance of the sql queries + with lot of ids in the condition + + ZBX-16277 Fixed compilation zabbix agent for windows with + options available for windows vista and newer + + ZBX-16239 Fixed compilation warining related to prototypes + of module api functions + + ZBX-16256 Eliminated possible infinite fetch loop with oracledb + + ZBX-15343 Fixed js memory leak in hintboxes in graph widget + + ZBX-16329 Fixed duplicate value checking in trigger action conditions + + ZBX-15562 Reworked history.get api method; fixed output + as well as other known issues in history api + + ZBX-16135 Fixed error messages in xml export files + + ZBX-16213 Fixed postgresql bad performance on history tables + + ZBX-16176 Preserve trailing spaces in history values + + ZBX-16169 Improved performance of map navigation tree widget + + ZBX-16288 Fixed when unknown resource logged in + audit log when working with dashboards + + ZBX-16134 Fixed duplicate triggers can be created + using api and xml import + + ZBX-15969 Fixed displaying of very small values that + are more than 2 decimal points in latest data + + ZBX-16280 Fixed when plain text widgets do not display + as html when option is selected + + ZBX-16012 Fixed confusing error message "cannot read json." in http agent item + + ZBX-16270 Fixed memory leak in ipc service when queueing multiple messages to client + + ZBX-16204 Fixed undefined offset in ccontrollerwidgetproblemhostsview + + ZBX-15962 Added mounted filesystems to vfs.fs.discovery of windows agent + + ZBX-16315 Fixed zabbix server not to cause foreign key constraint failure + on zabbix proxy when changing and sending configuration at the same time + + ZBX-16153 Fixed 500 internal server error when trying to preview pie/exploded graph without items + + ZBX-9867 Improved zabbix daemon termination by not using signal + unsafe functions in signal handler; improved zabbix server and zabbix proxy + process termination by stopping data collection and waiting for history syncers to finish + +------------------------------------------------------------------- +Mon Jul 1 18:33:44 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.10 +- New Features and Improvements + + ZBXNEXT-2880 Added access to vmware datastore at vmware vcenter level + + ZBXNEXT-5163 Added display of maintenance information in configuration + section for hosts in maitenance + + ZBXNEXT-5036 Added preloader for popup menus + + ZBXNEXT-287 Added ssl support for agent http checks + + ZBXNEXT-5179 Added option to specify absolute path in loadmodule; + thanks to glebs ivanovskis for the patch +- Bug Fixes + + ZBX-16315 Fixed zabbix server not to cause foreign key constraint failure + on zabbix proxy when changing and sending configuration at the same time + + ZBX-9867 Improved zabbix daemon termination by not using signal unsafe + functions in signal handler; improved zabbix server and zabbix proxy process + termination by stopping data collection and waiting for history syncers to finish + + ZBX-16152 Fixed not data loss on saving host prototypes by user with insufficient permissions + + ZBX-15952 Fixed errors when trying to create a graph widget for key + system.cpu.util[,iowait] with y axis placed on the left side of the graph + + ZBX-15899 Added output sanitization to prevent invalid utf-8 sequences + in regexp-based text replacement + + ZBX-16073 Fixed horizontal scrolling in map + + ZBX-15943 Fixed discovered hosts are not removed from table "dhosts" after + removing and adding the corresponding discovery check + + ZBX-15875 Fixed colors for the multiselect disabled elements + + ZBX-10948 'it services --> service time --> note' infinite stretching + + ZBX-16142 Fixed missing sys/ioctl.h from src/libs/zbxsysinfo/openbsd/net.c; + thanks to andrea biscuola for the patch + + ZBX-16166 Fixed zabbix fping feature detection does not work with fping builds since 10 feb 2017 + + ZBX-16178 Fixed distributive can contain untracked backup file include/config.h.in~ + + ZBX-16170 Fixed crash in global event correlation + + ZBX-16096 Fixed "system.cpu.util" reporting incorrect cpu utilisation due to guest time + sometimes not being fully included in user time by "/proc/stat" + + ZBX-15882 Fixed widgets flickering on refresh + + ZBX-15974 Improved trigger expression list in trigger modal form + + ZBX-14441 Fixed windows agent "eventlog" key for reading big event log files of windows 2003 + + ZBX-16109 Fixed hidden error in graphs for php 7.3.5 + + ZBX-16093 Fixed regular expression file systems for discovery does not contain apfs + + ZBX-16080 Fixed setup page to not to use bclib + + ZBX-15797 Fixed dashboard map widget sub-map link behaviour + + ZBX-15049 Fixed to host group limited global scripts to be usable in sub group + + ZBX-16138 Fixed return value type and added preprocessing steps for items in remote + internal checks tamplates; fixed unsigned write cache value for remote internal checks + + ZBX-15963 Fixed http agent support of non-http scheme in url field + + ZBX-16151 Fixed theoretical possibility of large numbers in json data being truncated, + added boolean value support to json parser + + ZBX-15778 Fixed wrong filtering by "age less than" and "show suppressed problems" in trigger overview + + ZBX-15585 Fixed web scenarios pair manager issue when fields are duplicating on post type toggle + + ZBX-16150 Fixed inactive, unmounted, unaccessible vmware datastore causes + unknown column nan insertion in field list + + ZBX-16122 Fixed api validation of trigger dependency + +------------------------------------------------------------------- +Tue Jun 11 12:17:33 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.9 +- Bug Fixes + + ZBX-15905 Reverted changes that introduced error with + write permissions in assets directory + +------------------------------------------------------------------- +Fri May 31 14:01:10 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.8 +- New Features and Improvements + + ZBX-16069 Upgraded jquery version v1.10.2 -> v3.3.1 + and jqueryui v1.10.3 -> v1.12.1 +- Bug Fixes + + ZBX-16032 Changed application filtering to partial name search + + ZBX-15915 Fixed linking error if round() is undefined + + ZBX-16074 Added file revision number generation for + compilation on ms windows + + ZBX-15833 Fixed scrollbar in overlay popups + + ZBX-16058 Fixed error in ipmi poller causing growing queue + + ZBX-16047 Fixed division by zero error in svg graph widget if selected + time period is so small that calculated step between 2 milestones is 0s + + ZBX-15936 Removed "change password" button when cloning media types + + ZBX-11272 Changed sorting by type, fixed information disclosure and + formatting of recipient name in action log screen item and dashboard widget; + added new sortfields to alert api + + ZBX-15416 Fixed locale validation in user create and update api methods + + ZBX-15877 Fixed tab key navigation for safari and edge browsers + + ZBX-15891 Fixed trigger dependencies are ignored when changing only trigger state + + ZBX-13029 Fixed api validation messages for linktrigger + + ZBX-15967 Fixed buffer offset for reading hardware info from long dmi files + + ZBX-16018 Fixed detection of logical functions (or / and) inside + the context of user macros + + ZBX-14782 Deliver human friendly uptime in dashbord + + ZBX-11325 Fixed transparency of draggable interfaces; changed cursor + type for all draggable and sortable elements + + ZBX-16048 Fixed global search box loosing the search phrase after searching + + ZBX-10729 Fixed map element link coloring when linked problem is acknowledged + + ZBX-15101 Fixed several object ids allowing them to be 64 bit integers, + added asterisk for map navigation tree name field and changed + the error message to more generic one + + ZBX-16050 Fixed http poller crashes + + ZBX-15871 Fixed problem events to be filtered by "suppressed" + instead of "related to maintenance" + + ZBX-10550 Added warnings when zabbix components have different versions + + ZBX-11284 Removed sid url argument for form cancel buttons + + ZBX-11429 Fixed macro not being retained in trigger expression editing wizard + + ZBX-15816 Increased header value input field max length + + ZBX-15677 Fixed the process of compiling the dummy.c module + + ZBX-15981 Fixed invalid xpath for vmware "eventlog" key with "skip" option + + ZBX-15704 Fixed sending log meta information without obvious needs + + ZBX-15905 Added versioning of browser cached files + + ZBX-15956 Reduced configuration cache fragmentation + when reloading time based triggers + + ZBX-15998 Improved performance of "remove host", "remove from host group", + "unlink from template" operations when processing network + discovery events and using mysql database + + ZBX-15935 Fixed infinite loop and 100% cpu usage + when using openipmi 2.0.26 or newer + + ZBX-16005 Fixed "{{item.value}.regsub(,}" and + "{{item.lastvalue}.regsub(,}" being resolved to *unknown* during upgrade + + +------------------------------------------------------------------- +Wed Apr 24 14:07:54 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.7 +- Bug Fixes; + + ZBX-16019 Fixed host.conn, host.ip, ipaddress and host.dns + macros expansion in global scripts + + ZBX-16020 Fixed uncontrolled memory allocation in regex preprocessing steps + + ZBX-15911 Fixed guest sign in visibility for disabled guest + user group in login page + + ZBX-15977 Fixed validation of host interface when multiple + interfaces set as main interface + + ZBX-15955 Fixed security vulnerability - accepting connections + from not allowed addresses + + ZBX-11393 Fixed when long snmp oid expands screen dimensions + + ZBX-15464 Fixed error message for image uploads + + ZBX-10243 Fixed not encoded ampersand for in url parameter + + ZBX-15972 Fixed possible crash of the windows agent when + used "net.dns" item key + + ZBX-15674 Fixed map status to be displayed ok if there + are no problem in submaps + + ZBX-15970 Fixed invalid update intervals being reported + on zabbix server when monitored through zabbix proxy + + ZBX-15643 Fixed invalid to valid numbers conversion by del_zeros + + ZBX-15444 Fixed trimming allowed characters from numeric values + + ZBX-15409 Improved zabbix java gateway error logging + usability by adding item key to error message + + ZBX-15844 Fixed inability to start zabbix server if alert manager + process is late after alerters; thanks to mikhail makurov for the patch + + ZBX-11043 Implemented a better network discovery filter + + ZBX-10937 Fixed top right global search field autocomplete not showing + results when host name is being typed not first character and technical + name when it differs from visible name + + ZBX-10861 Changed user name and password fields from being mandatory to + optional in web scenarios and http agent type items + + ZBX-10889 Improved logging performance when high debuglevel is used + + ZBX-15762 Fixed api returns "countoutput", "select*": "count" results and + "suppressed" property as integer + + ZBX-15642 Fixed bigint limit in the user group updating forms + + ZBX-2494 Fixed sorting of items, item prototypes, lld rules and screens + to avoid deadlocks in database between server and frontend + + ZBX-15768 Fixed line length above widgets on global search page + + ZBX-10404 Fixed password being passed in plain text in media type edit form + + ZBX-15734 Fixed dashboard widgets incorrect placement while dragged + + ZBX-15563 Fixed svg graph metric generation in situation when metric have big values + + ZBX-15139 Fixed element removing from list in different tabs or browsers + + ZBX-15779 Fixed loss of host name in tooltip on trigger overview page + + ZBX-15898 Fixed compilation warning regarding too large integer constant + + ZBX-15338 Fixed last problem name being displayed on map instead of most critical + + ZBX-15929 Fixed escalation operation not being send multiple times + + ZBX-15721 Fixed escaping of control characters in json encoder + + ZBX-15507 Fixed item/trigger/graph copy form provides read-only host groups + in target list; replaced form elements with multiselect + + ZBX-15746 Fixed link to pie graph after selecting a time interval on classic graph + + ZBX-15784 Fixed multiselect does not support case sensitive auto-complete + + ZBX-10799 Changed placeholder for http proxy input fields + + ZBX-13014 Fixed map on screen is not centered + + ZBX-9229 Fixed sending first value of the log as separate message + + ZBX-15479 Fixed cookie presentation in http header + + ZBX-15516 Fixed trapper process title to not update time in case of interruption + + ZBX-15588 Fixed function names that are written to the log file when + using log_level_debug + + ZBX-9150 Fixed update intervals of items in vmware templates + + ZBX-15481 Fixed showing wrench icon for hosts that are in maintenance, + but maintenance is inaccessible due to insufficient permissions + + ZBX-15629 Fixed trigger wizard form re-submit + + ZBX-15850 Fixed problems by severity filter ignoring host group filter + + ZBX-15853 Fixed empty parent group not listed in the latest data filter + + ZBX-11025 Added "unknown command error" to mysql recoverable error list + + ZBX-15870 Fixed redundant jsloader loading in login page + + ZBX-15858 Fixed item filtering by application name; added 'select' button + for dashboard widget and screen item application fields + + ZBX-15851 Fixed lld item displaying in queue details view + + ZBX-15639 Fixed labels overlapping on classic graph x axis + + ZBX-15592 Fixed database monitoring 'dns' item key expressing it as mandatory + + ZBX-15859 Fixed map.create could attach elements only for first map + in request when multiple maps are created with one request + + ZBX-15769 Fixed new widget placeholder being shown outside maximum + allowed dashboard height area + + ZBX-15708 Fixed browser build in autofill for passwords field on media + type form on authentication ldap form and on user edit form + + ZBX-10392 Fixed application filter persistence when navigating from + maps page to triggers views page or latest data page + + ZBX-15754 Removed unnecessary request for non-existing map background + + ZBX-15715 Added missing keys "zabbix.stats[,]", "zabbix.stats[,,queue,,]" + and "zabbix[stats,,,queue,,]" in item key helper + + ZBX-15672 Fixed positioning of the overlay dialogue window in map constructor + + ZBX-15609 Added missing optional parameter "" for "vfs.dir.count" + and "vfs.dir.size" item keys in item helper + + ZBX-15404 Fixed action condition type and operator integrity + + ZBX-15913 Fixed possible crash when sending custom alerts + + ZBX-15872 Fixed possible deadlock on host table when processing auto + registration contents from zabbix proxy + + ZBX-11203 Added blocking of sigint and sigterm signals on each step of + automatic upgrade to avoid interruption of statements that cannot be rolled back + + ZBX-8451 Fixed global regular expression testing not matching actual + behavior of zabbix components due to missing multiline flag + + ZBX-13347 Fixed possible crash in history syncer process when processing discovered item value + + ZBX-15831 Fixed slow request of vmware configuration update + + ZBX-15920 Fixed nodata() function triggering after maintenances with + no data collection without waiting for the nodata period + + ZBX-13478 Fixed item prototype update intervals to eliminate trigger status flapping + + ZBX-10611 Fixed changing process user owner on startup + in foreground when allowroot disabled + + ZBX-15826 Optimized unsupported macros parsing + + ZBX-15742 Fixed network discovery is not reacting to the changes + in agent configuration if uniqueness criteria is value + + ZBX-15634 Fixed database monitor item does not use stored credentials; + thanks to jose deniz for the patch + +------------------------------------------------------------------- +Mon Apr 1 08:45:14 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.6 +- New Features and Improvements + + ZBXNEXT-5105 added context menu for trigger name in event details page + + ZBX-15286 dropped support use of discovered items as master + + ZBXNEXT-4898 added support IPv6 for "net.dns" and "net.dns.record" + + ZBXNEXT-5037 added "skip" parameter for vmware.eventlog key + + ZBXNEXT-4819 implemented date and time showing in SVG graph widget +- Bug Fixes + + ZBX-15839 fixed broken layout of the breadcrumbs in Safari browser + + ZBX-15867 fixed invalid DNS being accepted when receiving discovery + contents from Zabbix proxy + + ZBX-15821 fixed SQL statement performance used in template.unlink() method + + ZBX-15578 fixed IPMI errors in case of infrequent reading of values + + ZBX-15098 fixed undefined index in application selection popup window + + ZBX-15351 fixed PHP error in "Problems by severity" if no problems + + ZBX-15552 fixed compilation with LibreSSL as OpenSSL replacement + and OpenSSL without PSK support + + ZBX-10317 made info column on item list page always visible + + ZBX-15322 fixed graph area near grid line with 0 value + + ZBX-15798 fixed proxy configuration update failure on Oracle; + fixed failure on empty SQL buffer on Oracle + + ZBX-15219 fixed unwanted removing scenario post fields on scenario update + + ZBX-11278 reworked property state indicator in mass update screens + + ZBX-15716 fixed escalation cancel message is called if escalation + interrupts with unfinished step or recovery + + ZBX-15468 fixed LDAP configuration form not being able to save changes + when user password field is empty string + + ZBX-15669 fixed page scroll after widget being added to dashboard + + ZBX-15548 fixed resolving of {ITEM.VALUE} macro in the trigger description + + ZBX-15774 fixed memory leak in housekeeper when elasticsearch is used + + ZBX-15788 fixed crash when substituting LLD macros in calculated + item formula expression + + ZBX-15608 fixed when Widget Graph show disabled trigger/problem + + ZBX-10397 fixed when global messaging severities unchecked if profile + saved earlier + + ZBX-15596 fixed when widget in frontend can be created larger + than API validation supports + + ZBX-15308 fixed timeselector in screens when page is opened + with link containing sid argument + + ZBX-15694 fixed trimming of empty spaces for custom multiplier + in item and item prototype preprocessing forms + + ZBX-15196 fixed "Follow redirects" checkbox not being enabled by + default for HTTP agent in item, item prototype and LLD rule create forms + + ZBX-15670 fixed inefficient vmware eventlog downloading + + ZBX-15483 fixed undefined index in Item Prototype update + + ZBX-15270 fixed graph widget configuration form cross browser issues + + ZBX-15300 fixed widgets extra space at the bottom + + ZBX-8091 added alphabetic ordering of net.dns.record respond + + ZBX-15707 fixed check box design when drag and drop an interface into SNMP + + ZBX-15535 fixed validation of min/max value range in graph widget; + fixed translation string in graph widget + + ZBX-15648 removed unused WIDGET_HAT_EVENTACTIONMCMDS + and WIDGET_HAT_EVENTACTIONMSGS constants + + ZBX-15386 fixed Trigger overview not showing OK triggers + + ZBX-14538 fixed error message when value of lifetime + or history/trends storage period is out of range + + ZBX-15614 fixed validation of y axis item on classic graph create and update + + ZBX-15226 fixed missing visual gap under page title + + ZBX-15560 fixed incorrect URL argument formatting when parameters + are non-indexed arrays + + ZBX-15719 fixed undefined index in trigger expression popup + + ZBX-15332 fixed dashboard svg graph update on timeselector interval change + + ZBX-15728 fixed agent startup problem in Win 2008 R2 w/o SP1, + removed dependency on version helper API + + ZBX-15622 fixed trigger expression test dialog not being usable + with long trigger expressions + + ZBX-13332 fixed Request-URI Too Long errors in PopUps; + fixed lost focus, when closing error popup + + ZBX-15607 fixed possibility of zombie processes occurring + when signaling agent during metric execution + + ZBX-10496 fixed links to installation instructions in README file + + ZBX-15625 removed links leading to media type edit form for + non-superadmins in Reports->Notifications page + + ZBX-15703 fixed use of uninitialized variable when receiving 0 bytes on listening socket + + ZBX-15537 fixed visual bug when filter tab was overlapped by sub navigation + + ZBX-15539 fixed validation of master item in item update form + + ZBX-15532 fixed undefined index error on problems page when trigger expression contains web items + + ZBX-15488 fixed permission check for inherited triggers + + ZBX-15646 fixed web-server 'Request-URI Too Long' error in trigger description dialog + +------------------------------------------------------------------- +Mon Feb 25 20:07:06 UTC 2019 - Boris Manojlovic + +- updated to latest release 4.0.5 +- New Features and Improvements + + ZBXNEXT-5046 added non-destructive resizing and reordering of dashboard widgets + + ZBXNEXT-401, ZBXNEXT-4907, ZBXNEXT-4955 added monitoring of internal + metrics from an external Zabbix instance +- Bug Fixes + + ZBXNEXT-4941 changed overflow statements to execute one + by one for Oracle for better performance + + ZBX-15664 fixed "Undefined index" errors on maps with enabled automatic icon mapping + + ZBX-15667 fixed wrong default Zabbix server status for new installation + + ZBX-15512 fixed performance issues and significant memory consumption on + several pages which contains host popup menus + + ZBX-15512 fixed performance issues in "Problems by severity" widget + + ZBX-15593 fixed database upgrade patch to stop upgrade on commit failure + + ZBX-15611 fixed crash in configuration syncer when there are groups with + same name and when removing preprocessing steps from item + + ZBX-15242 fixed value trimming and duplicate catching in SVG graph pattern fields + + ZBX-15250 fixed selection box height calculation in classic graph + + ZBX-15316 fixed problem with socket inheritance preventing Windows + agent from restarting under certain circumstances + + ZBX-15379 fixed -Wimplicit-fallthrough warnings when compiling with GCC 7 and -Wextra + + ZBX-15179 fixed when message about blocking user login is displayed only on next login attempt + + ZBX-15494 fixed handling numbers that written in scientific notation + + ZBX-15533 fixed cutting and trimming event tags and values + + ZBX-15442 fixed reporting idle time in datasender's process state information + + ZBX-15424 fixed when multiselect doesn't trim values and recognizes + untrimmed values as new ones + + ZBX-14644 fixed maintenance time periods "start_date" field being + reset to "1920" instead of DB default value when updating via edit form + + ZBX-15271 added link to documentation in all man pages + + ZBX-15422 fixed SQL errors when linked template have item prototype with equal key as host item + + ZBX-15456 fixed incorrect style property in Monitoring->Problems; removed unused id from filter form + +------------------------------------------------------------------- +Wed Feb 6 10:24:34 UTC 2019 - boris@steki.net + +- updated to latest release 4.0.4 +- New Features and Improvements + + ZBXNEXT-4872 reworked SVG graph x-axis timeline + + ZBXNEXT-4873 implemented single dot datasets to be drawn as points + in line vector graphs + + ZBX-14876 added a new optional parameter to + items vfs.dir.size[] and vfs.dir.count[] + + ZBXNEXT-4792 added column "Latest values" in Monitoring->Problems and Dashboard + + ZBX-15202 implemented widget pausing methods in dashboard; made graph widget + paused when using selection box or opening a tooltip + +- Bug Fixes + + ZBX-15412 fixed Name column overlaps the Application column in the Template view + + ZBXNEXT-4872 reverted SVG graph timeline changes to previous state + + ZBX-15577 fixed restricted user access to the host name when calling host_screen + + ZBX-13335 fixed low performance with linkage of items and item prototypes to a lot of hosts + + ZBX-15435 fixed "Undefined index" errors in the "Problems" widget with multiple active + maintenances which part of these are inaccessible + + ZBX-15417 changed vmware collector to perform datastore configuration refresh only when + directly monitoring ESXi version lower than v6.0 + + ZBX-14896 fixed low performance of the SQL statement when link template to many hosts + + ZBX-15220 fixed displaying of last value for values received in the same second + + ZBX-15451 fixed event correlation when "Event tag pair" condition is used and + tag contains special characters + + ZBX-15460 reset agent availability when host status changes, e.g., when host gets disabled + + ZBX-15331 updated LLD item creation/updating error messages + + ZBX-15465 removed html non-breaking space from visiblity checkbox labels + + ZBX-15307 fixed upper level maps positioning in Monitoring Map screen + + ZBX-15428 improved regular expression performance by studying compiled pattern + + ZBX-11761 added warnings in case of TLS identity mismatch + + ZBX-15373 fixed removal of trigger when deleting discovered item; fixed removal of + dependent child items when removing master item + + ZBX-14613 fixed hostgroup.delete and host.delete API methods to validate maintenance constraint + + ZBX-14863 fixed authentication settings form of LDAP anonymous binding + + ZBX-15374 fixed SQL and PHP errors on chart3.php page + + ZBX-15301 fixed monotonous lag behind in Windows "system.localtime" + + ZBX-15377 fixed error messages for arrays in GET parameters + + ZBX-15369 fixed "Undefined index: label" in map.update() method + + ZBX-15376 fixed "Undefined index: refresh" on several pages with disabled guest user + + ZBX-15375 fixed web scenario step name can consist only of whitespaces + + ZBX-15375 fixed undefined index on Web scenario configuration page + + ZBX-15372 fixed SQL and PHP errors on "Slide shows" page when enter slides.php witout GET parameters + + ZBX-15359 fixed undefined index in maintenance.create and maintenance.update API calls + + ZBX-15358 fixed undefined index in configuration.import API call without one or several rules + + ZBX-15355 fixed undefined index in configuration.import API call + + ZBX-14926 fixed empty "inventory" property being returned by API if inventory mode is disabled + + ZBX-15354 fixed undefined index in API calls without "auth" parameter + + ZBX-15399 fixed IPv4 connections not being accepted when IPv6 mask is used + + ZBX-14331 fixed error allowing users to change type of a host interface that already has items attached + + ZBX-15254 fixed incorrect matching string highlight in multiselect autocomplete box + + ZBX-15136 fixed displaying 'Plain text' on the dashboard as html + + ZBX-15313 fixed unit suffix support in calculated item expressions + + ZBX-15224 fixed failed query errors when receiving non UTF-8 history values + + ZBX-14592 fixed calculation of SLA and availability report when problem has negative duration + + ZBX-13804 fixed generic popup form submission + + ZBX-15156 fixed undefined offset error in host screen with web item + + ZBX-14980 fixed problem with filter by itemids and hostids in history.get + + ZBX-14624 fixed agent collector not releasing connection to missing/removed disk devices + + ZBX-15279 fixed handling of LLD processing errors that should have resulted in not supported LLD rule state + + ZBX-15241 fixed escaping regexp symbols in preprocessing output parameter when creating item by LLD + + ZBX-14604 fixed displaying of the graph name on screens + + ZBXNEXT-4588 renamed 'display options' tab to 'displaying options'; fixed multiple layout issues, footnote in hint-box, + field value handling, calculation of mouse position, multiple issues related with Y axis and problem styling + + ZBX-15159 fixed existing context menu closing when new one is opened + + ZBX-15233 renamed fuzzytime() function description in dropdown list + + ZBX-12801 excluded zabbix_sender.dll from MS Windows builds with TLS + + ZBXNEXT-4883 fixed when trigger in problem state hides all dependent triggers in history view + + ZBX-15260 improved misleading warning message when agent fails to find log file during processing logrt[] item + + ZBX-15258 fixed update interval of "Zabbix queue" item in server's template to be consistent with proxy template, + added missing units in proxy template + + ZBX-15225 improved handling of timeouts in "vfs.dir.size" and "vfs.dir.count" items on Windows agent + + ZBX-15333 fixed zoomout on doubleclick in graph widget + + ZBX-15236 fixed display parent host groups without hosts in multiselect + + ZBX-15206 fixed deprecated net-snmp attribute + + ZBX-15067 fixed configuration sync of interfaces without hosts + + ZBX-15238 fixed updating nextcheck time in discovery rules to + avoid overlaps between discovery executions + + ZBX-13673 fixed regexp validation when pattern contain slash character + + ZBX-14528 fixed incorrect keycode handling in multiselect input fields + + ZBX-15124 fixed trigger overview behavior when show "any" + + ZBX-14648 ixed performance with deletion of item in template linked to many hosts + + ZBX-9011 added new LLD macros for vmware HV low-level discovery + + ZBX-15105 fixed colorpicker tooltip update + + ZBX-14928 fixed "check now" being executed for active items and templates + + ZBX-15153 fixed custom interval validation; fixed parsing of custom + intervals when user macros context contains forward slash + + ZBX-15069 fixed community default value in edit scenario + + ZBX-9038 fixed memory of performance counters consumed during vmware update + + ZBX-8383 updated Tomcat template for compatibility with recent Tomcat versions + + ZBX-15078 fixed API authentication for ldap users having gui access disabled + + ZBX-14880 fixed misleading ldap authentication error messages + + ZBX-14877 fixed style of disabled action on high contrast theme + + ZBX-14606 removed strict-transport-security header from frontend + + ZBX-15020 fixed negative time selector offset when selecting time range in graph + + ZBX-14977 fixed creation of unneeded database record if host prototype inventory + mode is disabled; fixed validation for host and host prototype inventory mode + + ZBX-15146 fixed SQL error occurred when too long IP address is attempted to be written in database + + ZBX-15148 fixed web scenario item selection in SVG graph widget + + ZBX-15107 fixed error handling in logrt[] items if regular expression for file name is not valid + + ZBX-14800 fixed resolving of functional macros in graph widget name + + ZBX-15200 fixed host, trigger and item count calculation; fixed required performance calculation + + ZBX-15158 fixed graph name for cache usage in proxy and server templates + + ZBX-15178 fixed wrong behaviour when referencing unexisting capture groups + in item regexp preprocessing, general pcre code improvements + +------------------------------------------------------------------- +Thu Nov 29 08:59:53 UTC 2018 - boris@steki.net + +- updated to latest release 4.0.2 +- New Features and Improvements + + ZBXNEXT-3848 added validation of update interval, custom interval, + history storage period and trend storage period in low-level discovery + + ZBXNEXT-4841 removed hardcoded locations for iconv.h and pthread.h; + thanks to Helmut Grohne for the patch + + ZBXNEXT-3047 fixed compilation errors on Windows platform with + static OpenSSL libraries + + ZBXNEXT-4836 added license information and OpenSSL linking exception + to README file, show crypto library version when started with '-V' + + ZBXNEXT-4725 added filter fields to select templates and hosts by directly linked templates; + made proxy filter field visible in configuration hosts field + + ZBXNEXT-4796 added 'fullscreen' and 'kiosk' URL arguments to allow to set layout mode via link + + ZBXNEXT-4782 improve out of memory error message by adding statistics and backtrace; + improve something impossible has just happened error message by adding backtrace + + ZBXNEXT-4271 improved escalator performance by using nextcheck index instead of reading whole table +- Bug Fixes + + ZBX-15171 fixed crash in ODBC when creating JSON from null + db values, fixed memory leak + + ZBX-15045 fixed a case where a disable multiselect looks like + a similar to enabled text field + + ZBX-14927 fixed filter by host group without real hosts + in triggers top 100, dashboard widgets, screens + + ZBX-13662 fixed duplication of file system type in global regular + expression for file systems discovery + + ZBX-15036 added system.cpu.util[,guest], system.cpu.util[,guest_nice] to OS Linux template + + ZBX-15106 improved error messages for item preprocessing, general pcre code improvements + + ZBX-15095 fixed curl error handling for elasticsearch history backend + + ZBX-15129 added optional upgrade patches to rename TRIGGER.NAME + macros to EVENT.NAME in action operation messages and custom scripts + + ZBX-14858 fixed processing of unlimited vmware maxQueryMetrics value + + ZBX-14635 fixed rare LLD failures when moving host between groups + + ZBX-13719 fixed loss of calc_fnc index in graph edit form + + ZBX-14964 improved escalator performance during maintenance + by checking paused escalations less frequently + + ZBX-13793 fixed focus styles on read-only textarea fields + + ZBX-13009 fixed percentage calculation on availability reports list page + + ZBX-15138 fixed error message when receiving compressed data over maximum size + + ZBX-15154 fixed time period parameters in data overview context menu links + + ZBX-15044 fixed javascript error when zooming classic graph in edit mode + + ZBX-15044 fixed dashboard initialization in edit mode + + ZBX-15053 fixed timetamp position in map + + ZBX-15033 fixed zoom-out and select box for graphs in kiosk mode + + ZBX-8396 improved source code comments + + ZBX-14970 fixed wrong media type status upon creation, if chosen status disabled + + ZBX-14899 fixed wrong net.tcp.listen values on obsolete Linux systems + + ZBX-14941 fixed issue with autoreconf/automake for source tarball + + ZBX-15142 fixed time format for vmware performance counters query + + ZBX-15010 fixed regexp compilation error for patterns with referenced subpatterns + + ZBX-14724 fixed breadcrumb jumping in IE browser + + ZBX-15083 fixed API so that macros {TRIGGER.ID} works in map element URLs + + ZBX-15127 fixed possible crash when communication problem occurred + in the middle of vmware update + + ZBX-14396 fixed excessive memory usage during template full clone + + ZBX-14848 clarified process type names for log level increase/decrease + in help messages and man pages + + ZBX-14833 fixed selectHosts option in dservice.get API method + to return the list of hosts by IP and proxy + + ZBX-15062 fixed binary heap trying to reallocate slots on every insert + + ZBX-14805 fixed unauthorized request error when resetting + filter after enabling/disabling elements + + ZBX-14789 fixed translations from en_US to en_GB + + ZBX-14758 fixed encoding for cookie names and values + + ZBX-15122 fixed possible crash in web monitoring due + to posts not being reset between steps + + ZBX-14691 fixed faulty behaviour of mandatory fields in Trigger expression form + + ZBX-13695 added support of host macros to trapper, HTTP agent item allowed hosts field + + ZBX-15022 fixed shared memory leak during configuration cache synchronization + + ZBX-15025 fixed email alerts being sent twice to one recipient + + ZBX-15006 fixed possibility to link map widget to itself as filter widget + + ZBX-14886 fixed undefined offset error in Problems by severity widget + + ZBX-15090 fixed memory leak when validating regular expression + preprocessing step parameters during LLD + + ZBX-14625 changed SNMP OID default value to be displayed + as placeholder instead of text + + ZBX-14505 fixed compiler warning about incompatible pointer type on 32-bit platform + + ZBX-1667 fixed error suppression during php ldap module initialization + + ZBX-13505 fixed link coloring in map when related trigger is not monitored + + ZBX-15032 fixed sBox position in screen's graph item when dynamic + item is enabled + + ZBX-14953 fixed not closed connection with vmware at the end + of update session via a call to Logout() + + ZBX-15007 fixed current map refresh in map widget + right after update widget configuration + + ZBX-14990 added missing http agent statistic row in queue screen + + ZBX-14984 fixed missing focus from problem name when opening + description editing popup in monitoring problems section + + ZBX-14947 fixed configuration update in administration authentication section + + ZBX-14974 fixed memory leak in case duplication name + of the vmware performance counters + + ZBX-14934 made widget specific javascript files to be loaded with jsLoader + + ZBX-15094 fixed the potential crash during vmware update + + ZBX-14966 removed the notes about sqlite from zabbix_server.conf + + ZBX-14875 fixed discovery and auto registration escalations being kept + for one hour instead of deleted immediately + + ZBX-14422 fixed SQL queries being logged when accessing API, + even if debug mode is disabled + + ZBX-14905 fixed error reporting for XML import of hosts and templates + + ZBX-14945 fixed action popup being unclosable after widget refresh, + fixed debug element being hidden on widget refresh + + ZBX-14806 changed focus style for radio buttons + + ZBX-15027 fixed startup failures due to orphaned or zombie processes + remaining when zabbix daemon is terminated during startup + + ZBX-14904 fixed possible PHP errors in "Problem hosts" widget + + ZBX-15057 fixed possible crash when syncing host groups + + ZBX-14807 fixed selection box for graphs on monitoring screens + + ZBX-14779 extended support of system.stat[ent], system.stat[cpu,pc], + system.stat[cpu,ec] on IBM AIX to LPAR type 'dedicated' + + ZBX-14851 fixed the host visible name in the event details/messages + from server when using long utf8 text + + ZBX-14887 fixed max count of records in the single json that proxy can send to the server + + ZBX-14972 fixed the case where data from non-monitored VMware services are not removed from vmware cache + + ZBX-14856 added support for OpenSSL 1.1.1 + + ZBX-14971 added note on runtime control with PID numbers larger than 65535 to server, + proxy and agentd help messages and man pages + + ZBX-14734 fixed the verification of the assignment of two web checks with the same + name from different templates to one host + + ZBX-14749 fixed cloning inherited host prototype on host + + ZBX-14663 fixed calculation of Y zero position in graph + + ZBX-14865 fixed "Field "parent_itemid" cannot be set to NULL" error message + while importing multiple templates + + ZBX-14925 added support of user language specific url link in support icon, + supported languages: english as default, japanese, russian + + ZBX-14854 improved preprocessor worker performance + + ZBX-14798 fixed incorrect zero rounding in date and time fields + + ZBX-14954 fixed sql error in escalator when working with Oracle, + PostgreSQL (less than v9.4) databases + + ZBX-14952 fixed incorrect translation string in en_US locale + + ZBX-14757 fixed fields becoming writable upon form refresh in host prototype form + + ZBX-14915 fixed 'follow redirects' checkbox in web scenario step's dialog + + ZBX-14811 fixed color of the host name in the title of the Screens + + ZBX-14776 fixed sorting when changing status of media type + + ZBX-14711 fixed triggers in trigger overview being filtered by trigger severity and trigger + status change time instead of problem severity and problem creation time + + ZBX-14689 fixed updating of the Graph list of host when selecting a group of hosts + + ZBX-12217 removed links to templates with no permissions for templated triggers, + trigger prototypes, graphs, graph prototypes, host prototypes and web scenarios + + ZBX-14861 fixed trigger evaluation result not visible in test dialogue when expression is too long + + ZBX-14723 fixed zoom button for time selector in IE browser + + ZBX-14888 fixed table markup on overview and system info pages + + ZBX-14652 fixed plain text Latest data when selecting more than 1 item + + ZBX-14618 fixed host prototype status checkbox resets after adding template + + ZBX-14632 fixed minor typos in comments and tests + + ZBX-14834 fixed icon misplacement in problem view + + ZBX-14803 fixed incorrect profile update causing page filter to sometimes show duplicate values + + ZBX-10784 fixed validation of double/Numeric(float) values + + ZBX-14727 fixed selection of data for trigger overview and graphs if first drop down entry is "none" + + ZBX-14615 fixed Java gateway not to mark host unreachable in case of invalid username and password + + ZBX-14585 fixed JMX endpoint not being included in error message in case of connection errors + + ZBX-14650 fixed web.page.regexp item parameters description + + ZBX-14764 fixed crash that could occur when OpenIPMI pollers are configured + + ZBX-14882 fixed crash in vmware collector when receiving invalid xml + + ZBX-14908 fixed crash when processing internal trigger events and deleting triggers at the same time +------------------------------------------------------------------- +Tue Oct 16 22:49:22 UTC 2018 - Boris Manojlovic + +- removed support for jabber protocol as iksemel was removed from + openSUSE:Factory +- fixed configuration paths + +------------------------------------------------------------------- +Mon Oct 2 12:36:00 UTC 2018 - pieter@hollants.com + +- initial packaging of zabbix 4.0.0 +- inherited patch zabbix-3.0.25-new-m4-pgsql.patch + diff --git a/zabbix.spec b/zabbix.spec new file mode 100644 index 0000000..a7dae29 --- /dev/null +++ b/zabbix.spec @@ -0,0 +1,661 @@ +# +# spec file for package zabbix +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define server_user zabbixs +%define server_group zabbixs +%define agent_user zabbix +%define agent_group zabbix + +Name: zabbix +Version: 6.0.33 +Release: 0 +Summary: Distributed monitoring system +License: Apache-2.0 AND GPL-2.0-or-later AND EPL-2.0 AND MPL-2.0 AND BSD-3-Clause +Group: System/Monitoring +URL: https://www.zabbix.com +Source0: https://cdn.zabbix.com/zabbix/sources/stable/6.0/zabbix-%{version}.tar.gz +Source1: rn6.0.0.html +Source2: zabbix-tmpfiles.conf +Source3: zabbix-java-gateway.sh +Source4: zabbix-logrotate.in +Source5: apache2-zabbix.conf +Source6: README.SUSE +Source11: zabbix-proxy.service +Source12: zabbix-agentd.service +Source13: zabbix-server.service +Source14: zabbix-java-gateway.service +Source15: README-SSL.SUSE +Source16: system-user-zabbix.conf +# PATCH-FIX-OPENSUSE zabbix-6.0.12-netsnmp-fixes.patch fix for removed md5 auth protocol +Patch0: zabbix-6.0.12-netsnmp-fixes.patch +# PATCH-FIX-OPENSUSE zabbix-reproducible-jar-mtime.patch reproducible jar mtime with openjdk17+ +Patch1: zabbix-reproducible-jar-mtime.patch +BuildRequires: apache-rpm-macros +BuildRequires: apache2-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: fdupes +BuildRequires: firewall-macros +BuildRequires: gcc +BuildRequires: java-devel >= 1.6 +BuildRequires: libmysqlclient-devel +BuildRequires: libtool +BuildRequires: logrotate +BuildRequires: net-snmp-devel +BuildRequires: openldap2-devel +BuildRequires: pkgconfig +BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools +BuildRequires: unixODBC-devel +BuildRequires: update-alternatives +BuildRequires: pkgconfig(OpenIPMI) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libevent) +BuildRequires: pkgconfig(libpcre) +BuildRequires: pkgconfig(libpq) +BuildRequires: pkgconfig(libssh2) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(zlib) +%sysusers_requires + +%{?systemd_requires} +%if 0%{?suse_version} >= 1600 || 0%{?sle_version} > 150100 +BuildRequires: postgresql-server-devel +%endif + +%description +Zabbix is a distributed monitoring system. + +Zabbix is software that monitors numerous parameters of a network and the +health and integrity of servers. Zabbix uses a flexible notification mechanism +that allows users to configure e-mail based alerts for virtually any event. +This allows a fast reaction to server problems. Zabbix offers excellent +reporting and data visualisation features based on the stored data. This makes +Zabbix ideal for capacity planning. + +Zabbix supports both polling and trapping. All Zabbix reports and statistics, +as well as configuration parameters, are accessed through a web-based frontend. +A web-based frontend ensures that the status of your network and the health of +your servers can be assessed from any location. Properly configured, Zabbix can +play an important role in monitoring IT infrastructure. This is equally true +for small organisations with a few servers and for large companies with a +multitude of servers. + +%package agent +Summary: Local resource monitor agent for Zabbix +Group: System/Monitoring +Requires: logrotate +Requires(pre): %fillup_prereq +Requires(pre): shadow +Requires: update-alternatives +Requires: group(%{agent_group}) +Requires: user(%{agent_user}) +Conflicts: zabbix-agent + +%description agent +The Zabbix agent monitors local resources and relays information to the server. + +%package server +Summary: System files for the Zabbix server +Group: System/Monitoring +Requires: fping +Requires: logrotate +Requires: update-alternatives +Requires: zabbix_server_binary = %{version}-%{release} +Requires(pre): %fillup_prereq +Requires(pre): shadow +Requires: group(%{server_group}) +Requires: user(%{server_user}) +Conflicts: zabbix-server + +%description server +The Zabbix server component. + +%package proxy +Summary: System files for the Zabbix proxy +Group: System/Monitoring +Requires: fping +Requires: logrotate +Requires: update-alternatives +Requires: zabbix_proxy_binary = %{version}-%{release} +Requires(pre): %fillup_prereq +Requires(pre): shadow +Requires: group(%{server_group}) +Requires: user(%{server_user}) +Conflicts: zabbix-proxy + +%description proxy +The Zabbix proxy component. + +%package ui +Summary: Zabbix web frontend (php) +Group: Productivity/Networking/Web/Frontends +Requires: apache2 +Requires: php8 +Requires: php8-bcmath +Requires: php8-ctype +Requires: php8-gd +Requires: php8-gettext +Requires: php8-ldap +Requires: php8-mbstring +Requires: php8-sockets +Requires: php8-xmlreader +Requires: php8-xmlwriter +Suggests: php8-mysqli +Suggests: php8-pgsql +Conflicts: zabbix-phpfrontend +Provides: zabbix-phpfrontend +Obsoletes: zabbix-phpfrontend < 6.0.0 +BuildArch: noarch + +%description ui +The Zabbix PHP frontend allows access via standard web browsers. + +NOTE: You still have to install the PHP package which contains your db driver! + +%package server-mysql +Summary: Zabbix server with MySQL support +Group: System/Monitoring +Requires: %{name}-server = %{version}-%{release} +Requires: mariadb +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: zabbix-server-mysql +Provides: %{name} = %{version}-%{release} +Provides: zabbix_server_binary = %{version}-%{release} + +%description server-mysql +The Zabbix server compiled with MySQL support. + +%package server-postgresql +Summary: Zabbix server with PostgreSQL support +Group: System/Monitoring +Requires: %{name}-server = %{version}-%{release} +Requires: postgresql +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: zabbix-server-postgresql +Provides: %{name} = %{version}-%{release} +Provides: zabbix_server_binary = %{version}-%{release} + +%description server-postgresql +The Zabbix server compiled with PostgreSQL support. + +%package proxy-mysql +Summary: Zabbix proxy with MySQL support +Group: System/Monitoring +Requires: %{name}-proxy = %{version}-%{release} +Requires: mariadb +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: zabbix-proxy-mysql +Provides: %{name} = %{version}-%{release} +Provides: zabbix_proxy_binary = %{version}-%{release} + +%description proxy-mysql +The Zabbix proxy compiled with MySQL support. + +%package proxy-postgresql +Summary: Zabbix proxy with PostgreSQL support +Group: System/Monitoring +Requires: %{name}-proxy = %{version}-%{release} +Requires: postgresql +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: zabbix-proxy-postgresql +Provides: %{name} = %{version}-%{release} +Provides: zabbix_proxy_binary = %{version}-%{release} + +%description proxy-postgresql +The Zabbix proxy compiled with PostgreSQL support. + +%package proxy-sqlite +Summary: Zabbix proxy with SQLite support +Group: System/Monitoring +Requires: %{name}-proxy = %{version}-%{release} +Requires(post): update-alternatives +Requires(postun): update-alternatives +Conflicts: zabbix-proxy-sqlite +Provides: %{name} = %{version}-%{release} +Provides: zabbix_proxy_binary = %{version}-%{release} + +%description proxy-sqlite +The Zabbix proxy compiled with SQLite support. + +%package java-gateway +Summary: Zabbix Java gateway +Group: System/Monitoring +Requires: jre +Requires(pre): shadow +Conflicts: zabbix-java-gateway +Provides: %{name} = %{version}-%{release} +Requires: group(%{server_group}) +Requires: user(%{server_user}) +BuildArch: noarch + +%description java-gateway +JMX monitoring can be used to monitor JMX counters of a Java +application. To retrieve the value of a particular JMX counter on a +host, the Zabbix server queries the Zabbix Java gateway, which in +turn uses the JMX management API to query the application of interest +remotely. + +%package -n system-user-zabbix +Summary: Users and groups +Group: System +Requires(pre): pwdutils +Provides: group(%{agent_group}) +Provides: group(%{server_group}) +Provides: user(%{agent_user}) +Provides: user(%{server_user})%define server_user zabbixs +BuildArch: noarch + +%description -n system-user-zabbix +Zabbix users and groups required by zabbix packages + +%prep +%setup -n zabbix-%{version} +%patch -P 0 -p0 +# The "--date" option was added into jar in OpenJDK 17 +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0} +%patch -P 1 -p1 +%endif + +cp %{SOURCE6} . +# fix source & config files to respect adapted names +for file in src/zabbix_java/settings.sh src/zabbix_java/lib/logback.xml %{SOURCE3} conf/*.conf misc/init.d/suse/*/zabbix_* src/zabbix_server/server.c \ + src/zabbix_server/alerter/alerter.c src/zabbix_agent/zbxconf.c src/zabbix_agent/zabbix_agentd.c src/zabbix_proxy/proxy.c ChangeLog; do + sed -i -e "s@/home/zabbix/bin@%{_bindir}@g" \ + -e "s@^[# ]*PidFile=/tmp/zabbix_@PidFile=%{_rundir}/%{agent_user}/zabbix_@g" \ + -e "s@^[# ]*LogFile=/tmp/zabbix_@LogFile=%{_localstatedir}/log/%{agent_user}/zabbix_@g" \ + -e "s@^[# ]*DBSocket=/tmp/mysql.sock@DBSocket=%{_rundir}/mysql/mysql.sock@g" \ + -e "s@^[# ]*SocketDir=/tmp@SocketDir=%{_rundir}/%{agent_user}@g" \ + -e "s@DBUser=root@DBUser=zabbix@g" \ + -e "s@^[# ]*DBPassword=.*@DBPassword=zabbix@g" \ + -e "s@Hostname=Zabbix Server@Hostname=Zabbix_Server@" \ + -e "s@GW_PID:=%{_localstatedir}/run/zabbix/zabbix-java-gateway.pid@GW_PID:=%{_rundir}/%{server_user}/zabbix-java-gateway.pid@g" \ + -e "s@GW_LOGFILE:=%{_localstatedir}/log/zabbix/zabbix-java-gateway.log@GW_LOGFILE:=%{_localstatedir}/log/%{server_user}/zabbix-java-gateway.log@g" $file +done + +# fix server, java and proxy (again) config for log and run location... +for file in src/zabbix_java/settings.sh conf/zabbix_proxy.conf conf/zabbix_server.conf ; do + sed -i -e "s#^[# ]*LogFile=%{_localstatedir}/log/.*/zabbix_#LogFile=%{_localstatedir}/log/%{server_user}/zabbix_#g" \ + -e "s#^[# ]*PidFile=%{_rundir}/.*/zabbix_#PidFile=%{_rundir}/%{server_user}/zabbix_#g" \ + -e "s#^[# ]*SocketDir=%{_rundir}/%{agent_user}#SocketDir=%{_rundir}/%{server_user}#g" \ + -e 's#PID_FILE="%{_rundir}/.*/zabbix_#PID_FILE="%{_rundir}/%{server_user}/zabbix_#g' $file +done + +# fix db content to respect adapted names and suse naming conventions +for file in database/*/data.sql; do + sed -i -e "s#syslogd#syslog-ng#g" \ + -e "s#Syslogd#Syslog-ng#g" \ + -e "s#httpd#httpd2-prefork#g" $file +done +##### Fix for date time macros +REF_DATE=$(LANG=C date -r configure +"%%b %%d %%Y") +REF_TIME=$(LANG=C date -r configure +"%%H:%%M:%%S") +sed -i -e "s/__DATE__/\"${REF_DATE}\"/g" -e "s/__TIME__/\"${REF_TIME}\"/g" src/libs/zbxcommon/str.c +##### +##### Fix location of zabbix java gateway location +sed -ri 's@^(ZABBIX_JAVA_CONF=.\{ZABBIX_JAVA_CONF:=).*@\1%{_sysconfdir}/zabbix/zabbix-java-gateway.conf}@g' %{SOURCE3} + +# Remove prebuilt Windows binaries +rm -rf bin + +#make separate directories for each config +cd .. +cp -r zabbix-%{version} zabbix-%{version}-postgresql +cp -r zabbix-%{version} zabbix-%{version}-sqlite +cd - + +%build +%sysusers_generate_pre %{SOURCE16} zabbix system-user-zabbix.conf +ZABBIX_BASIC_CONFIG="--enable-proxy --enable-server --enable-agent --sysconfdir=%{_sysconfdir}/zabbix \ + --with-openipmi --enable-java --enable-ipv6 --with-ssh2 --with-ldap --with-unixodbc \ + --with-libcurl --with-net-snmp --with-libxml2 --with-openssl --with-libpcre --with-libevent" + +# configure MySQL repo (here) +autoreconf -fvi +%configure $ZABBIX_BASIC_CONFIG --with-mysql --without-postgresql --without-sqlite3 +%make_build + +# configure PostgreSQL repo +cd ../zabbix-%{version}-postgresql +autoreconf -fvi +%configure $ZABBIX_BASIC_CONFIG --with-postgresql --without-mysql --without-sqlite3 +%make_build +cd - + +# configure SQLite repo +cd ../zabbix-%{version}-sqlite +autoreconf -fvi +%configure $ZABBIX_BASIC_CONFIG --disable-server --enable-proxy --with-sqlite3 --without-postgresql --without-mysql +%make_build +cd - + +%install +install -D -m 0644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-zabbix.conf +# install the binaries + +%make_install -C ../zabbix-%{version}-sqlite +mv %{buildroot}%{_sbindir}/zabbix_proxy %{buildroot}%{_sbindir}/zabbix_proxy-sqlite + +%make_install -C ../zabbix-%{version}-postgresql +mv %{buildroot}%{_sbindir}/zabbix_server %{buildroot}%{_sbindir}/zabbix_server-postgresql +mv %{buildroot}%{_sbindir}/zabbix_proxy %{buildroot}%{_sbindir}/zabbix_proxy-postgresql + +%make_install +mv %{buildroot}%{_sbindir}/zabbix_server %{buildroot}%{_sbindir}/zabbix_server-mysql +mv %{buildroot}%{_sbindir}/zabbix_proxy %{buildroot}%{_sbindir}/zabbix_proxy-mysql + +mv %{buildroot}%{_bindir}/zabbix_sender %{buildroot}%{_sbindir}/zabbix_sender + +# create directory structure +install -d %{buildroot}%{_localstatedir}/log/%{server_user} +install -d %{buildroot}%{_localstatedir}/log/%{agent_user} + +# move java gateway files +mkdir -p %{buildroot}/%{_prefix}/lib/zabbix-java-gateway +mv %{buildroot}%{_sbindir}/zabbix_java/lib/*.jar %{buildroot}%{_prefix}/lib/zabbix-java-gateway +mv %{buildroot}%{_sbindir}/zabbix_java/bin/*.jar %{buildroot}%{_prefix}/lib/zabbix-java-gateway +mv %{buildroot}%{_sbindir}/zabbix_java/settings.sh %{buildroot}%{_sysconfdir}/zabbix/zabbix-java-gateway.conf +mv %{buildroot}%{_sbindir}/zabbix_java/lib/logback.xml %{buildroot}%{_sysconfdir}/zabbix/zabbix-java-gateway-log.xml +install -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/zabbix-java-gateway +# we do not need the rest +rm -r %{buildroot}%{_sbindir}/zabbix_java + +# install the php frontend +mkdir -p %{buildroot}%{_datadir}/zabbix +cp -r ui/* %{buildroot}%{_datadir}/zabbix +install -Dm 0644 %{SOURCE5} %{buildroot}%{apache_sysconfdir}/conf.d/zabbix.conf +# remove .htaccess files as access rules are moved to zabbix.conf +find %{buildroot}%{_datadir}/zabbix -name .htaccess -exec rm -v {} \; + +# Install log rotation +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +sed -e 's|COMPONENT|agentd|g; s|USER|zabbix|g' %{SOURCE4} > \ + %{buildroot}%{_sysconfdir}/logrotate.d/%{name}-agent +sed -e 's|COMPONENT|server|g; s|USER|zabbixs|g' %{SOURCE4} > \ + %{buildroot}%{_sysconfdir}/logrotate.d/%{name}-server +sed -e 's|COMPONENT|proxy|g; s|USER|zabbixs|g' %{SOURCE4} > \ + %{buildroot}%{_sysconfdir}/logrotate.d/%{name}-proxy + +%fdupes %{buildroot} + +# install systemd unit files +install -Dm 0644 %{SOURCE11} %{buildroot}%{_unitdir}/zabbix_proxy.service +install -Dm 0644 %{SOURCE12} %{buildroot}%{_unitdir}/zabbix_agentd.service +install -Dm 0644 %{SOURCE13} %{buildroot}%{_unitdir}/zabbix_server.service +install -Dm 0644 %{SOURCE14} %{buildroot}%{_unitdir}/zabbix-java-gateway.service +install -dm 0755 %{buildroot}/%{_unitdir}/zabbix_server.service.requires +install -dm 0755 %{buildroot}/%{_unitdir}/zabbix_proxy.service.requires + +# set the rc sym links +ln -s service %{buildroot}%{_sbindir}/rczabbix_agentd +ln -s service %{buildroot}%{_sbindir}/rczabbix_server +ln -s service %{buildroot}%{_sbindir}/rczabbix_proxy +ln -s service %{buildroot}%{_sbindir}/rczabbix-java-gateway + +# this stupidity is required because i do not wanna create separate zabbix-common +# in case i ever do it will put it under one scope... +install -Dm 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/zabbix_agentd.conf +# here I suppose server_user==server_group (and agent_user==agent_group, which is for compatibility reasons) +sed -i 's@%{agent_user}@%{server_user}@g' %{SOURCE2} +install -Dm 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/zabbix_server.conf +install -Dm 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/zabbix_proxy.conf +install -Dm 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/zabbix-java-gateway.conf +################################################################################### + +# update-alternatives +install -d -m 0755 %{buildroot}%{_sysconfdir}/alternatives +touch -r /bin/true %{buildroot}%{_sysconfdir}/alternatives/zabbix_server +touch -r /bin/true %{buildroot}%{_sysconfdir}/alternatives/zabbix_proxy +ln -s %{_sysconfdir}/alternatives/zabbix_server %{buildroot}%{_sbindir}/zabbix_server +ln -s %{_sysconfdir}/alternatives/zabbix_proxy %{buildroot}%{_sbindir}/zabbix_proxy + +# set links zabbix-* -> zabbix_* (to avoid confusion among users) +ln -s %{_sbindir}/zabbix_server %{buildroot}%{_sbindir}/zabbix-server +ln -s %{_sbindir}/zabbix_server %{buildroot}%{_sbindir}/zabbix-proxy +ln -s %{_sbindir}/zabbix_agentd %{buildroot}%{_sbindir}/zabbix-agentd +ln -s %{_sbindir}/zabbix_sender %{buildroot}%{_sbindir}/zabbix-sender +ln -s %{_bindir}/zabbix_get %{buildroot}%{_bindir}/zabbix-get + +# Remove Makefiles from database directories so they don't get picked up by %%doc +rm database/*/Makefile* + +# Release Notes - what has changed against Zabbix 3.x +cp %{SOURCE1} . + +# SSL README +cp %{SOURCE15} . + +%pre server +# Server daemon +%service_add_pre zabbix_server.service + +%pre proxy +# Proxy daemon +%service_add_pre zabbix_proxy.service + +%pre agent +# Agent daemon +%service_add_pre zabbix_agentd.service + +%pre java-gateway +# Java daemon +%service_add_pre zabbix-java-gateway.service + +%pre -n system-user-zabbix -f zabbix.pre + +%post server +%firewalld_reload +%service_add_post zabbix_server.service +%tmpfiles_create %{_tmpfilesdir}/zabbix_server.conf +echo "Please read %{_docdir}/%{name}-server/README-SSL.SUSE to set up SSL on Zabbix server." + +%post proxy +%firewalld_reload +%service_add_post zabbix_proxy.service +%tmpfiles_create %{_tmpfilesdir}/zabbix_proxy.conf +echo "Please read %{_docdir}/%{name}-proxy/README-SSL.SUSE to set up SSL on Zabbix proxy." + +%post java-gateway +%firewalld_reload +%service_add_post zabbix-java-gateway.service +%tmpfiles_create %{_tmpfilesdir}/zabbix-java-gateway.conf + +%post agent +%firewalld_reload +%service_add_post zabbix_agentd.service +%tmpfiles_create %{_tmpfilesdir}/zabbix_agentd.conf +echo "Please read %{_docdir}/%{name}-agent/README-SSL.SUSE to set up SSL on Zabbix agent." + +%post server-mysql +%{_sbindir}/update-alternatives --install %{_sbindir}/zabbix_server zabbix_server %{_sbindir}/zabbix_server-mysql 12 + +%post server-postgresql +%{_sbindir}/update-alternatives --install %{_sbindir}/zabbix_server zabbix_server %{_sbindir}/zabbix_server-postgresql 11 + +%post proxy-mysql +%{_sbindir}/update-alternatives --install %{_sbindir}/zabbix_proxy zabbix_proxy %{_sbindir}/zabbix_proxy-mysql 12 + +%post proxy-postgresql +%{_sbindir}/update-alternatives --install %{_sbindir}/zabbix_proxy zabbix_proxy %{_sbindir}/zabbix_proxy-postgresql 11 + +%post proxy-sqlite +%{_sbindir}/update-alternatives --install %{_sbindir}/zabbix_proxy zabbix_proxy %{_sbindir}/zabbix_proxy-sqlite 10 + +%preun server +%service_del_preun zabbix_server.service + +%preun proxy +%service_del_preun zabbix_proxy.service + +%preun java-gateway +%service_del_preun zabbix-java-gateway.service + +%preun agent +%service_del_preun zabbix_agentd.service + +%postun server +%service_del_postun zabbix_server.service + +%postun proxy +%service_del_postun zabbix_proxy.service + +%postun java-gateway +%service_del_postun zabbix-java-gateway.service + +%postun agent +%service_del_postun zabbix_agentd.service + +%postun server-mysql +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove zabbix_server %{_sbindir}/zabbix_server-mysql +fi + +%postun server-postgresql +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove zabbix_server %{_sbindir}/zabbix_server-postgresql +fi + +%postun proxy-mysql +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove zabbix_proxy %{_sbindir}/zabbix_proxy-mysql +fi + +%postun proxy-postgresql +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove zabbix_proxy %{_sbindir}/zabbix_proxy-postgresql +fi + +%postun proxy-sqlite +if [ "$1" = 0 ] ; then + %{_sbindir}/update-alternatives --remove zabbix_proxy %{_sbindir}/zabbix_proxy-sqlite +fi + +%files server +%doc AUTHORS ChangeLog database/mysql database/oracle database/postgresql database/sqlite3 rn6.0.0.html README-SSL.SUSE +%dir %{_sysconfdir}/zabbix +%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix_server.conf +%{_bindir}/zabbix_get +%{_bindir}/zabbix-get +%{_bindir}/zabbix_js +%{_sbindir}/zabbix_server +%{_sbindir}/zabbix-server +%{_sbindir}/rczabbix_server +%attr(0770,root,%{server_group}) %dir %{_localstatedir}/log/%{server_user} +%ghost %attr(0770,root,%{server_group}) %dir %{_rundir}/%{server_user} +%{_mandir}/man1/zabbix_get.1%{?ext_man} +%{_mandir}/man8/zabbix_server.8%{?ext_man} +%{_unitdir}/zabbix_server.service +%{_unitdir}/zabbix_server.service.requires +%{_tmpfilesdir}/zabbix_server.conf +%ghost %{_sysconfdir}/alternatives/zabbix_server +%ghost %{_sysconfdir}/alternatives/zabbix_server.service +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-server + +%files proxy +%doc README-SSL.SUSE +%{_sbindir}/zabbix_proxy +%{_sbindir}/zabbix-proxy +%{_sbindir}/rczabbix_proxy +%dir %{_sysconfdir}/zabbix +%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix_proxy.conf +%attr(0770,root,%{server_group}) %dir %{_localstatedir}/log/%{server_user} +%ghost %attr(0770,root,%{server_group}) %dir %{_rundir}/%{server_user} +%{_mandir}/man8/zabbix_proxy.8%{?ext_man} +%{_unitdir}/zabbix_proxy.service +%{_unitdir}/zabbix_proxy.service.requires +%{_tmpfilesdir}/zabbix_proxy.conf +%ghost %{_sysconfdir}/alternatives/zabbix_proxy +%ghost %{_sysconfdir}/alternatives/zabbix_proxy.service +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-proxy + +%files agent +%doc README-SSL.SUSE +%dir %{_sysconfdir}/zabbix +%config(noreplace) %attr(0640, root, %{agent_group}) %{_sysconfdir}/zabbix/zabbix_agent*.conf +%{_sbindir}/rczabbix_agentd +%{_sbindir}/zabbix_agentd +%{_sbindir}/zabbix-agentd +%{_sbindir}/zabbix_sender +%{_sbindir}/zabbix-sender +%attr(0770,root,%{agent_group}) %dir %{_localstatedir}/log/%{agent_user} +%ghost %attr(0770,root,%{agent_group}) %dir %{_rundir}/%{agent_user} +%{_mandir}/man8/zabbix_agentd.8%{?ext_man} +%{_mandir}/man1/zabbix_sender.1%{?ext_man} +%{_unitdir}/zabbix_agentd.service +%{_tmpfilesdir}/zabbix_agentd.conf +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-agent + +%files ui +%doc README.SUSE +%dir %{apache_sysconfdir} +%dir %{apache_sysconfdir}/conf.d +%config(noreplace) %{apache_sysconfdir}/conf.d/zabbix.conf +%{_datadir}/zabbix + +%files server-mysql +%{_sbindir}/zabbix_server-mysql +%{_sbindir}/zabbix_server +%ghost %{_sysconfdir}/alternatives/zabbix_server + +%files server-postgresql +%{_sbindir}/zabbix_server-postgresql +%{_sbindir}/zabbix_server +%ghost %{_sysconfdir}/alternatives/zabbix_server + +%files proxy-mysql +%{_sbindir}/zabbix_proxy-mysql +%{_sbindir}/zabbix_proxy +%ghost %{_sysconfdir}/alternatives/zabbix_proxy + +%files proxy-postgresql +%{_sbindir}/zabbix_proxy-postgresql +%{_sbindir}/zabbix_proxy +%ghost %{_sysconfdir}/alternatives/zabbix_proxy + +%files proxy-sqlite +%{_sbindir}/zabbix_proxy-sqlite +%{_sbindir}/zabbix_proxy +%ghost %{_sysconfdir}/alternatives/zabbix_proxy + +%files java-gateway +%dir %{_sysconfdir}/zabbix +%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway.conf +%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway-log.xml +%dir %{_prefix}/lib/zabbix-java-gateway +%{_bindir}/zabbix-java-gateway +%{_prefix}/lib/zabbix-java-gateway/zabbix-java-gateway-%{version}%{?rclevel}.jar +%{_prefix}/lib/zabbix-java-gateway/android-json-4.3_r3.1.jar +%{_prefix}/lib/zabbix-java-gateway/slf4j-api-1.7.32.jar +%{_prefix}/lib/zabbix-java-gateway/logback-core-1.2.9.jar +%{_prefix}/lib/zabbix-java-gateway/logback-classic-1.2.9.jar +%{_sbindir}/rczabbix-java-gateway +%attr(0770,root,%{server_group}) %dir %{_localstatedir}/log/%{server_user} +%ghost %attr(0770,root,%{server_group}) %dir %{_rundir}/%{server_user} +%{_unitdir}/zabbix-java-gateway.service +%{_tmpfilesdir}/zabbix-java-gateway.conf + +%files -n system-user-zabbix +%{_sysusersdir}/system-user-zabbix.conf + +%changelog