Hi, zabbix 3 has been released http://www.zabbix.com/whats_new.php
Created attachment 426182 [details] New Ebuild New Ebuild, zabbix-agent has been stripped, agentd is still there, files from /files/2.4 copied to /files/3.0, all references has been changed from 2.4 to 3.0. Compiled with following USE flags: agent curl frontend ipv6 postgres server snmp ssh. USE flags untested: java ldap libxml2 mysql odbc openipmi oracle proxy sqlite static xmpp". .conf files not tested yet, init files not testet yet, database and frontend upgrade or install not tested. emerge --info Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.3, glibc-2.21-r2, 4.4.1-gentoo x86_64) ================================================================= System uname: Linux-4.4.1-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_N3700_@_1.60GHz-with-gentoo-2.2 KiB Mem: 7964820 total, 67972 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 22 Feb 2016 09:42:38 +0000 Timestamp of repository megacoffee: Wed, 17 Feb 2016 21:58:02 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 bliss-overlay location: /usr/local/portage/bliss-overlay sync-type: git sync-uri: https://github.com/fearedbliss/bliss-overlay.git masters: gentoo letsencrypt location: /usr/local/portage/letsencrypt sync-type: git sync-uri: https://github.com/letsencrypt/letsencrypt.git masters: gentoo local location: /usr/local/portage/local masters: gentoo megacoffee location: /usr/local/portage/megacoffee sync-type: git sync-uri: https://github.com/gentoo-mirror/megacoffee.git masters: gentoo y2kbadbug location: /usr/local/portage/y2kbadbug sync-type: git sync-uri: https://github.com/y2kbadbug/gentoo-overlay.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CPPFLAGS="-march=native -O2 -pipe" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd threads unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext sse2 ssse3 3dnow 3dnowext avx avx2 fma4 mmx sse sse3 sse4_1 sse4_2 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic fastcgi limit_conn limit_req rewrite auth_pam dav dav_ext geoip headers_more upload_progress" NGINX_MODULES_STREAM="access limit_conn" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Missing client/server encryption related stuff in ebuild https://www.zabbix.com/documentation/3.0/manual/encryption
I had installed zabbix using ebuild and stuff from this git: https://github.com/himbeere/zabbix whith that USE flags: agent curl frontend ipv6 mysql server snmp ssh MySQL database was successfully updated from 2.2 to 3.0. I didn't test encryption yet.
(In reply to areisp from comment #3) > I had installed zabbix using ebuild and stuff from this git: > https://github.com/himbeere/zabbix whith that USE flags: agent curl frontend > ipv6 mysql server snmp ssh > > MySQL database was successfully updated from 2.2 to 3.0. > > I didn't test encryption yet. Encryption stuff has NOT been added to that ebuild either
.conf and initiativ files worked for me. Installing to new PGSQL db and Installing frontend worked.
3.0.1 bump http://www.zabbix.com/rn3.0.1.php
Is this ebuild stable? Why not to put to portage?
(In reply to Vitaly L. Fadeev from comment #7) > Is this ebuild stable? Why not to put to portage? Ebuild is working, but it's missing the new server/agent encryption, and the maintainer is m.i.a at the moment.
Is there another maintainer willing to pick this up?
Created attachment 431434 [details, diff] zabbix-3.0.2.ebuild.tls.patch Attached is a patch (which needs revision before including) mostly copied from the curl ebuild adding TLS support to Zabbix. I've only tested building with OpenSSL support and using PSK encryption with Zabbix. It seems to work fine.
When this ebuild is going to be on portage ?
Created attachment 434692 [details, diff] zabbix 2.2.13.ebuild patch its a bit hard to read due to function reordering so here we go: - added REQUIRED_USE for bug 517252 and 493678 also guard against using snmp and oracle useflags with static, since both packages don't support static libs - converted pkg_setup die to REQUIRED_USE - fix bug 519988 for every db backend supported - fix for bug 528694, i just removed the re-setting of permissions since it has been there for a long time, it really should be fixed for everyone by now - fping3 is now supported (bug 412659) this ebuild is stable candidate for bug 582536
Created attachment 434696 [details] updated {$FILESDIR}/2.2/zabbix_agent.conf to cut down some bugspam: i changed the initscript to remove the start_pre block as this is handled by the tmpfiles.d files
Created attachment 434698 [details] updated {$FILESDIR}/2.2/zabbix_agentd.conf
Created attachment 434700 [details] updated {$FILESDIR}/2.2/zabbix_proxy.conf
Created attachment 434702 [details] updated {$FILESDIR}/2.2/zabbix_server.conf
Created attachment 434704 [details] zabbix 3.0.3 ebuild this is attached as full ebuild as its essentially the 2.2.13 ebuild with changed path in filesdir and the inetd agent removed
Created attachment 434706 [details] {$FILESDIR}/3.0/zabbix_agentd.conf forgot to mention in last comment that the tls changes from tgurr are not in this ebuild, i will look at them at a later date.
Created attachment 434708 [details] {$FILESDIR}/3.0/zabbix_proxy.conf
Created attachment 434710 [details] {$FILESDIR}/3.0/zabbix_server.conf
Is there any reason / improvement required to get this into the official portage? I am urgently waiting for this an even willing to provide testing/support to get it done....
(In reply to Robert Förster from comment #13) > Created attachment 434696 [details] > updated {$FILESDIR}/2.2/zabbix_agent.conf > > to cut down some bugspam: i changed the initscript to remove the start_pre > block as this is handled by the tmpfiles.d files I disagree with that idea and prefer to have the init script enforce its preconditions.
Update to 2.2.13 2.4.8 and 3.0.3 pushed
(In reply to Patrick Lauer from comment #23) > Update to 2.2.13 2.4.8 and 3.0.3 pushed Am I missing something or is the server/client encryption stuff included in the 3.0.3 ebuild ? I can't find anything looking like, what is in the 3.0.2 patch from Timo Gurr ...