SF.net SVN: gar:[25567] csw/mgar/pkg/zabbix/branches

janholzh at users.sourceforge.net janholzh at users.sourceforge.net
Tue Feb 16 15:21:52 CET 2016


Revision: 25567
          http://sourceforge.net/p/gar/code/25567
Author:   janholzh
Date:     2016-02-16 14:21:51 +0000 (Tue, 16 Feb 2016)
Log Message:
-----------
zabbix/branches/zabbix24: branch 2.4x

Added Paths:
-----------
    csw/mgar/pkg/zabbix/branches/zabbix24/
    csw/mgar/pkg/zabbix/branches/zabbix24/Makefile
    csw/mgar/pkg/zabbix/branches/zabbix24/checksums
    csw/mgar/pkg/zabbix/branches/zabbix24/files/CSWzabbix-agent.cswusergroup
    csw/mgar/pkg/zabbix/branches/zabbix24/files/cswzabbix-agent.xml
    csw/mgar/pkg/zabbix/branches/zabbix24/files/cswzabbix-proxy.xml
    csw/mgar/pkg/zabbix/branches/zabbix24/files/cswzabbix-server.xml
    csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_agentd.conf
    csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_proxy.conf
    csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_server.conf

Removed Paths:
-------------
    csw/mgar/pkg/zabbix/branches/zabbix24/Makefile
    csw/mgar/pkg/zabbix/branches/zabbix24/checksums

Deleted: csw/mgar/pkg/zabbix/branches/zabbix24/Makefile
===================================================================
--- csw/mgar/pkg/zabbix/trunk/Makefile	2015-11-06 11:47:59 UTC (rev 25363)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/Makefile	2016-02-16 14:21:51 UTC (rev 25567)
@@ -1,112 +0,0 @@
-# $Id$
-# TODO (release-critical prefixed with !, non release-critical with *)
-#
-NAME = zabbix
-VERSION = 2.4.6
-GARTYPE = v2
-
-DESCRIPTION = Zabbix monitoring system
-define BLURB
-endef
-
-MASTER_SITES = $(SF_MIRROR)
-DISTFILES  = $(DISTNAME).tar.gz
-
-# PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386
-PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
-
-REINPLACEMENTS += etc
-REINPLACE_MATCH_etc = /usr/local/etc
-REINPLACE_WITH_etc = $(sysconfdir)
-REINPLACE_FILES_etc += conf/zabbix_proxy.conf
-
-# This is just for the server which is in 64 bit only on Solars 10
-BUILD64-5.9 =
-BUILD64-5.10 = 1
-BUILD64 = $(BUILD64-$(GAROSREL))
-ISAEXEC = 1
-
-BUILD_DEP_PKGS += CSWlibiksemel-dev
-
-PACKAGES += CSWzabbix-agent
-SPKG_DESC_CSWzabbix-agent = Zabbix monitoring system agent
-# PKGFILES is catchall
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibcurl4
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibssh2-1
-#RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibmysqlclient18
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibpq5
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibnetsnmp30
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWzabbix-agent_sparc += CSWlibintl8
-
-# Linker anomaly
-RUNTIME_DEP_PKGS_CSWzabbix-agent += $(RUNTIME_DEP_PKGS_CSWzabbix-agent_$(GARCH))
-
-# These are just examples
-#CHECKPKG_OVERRIDES_CSWzabbix-agent += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/zabbix_agentd.8
-#CHECKPKG_OVERRIDES_CSWzabbix-agent += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/zabbix_sender.1
-CHECKPKG_OVERRIDES_CSWzabbix-agent += file-with-bad-content|/usr/local|root/etc/opt/csw/zabbix_agentd.conf.CSW
-CHECKPKG_OVERRIDES_CSWzabbix-agent += file-with-bad-content|/usr/local|root/etc/opt/csw/zabbix_agent.conf.CSW
-
-PACKAGES-5.10 += CSWzabbix-server
-PACKAGES += $(PACKAGES-$(GAROSREL))
-SPKG_DESC_CSWzabbix-server = Zabbix monitoring system server
-PKGFILES_CSWzabbix-server += $(call baseisadirs,$(sbindir),zabbix_server)
-#RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibmysqlclient18
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibpq5
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibcurl4
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibnetsnmp30
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibssh2-1
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibiksemel3
-
-# Linker anomaly
-# RUNTIME_DEP_PKGS_CSWzabbix-server += $(RUNTIME_DEP_PKGS_CSWzabbix-agent_$(GARCH))
-
-# MySQL uses gcc, so we need to do also or the compiler flags bust
-# GARCOMPILER = GCC4
-
-CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --with-mysql=$(bindir)/mysql_config
-CONFIGURE_ARGS += --with-libcurl
-CONFIGURE_ARGS += --enable-agent
-CONFIGURE_ARGS += --enable-ipv6
-
-# We build the server only on Solaris 10 and only on 64 bit
-CONFIGURE_ARGS-5.9-32 += --disable-server
-CONFIGURE_ARGS-5.10-32 += --disable-server
-CONFIGURE_ARGS-5.10-64 += --enable-server
-CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(GAROSREL)-$(MEMORYMODEL))
-
-CONFIGURE_ARGS += --enable-proxy
-
-CONFIGURE_ARGS += --with-net-snmp
-# This searches libssh2 in $(prefix)/lib regardless if we are building 64 bit or not
-CONFIGURE_ARGS += --with-ssh2=$(prefix)
-CONFIGURE_ARGS += --with-ldap
-
-# We need the latest Solaris 10 for the mysql bindings
-LINKER_MAP_RELEASE =
-
-# CONFIGURE_ARGS += --with-mysql=$(bindir)/mysql_config
-# CONFIGURE_ARGS += --with-sqlite3
-
-# PostgreSQL
-CONFIGURE_ARGS += --without-mysql
-CONFIGURE_ARGS += --with-postgresql=$(bindir)/pg_config
-
-CONFIGURE_ARGS += --with-libcurl=$(bindir)/curl-config
-
-CONFIGURE_ARGS += --with-net-snmp=$(bindir)/net-snmp-config
-
-CONFIGURE_ARGS += --with-jabber
-
-PRESERVECONF += $(sysconfdir)/zabbix_agent.conf
-PRESERVECONF += $(sysconfdir)/zabbix_agentd.conf
-
-include gar/category.mk
-

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/Makefile (from rev 25566, csw/mgar/pkg/zabbix/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/zabbix/branches/zabbix24/Makefile	                        (rev 0)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/Makefile	2016-02-16 14:21:51 UTC (rev 25567)
@@ -0,0 +1,201 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = zabbix
+VERSION = 2.4.7
+GARTYPE = v2
+
+DESCRIPTION = Zabbix monitoring system
+define BLURB
+endef
+
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES  = $(DISTNAME).tar.gz
+DISTFILES += cswzabbix-agent.xml
+DISTFILES += cswzabbix-server.xml
+DISTFILES += cswzabbix-proxy.xml
+DISTFILES += zabbix_agentd.conf
+DISTFILES += zabbix_server.conf
+DISTFILES += zabbix_proxy.conf
+
+GARCOMPILER = SOS12U3
+
+
+# PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386
+PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
+
+REINPLACEMENTS += etc
+REINPLACE_MATCH_etc = /usr/local/etc
+REINPLACE_WITH_etc = $(sysconfdir)
+REINPLACE_FILES_etc += conf/zabbix_agent.conf
+
+# This is just for the server which is in 64 bit only on Solars 10
+BUILD64-5.9 =
+BUILD64-5.10 = 1
+BUILD64 = $(BUILD64-$(GAROSREL))
+ISAEXEC = 1
+
+BUILD_DEP_PKGS += CSWlibiksemel-dev
+
+USERGROUP = /etc/opt/csw/pkg/CSWzabbix-agent/cswusergroup
+
+PACKAGES += CSWzabbix-agent
+SPKG_DESC_CSWzabbix-agent = Zabbix monitoring system agent
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibcurl4
+RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWzabbix-agent += CSWliblber2-4-2
+
+CHECKPKG_OVERRIDES_CSWzabbix-agent += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/cswzabbix-agent.xml
+
+PACKAGES-5.10 += CSWzabbix-server
+PACKAGES += $(PACKAGES-$(GAROSREL))
+SPKG_DESC_CSWzabbix-server = Zabbix monitoring system server
+PKGFILES_CSWzabbix-server += $(call baseisadirs,$(sbindir),zabbix_server)
+PKGFILES_CSWzabbix-server += $(mandir)/man8/zabbix_server\.8
+PKGFILES_CSWzabbix-server += $(sysconfdir)/zabbix_server\.conf\.CSW
+PKGFILES_CSWzabbix-server += $(sysconfdir)/zabbix_proxy\.conf\.d
+PKGFILES_CSWzabbix-server += /opt/csw/share/zabbix/frontends/php/.*
+PKGFILES_CSWzabbix-server += /opt/csw/share/zabbix/database/.*
+PKGFILES_CSWzabbix-server += /var/opt/csw/svc/manifest/cswzabbix-server\.xml
+#RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibmysqlclient18
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWzabbix-agent
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibpq5
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibcurl4
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibnetsnmp30
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibssh2-1
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWlibiksemel3
+
+#PHP for frontend
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-session
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-gd
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-sockets
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-bcmath
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-xmlwriter
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-xmlreader
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-gettext
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-mbstring
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-ctype
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-dom
+#Postgres package
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWphp5-pgsql
+
+#For mibs
+RUNTIME_DEP_PKGS_CSWzabbix-server += CSWnetsnmp
+
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWnetsnmp
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-session
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-gd
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-xmlwriter
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-dom
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-gettext
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-bcmath
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-ctype
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-xmlreader
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWzabbix-agent
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-mbstring
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-sockets
+CHECKPKG_OVERRIDES_CSWzabbix-server += surplus-dependency|CSWphp5-pgsql
+CHECKPKG_OVERRIDES_CSWzabbix-server += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/cswzabbix-server.xml
+
+
+
+PACKAGES += CSWzabbix-proxy
+SPKG_DESC_CSWzabbix-proxy = Zabbix monitoring system proxy
+PKGFILES_CSWzabbix-proxy += $(call baseisadirs,$(sbindir),zabbix_proxy)
+PKGFILES_CSWzabbix-proxy += $(mandir)/man8/zabbix_proxy\.8
+PKGFILES_CSWzabbix-proxy += $(sysconfdir)/zabbix_proxy\.conf\.CSW
+PKGFILES_CSWzabbix-proxy += $(sysconfdir)/zabbix_proxy\.conf\.d
+PKGFILES_CSWzabbix-proxy += /var/opt/csw/svc/manifest/cswzabbix-proxy.xml
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWzabbix-agent
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWlibcurl4
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWlibssh2-1
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWlibnetsnmp30
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWzabbix-proxy_sparc += CSWlibintl8
+
+# Linker anomaly
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += $(RUNTIME_DEP_PKGS_CSWzabbix-proxy_$(GARCH))
+
+
+#With postgres build
+RUNTIME_DEP_PKGS_CSWzabbix-proxy += CSWlibpq5
+
+CHECKPKG_OVERRIDES_CSWzabbix-proxy += surplus-dependency|CSWzabbix-agent
+CHECKPKG_OVERRIDES_CSWzabbix-proxy += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/cswzabbix-proxy.xml
+
+
+# Config files are in 64bit build
+MERGE_SCRIPTS_isa-default64 = copy-relocate
+
+# Linker anomaly
+# RUNTIME_DEP_PKGS_CSWzabbix-server += $(RUNTIME_DEP_PKGS_CSWzabbix-agent_$(GARCH))
+
+# MySQL uses gcc, so we need to do also or the compiler flags bust
+# GARCOMPILER = GCC4
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-mysql=$(bindir)/mysql_config
+CONFIGURE_ARGS += --with-libcurl
+CONFIGURE_ARGS += --enable-agent
+CONFIGURE_ARGS += --enable-ipv6
+
+# We build the server only on Solaris 10 and only on 64 bit
+CONFIGURE_ARGS-5.9-32 += --disable-server
+CONFIGURE_ARGS-5.10-32 += --disable-server
+CONFIGURE_ARGS-5.10-64 += --enable-server
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(GAROSREL)-$(MEMORYMODEL))
+
+CONFIGURE_ARGS += --enable-proxy
+
+CONFIGURE_ARGS += --with-net-snmp
+# This searches libssh2 in $(prefix)/lib regardless if we are building 64 bit or not
+CONFIGURE_ARGS += --with-ssh2=$(prefix)
+CONFIGURE_ARGS += --with-ldap
+
+
+# CONFIGURE_ARGS += --with-mysql=$(bindir)/mysql_config
+# CONFIGURE_ARGS += --with-sqlite3
+
+# PostgreSQL
+CONFIGURE_ARGS += --without-mysql
+CONFIGURE_ARGS += --with-postgresql=$(bindir)/pg_config
+
+CONFIGURE_ARGS += --with-libcurl=$(bindir)/curl-config
+
+CONFIGURE_ARGS += --with-net-snmp=$(bindir)/net-snmp-config
+
+CONFIGURE_ARGS += --with-jabber
+
+PRESERVECONF += $(sysconfdir)/zabbix_agent.conf
+PRESERVECONF += $(sysconfdir)/zabbix_agentd.conf
+PRESERVECONF += $(sysconfdir)/zabbix_proxy.conf
+PRESERVECONF += $(sysconfdir)/zabbix_server.conf
+
+PROTOTYPE_MODIFIERS += smf
+PROTOTYPE_FILES_smf += /var/opt/csw/svc/manifest/cswzabbix-agent.xml
+PROTOTYPE_FILES_smf += /var/opt/csw/svc/manifest/cswzabbix-server.xml
+PROTOTYPE_FILES_smf += /var/opt/csw/svc/manifest/cswzabbix-proxy.xml
+PROTOTYPE_CLASS_smf = manifest
+
+include gar/category.mk
+
+post-install-modulated:
+	ginstall -d $(DESTDIR)/opt/csw/share/zabbix/frontends
+	cp -r $(WORKDIR)/zabbix-$(VERSION)/frontends/php $(DESTDIR)/opt/csw/share/zabbix/frontends
+	cp -r $(WORKDIR)/zabbix-$(VERSION)/database $(DESTDIR)/opt/csw/share/zabbix/
+	rm $(DESTDIR)/opt/csw/share/zabbix/database/Make*
+	ginstall -D -m 0644 $(FILEDIR)/CSWzabbix-agent.cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWzabbix-agent/cswusergroup
+	ginstall -D -m 0644 $(WORKDIR)/cswzabbix-agent.xml $(DESTDIR)/var/opt/csw/svc/manifest/cswzabbix-agent.xml
+	ginstall -D -m 0644 $(WORKDIR)/cswzabbix-server.xml $(DESTDIR)/var/opt/csw/svc/manifest/cswzabbix-server.xml
+	ginstall -D -m 0644 $(WORKDIR)/cswzabbix-proxy.xml $(DESTDIR)/var/opt/csw/svc/manifest/cswzabbix-proxy.xml
+	ginstall -D -m 0644 $(WORKDIR)/zabbix_agentd.conf $(DESTDIR)/etc/opt/csw/zabbix_agentd.conf
+	ginstall -D -m 0644 $(WORKDIR)/zabbix_server.conf $(DESTDIR)/etc/opt/csw/zabbix_server.conf
+	ginstall -D -m 0644 $(WORKDIR)/zabbix_proxy.conf $(DESTDIR)/etc/opt/csw/zabbix_proxy.conf
+	@$(MAKECOOKIE)

Deleted: csw/mgar/pkg/zabbix/branches/zabbix24/checksums
===================================================================
--- csw/mgar/pkg/zabbix/trunk/checksums	2015-11-06 11:47:59 UTC (rev 25363)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/checksums	2016-02-16 14:21:51 UTC (rev 25567)
@@ -1 +0,0 @@
-06ad8d5808a0eddf2b9f0a256b6a5fde  zabbix-2.4.6.tar.gz

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/checksums (from rev 25566, csw/mgar/pkg/zabbix/trunk/checksums)
===================================================================
--- csw/mgar/pkg/zabbix/branches/zabbix24/checksums	                        (rev 0)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/checksums	2016-02-16 14:21:51 UTC (rev 25567)
@@ -0,0 +1 @@
+9f8aeb11d8415585f41c3f2f22566b78  zabbix-2.4.7.tar.gz

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/CSWzabbix-agent.cswusergroup (from rev 25368, csw/mgar/pkg/zabbix/trunk/files/CSWzabbix-agent.cswusergroup)
===================================================================
--- csw/mgar/pkg/zabbix/branches/zabbix24/files/CSWzabbix-agent.cswusergroup	                        (rev 0)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/files/CSWzabbix-agent.cswusergroup	2016-02-16 14:21:51 UTC (rev 25567)
@@ -0,0 +1 @@
+zabbix:zabbix:CSW zabbix User:/:/bin/false:::NP

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/cswzabbix-agent.xml (from rev 25366, csw/mgar/pkg/zabbix/trunk/files/cswzabbix-agent.xml)
===================================================================
(Binary files differ)

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/cswzabbix-proxy.xml (from rev 25368, csw/mgar/pkg/zabbix/trunk/files/cswzabbix-proxy.xml)
===================================================================
(Binary files differ)

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/cswzabbix-server.xml (from rev 25368, csw/mgar/pkg/zabbix/trunk/files/cswzabbix-server.xml)
===================================================================
(Binary files differ)

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_agentd.conf (from rev 25369, csw/mgar/pkg/zabbix/trunk/files/zabbix_agentd.conf)
===================================================================
--- csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_agentd.conf	                        (rev 0)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_agentd.conf	2016-02-16 14:21:51 UTC (rev 25567)
@@ -0,0 +1,294 @@
+# This is a config file for the Zabbix agent daemon (Unix)
+# To get more information about Zabbix, visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+### Option: PidFile
+#	Name of PID file.
+#
+# Mandatory: no
+# Default:
+PidFile=/var/tmp/zabbix_agentd.pid
+
+### Option: LogFile
+#	Name of log file.
+#	If not set, syslog is used.
+#
+# Mandatory: no
+# Default:
+# LogFile=
+
+LogFile=/var/tmp/zabbix_agentd.log
+
+### Option: LogFileSize
+#	Maximum size of log file in MB.
+#	0 - disable automatic log rotation.
+#
+# Mandatory: no
+# Range: 0-1024
+# Default:
+# LogFileSize=1
+
+### Option: DebugLevel
+#	Specifies debug level
+#	0 - basic information about starting and stopping of Zabbix processes
+#	1 - critical information
+#	2 - error information
+#	3 - warnings
+#	4 - for debugging (produces lots of information)
+#
+# Mandatory: no
+# Range: 0-4
+# Default:
+# DebugLevel=3
+
+### Option: SourceIP
+#	Source IP address for outgoing connections.
+#
+# Mandatory: no
+# Default:
+# SourceIP=
+
+### Option: EnableRemoteCommands
+#	Whether remote commands from Zabbix server are allowed.
+#	0 - not allowed
+#	1 - allowed
+#
+# Mandatory: no
+# Default:
+# EnableRemoteCommands=0
+
+### Option: LogRemoteCommands
+#	Enable logging of executed shell commands as warnings.
+#	0 - disabled
+#	1 - enabled
+#
+# Mandatory: no
+# Default:
+# LogRemoteCommands=0
+
+##### Passive checks related
+
+### Option: Server
+#	List of comma delimited IP addresses (or hostnames) of Zabbix servers.
+#	Incoming connections will be accepted only from the hosts listed here.
+#	If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally.
+#
+# Mandatory: no
+# Default:
+# Server=
+
+Server=127.0.0.1
+
+### Option: ListenPort
+#	Agent will listen on this port for connections from the server.
+#
+# Mandatory: no
+# Range: 1024-32767
+# Default:
+# ListenPort=10050
+
+### Option: ListenIP
+#	List of comma delimited IP addresses that the agent should listen on.
+#	First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
+#
+# Mandatory: no
+# Default:
+# ListenIP=0.0.0.0
+
+### Option: StartAgents
+#	Number of pre-forked instances of zabbix_agentd that process passive checks.
+#	If set to 0, disables passive checks and the agent will not listen on any TCP port.
+#
+# Mandatory: no
+# Range: 0-100
+# Default:
+# StartAgents=3
+
+##### Active checks related
+
+### Option: ServerActive
+#	List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks.
+#	If port is not specified, default port is used.
+#	IPv6 addresses must be enclosed in square brackets if port for that host is specified.
+#	If port is not specified, square brackets for IPv6 addresses are optional.
+#	If this parameter is not specified, active checks are disabled.
+#	Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
+#
+# Mandatory: no
+# Default:
+# ServerActive=
+
+ServerActive=127.0.0.1
+
+### Option: Hostname
+#	Unique, case sensitive hostname.
+#	Required for active checks and must match hostname as configured on the server.
+#	Value is acquired from HostnameItem if undefined.
+#
+# Mandatory: no
+# Default:
+# Hostname=
+
+Hostname=
+
+### Option: HostnameItem
+#	Item used for generating Hostname if it is undefined. Ignored if Hostname is defined.
+#	Does not support UserParameters or aliases.
+#
+# Mandatory: no
+# Default:
+# HostnameItem=system.hostname
+
+### Option: HostMetadata
+#	Optional parameter that defines host metadata.
+#	Host metadata is used at host auto-registration process.
+#	An agent will issue an error and not start if the value is over limit of 255 characters.
+#	If not defined, value will be acquired from HostMetadataItem.
+#
+# Mandatory: no
+# Range: 0-255 characters
+# Default:
+# HostMetadata=
+
+### Option: HostMetadataItem
+#	Optional parameter that defines an item used for getting host metadata.
+#	Host metadata is used at host auto-registration process.
+#	During an auto-registration request an agent will log a warning message if
+#	the value returned by specified item is over limit of 255 characters.
+#	This option is only used when HostMetadata is not defined.
+#
+# Mandatory: no
+# Default:
+# HostMetadataItem=
+
+### Option: RefreshActiveChecks
+#	How often list of active checks is refreshed, in seconds.
+#
+# Mandatory: no
+# Range: 60-3600
+# Default:
+# RefreshActiveChecks=120
+
+### Option: BufferSend
+#	Do not keep data longer than N seconds in buffer.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# BufferSend=5
+
+### Option: BufferSize
+#	Maximum number of values in a memory buffer. The agent will send
+#	all collected data to Zabbix Server or Proxy if the buffer is full.
+#
+# Mandatory: no
+# Range: 2-65535
+# Default:
+# BufferSize=100
+
+### Option: MaxLinesPerSecond
+#	Maximum number of new lines the agent will send per second to Zabbix Server
+#	or Proxy processing 'log' and 'logrt' active checks.
+#	The provided value will be overridden by the parameter 'maxlines',
+#	provided in 'log' or 'logrt' item keys.
+#
+# Mandatory: no
+# Range: 1-1000
+# Default:
+# MaxLinesPerSecond=100
+
+############ ADVANCED PARAMETERS #################
+
+### Option: Alias
+#	Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
+#	Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
+#	Different Alias keys may reference the same item key.
+#	For example, to retrieve the ID of user 'zabbix':
+#	Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.:([0-9]+),,,,\1]
+#	Now shorthand key zabbix.userid may be used to retrieve data.
+#	Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
+#
+# Mandatory: no
+# Range:
+# Default:
+
+### Option: Timeout
+#	Spend no more than Timeout seconds on processing
+#
+# Mandatory: no
+# Range: 1-30
+# Default:
+# Timeout=3
+
+### Option: AllowRoot
+#	Allow the agent to run as 'root'. If disabled and the agent is started by 'root', the agent
+#	will try to switch to the user specified by the User configuration option instead.
+#	Has no effect if started under a regular user.
+#	0 - do not allow
+#	1 - allow
+#
+# Mandatory: no
+# Default:
+# AllowRoot=0
+
+### Option: User
+#	Drop privileges to a specific, existing user on the system.
+#	Only has effect if run as 'root' and AllowRoot is disabled.
+#
+# Mandatory: no
+# Default:
+# User=zabbix
+
+### Option: Include
+#	You may include individual files or all files in a directory in the configuration file.
+#	Installing Zabbix will create include directory in /etc/opt/csw, unless modified during the compile time.
+#
+# Mandatory: no
+# Default:
+# Include=
+
+# Include=/etc/opt/csw/zabbix_agentd.userparams.conf
+# Include=/etc/opt/csw/zabbix_agentd.conf.d/
+# Include=/etc/opt/csw/zabbix_agentd.conf.d/*.conf
+
+####### USER-DEFINED MONITORED PARAMETERS #######
+
+### Option: UnsafeUserParameters
+#	Allow all characters to be passed in arguments to user-defined parameters.
+#	0 - do not allow
+#	1 - allow
+#
+# Mandatory: no
+# Range: 0-1
+# Default:
+# UnsafeUserParameters=0
+
+### Option: UserParameter
+#	User-defined parameter to monitor. There can be several user-defined parameters.
+#	Format: UserParameter=<key>,<shell command>
+#	See 'zabbix_agentd' directory for examples.
+#
+# Mandatory: no
+# Default:
+# UserParameter=
+
+####### LOADABLE MODULES #######
+
+### Option: LoadModulePath
+#	Full path to location of agent modules.
+#	Default depends on compilation options.
+#
+# Mandatory: no
+# Default:
+# LoadModulePath=${libdir}/modules
+
+### Option: LoadModule
+#	Module to load at agent startup. Modules are used to extend functionality of the agent.
+#	Format: LoadModule=<module.so>
+#	The modules must be located in directory specified by LoadModulePath.
+#	It is allowed to include multiple LoadModule parameters.
+#
+# Mandatory: no
+# Default:
+# LoadModule=

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_proxy.conf (from rev 25369, csw/mgar/pkg/zabbix/trunk/files/zabbix_proxy.conf)
===================================================================
--- csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_proxy.conf	                        (rev 0)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_proxy.conf	2016-02-16 14:21:51 UTC (rev 25567)
@@ -0,0 +1,575 @@
+# This is a configuration file for Zabbix Proxy process
+# To get more information about Zabbix,
+# visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+### Option: ProxyMode
+#	Proxy operating mode
+#	0 - proxy in the active mode
+#	1 - proxy in the passive mode
+#
+# Mandatory: no
+# Default:
+# ProxyMode=0
+
+### Option: Server
+#	IP address (or hostname) of Zabbix server.
+#	Active proxy will get configuration data from the server.
+#	For a proxy in the passive mode this parameter will be ignored.
+#
+# Mandatory: yes (if ProxyMode is set to 0)
+# Default:
+# Server=
+
+Server=127.0.0.1
+
+### Option: ServerPort
+#	Port of Zabbix trapper on Zabbix server.
+#	For a proxy in the passive mode this parameter will be ignored.
+#
+# Mandatory: no
+# Range: 1024-32767
+# Default:
+# ServerPort=10051
+
+### Option: Hostname
+#	Unique, case sensitive Proxy name. Make sure the Proxy name is known to the server!
+#	Value is acquired from HostnameItem if undefined.
+#
+# Mandatory: no
+# Default:
+# Hostname=
+
+Hostname=
+
+### Option: HostnameItem
+#	Item used for generating Hostname if it is undefined.
+#	Ignored if Hostname is defined.
+#
+# Mandatory: no
+# Default:
+# HostnameItem=system.hostname
+
+### Option: ListenPort
+#	Listen port for trapper.
+#
+# Mandatory: no
+# Range: 1024-32767
+# Default:
+# ListenPort=10051
+
+### Option: SourceIP
+#	Source IP address for outgoing connections.
+#
+# Mandatory: no
+# Default:
+# SourceIP=
+
+### Option: LogFile
+#	Name of log file.
+#	If not set, syslog is used.
+#
+# Mandatory: no
+# Default:
+# LogFile=
+
+LogFile=/var/tmp/zabbix_proxy.log
+
+### Option: LogFileSize
+#	Maximum size of log file in MB.
+#	0 - disable automatic log rotation.
+#
+# Mandatory: no
+# Range: 0-1024
+# Default:
+# LogFileSize=1
+
+### Option: DebugLevel
+#	Specifies debug level
+#	0 - basic information about starting and stopping of Zabbix processes
+#	1 - critical information
+#	2 - error information
+#	3 - warnings
+#	4 - for debugging (produces lots of information)
+#
+# Mandatory: no
+# Range: 0-4
+# Default:
+# DebugLevel=3
+
+### Option: PidFile
+#	Name of PID file.
+#
+# Mandatory: no
+# Default:
+PidFile=/var/tmp/zabbix_proxy.pid
+
+### Option: DBHost
+#	Database host name.
+#	If set to localhost, socket is used for MySQL.
+#	If set to empty string, socket is used for PostgreSQL.
+#
+# Mandatory: no
+# Default:
+# DBHost=localhost
+
+### Option: DBName
+#	Database name.
+#	For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
+#	Warning: do not attempt to use the same database Zabbix server is using.
+#
+# Mandatory: yes
+# Default:
+# DBName=
+
+DBName=zabbix_proxy
+
+### Option: DBSchema
+#	Schema name. Used for IBM DB2 and PostgreSQL.
+#
+# Mandatory: no
+# Default:
+# DBSchema=
+
+### Option: DBUser
+#	Database user. Ignored for SQLite.
+#
+# Default:
+# DBUser=
+
+DBUser=root
+
+### Option: DBPassword
+#	Database password. Ignored for SQLite.
+#	Comment this line if no password is used.
+#
+# Mandatory: no
+# Default:
+# DBPassword=
+
+### Option: DBSocket
+#	Path to MySQL socket.
+#
+# Mandatory: no
+# Default:
+# DBSocket=/tmp/mysql.sock
+
+# Option: DBPort
+#	Database port when not using local socket. Ignored for SQLite.
+#
+# Mandatory: no
+# Default (for MySQL):
+# DBPort=3306
+
+######### PROXY SPECIFIC PARAMETERS #############
+
+### Option: ProxyLocalBuffer
+#	Proxy will keep data locally for N hours, even if the data have already been synced with the server.
+#	This parameter may be used if local data will be used by third party applications.
+#
+# Mandatory: no
+# Range: 0-720
+# Default:
+# ProxyLocalBuffer=0
+
+### Option: ProxyOfflineBuffer
+#	Proxy will keep data for N hours in case if no connectivity with Zabbix Server.
+#	Older data will be lost.
+#
+# Mandatory: no
+# Range: 1-720
+# Default:
+# ProxyOfflineBuffer=1
+
+### Option: HeartbeatFrequency
+#	Frequency of heartbeat messages in seconds.
+#	Used for monitoring availability of Proxy on server side.
+#	0 - heartbeat messages disabled.
+#	For a proxy in the passive mode this parameter will be ignored.
+#
+# Mandatory: no
+# Range: 0-3600
+# Default:
+# HeartbeatFrequency=60
+
+### Option: ConfigFrequency
+#	How often proxy retrieves configuration data from Zabbix Server in seconds.
+#	For a proxy in the passive mode this parameter will be ignored.
+#
+# Mandatory: no
+# Range: 1-3600*24*7
+# Default:
+# ConfigFrequency=3600
+
+### Option: DataSenderFrequency
+#	Proxy will send collected data to the Server every N seconds.
+#	For a proxy in the passive mode this parameter will be ignored.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# DataSenderFrequency=1
+
+############ ADVANCED PARAMETERS ################
+
+### Option: StartPollers
+#	Number of pre-forked instances of pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartPollers=5
+
+### Option: StartIPMIPollers
+#	Number of pre-forked instances of IPMI pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartIPMIPollers=0
+
+### Option: StartPollersUnreachable
+#	Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
+#	At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
+#	are started.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartPollersUnreachable=1
+
+### Option: StartTrappers
+#	Number of pre-forked instances of trappers.
+#	Trappers accept incoming connections from Zabbix sender and active agents.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartTrappers=5
+
+### Option: StartPingers
+#	Number of pre-forked instances of ICMP pingers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartPingers=1
+
+### Option: StartDiscoverers
+#	Number of pre-forked instances of discoverers.
+#
+# Mandatory: no
+# Range: 0-250
+# Default:
+# StartDiscoverers=1
+
+### Option: StartHTTPPollers
+#	Number of pre-forked instances of HTTP pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartHTTPPollers=1
+
+### Option: JavaGateway
+#	IP address (or hostname) of Zabbix Java gateway.
+#	Only required if Java pollers are started.
+#
+# Mandatory: no
+# Default:
+# JavaGateway=
+
+### Option: JavaGatewayPort
+#	Port that Zabbix Java gateway listens on.
+#
+# Mandatory: no
+# Range: 1024-32767
+# Default:
+# JavaGatewayPort=10052
+
+### Option: StartJavaPollers
+#	Number of pre-forked instances of Java pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartJavaPollers=0
+
+### Option: StartVMwareCollectors
+#	Number of pre-forked vmware collector instances.
+#
+# Mandatory: no
+# Range: 0-250
+# Default:
+# StartVMwareCollectors=0
+
+### Option: VMwareFrequency
+#	How often Zabbix will connect to VMware service to obtain a new data.
+#
+# Mandatory: no
+# Range: 10-86400
+# Default:
+# VMwareFrequency=60
+
+### Option: VMwarePerfFrequency
+#	How often Zabbix will connect to VMware service to obtain performance data.
+#
+# Mandatory: no
+# Range: 10-86400
+# Default:
+# VMwarePerfFrequency=60
+
+### Option: VMwareCacheSize
+#	Size of VMware cache, in bytes.
+#	Shared memory size for storing VMware data.
+#	Only used if VMware collectors are started.
+#
+# Mandatory: no
+# Range: 256K-2G
+# Default:
+# VMwareCacheSize=8M
+
+### Option: VMwareTimeout
+#	Specifies how many seconds vmware collector waits for response from VMware service.
+#
+# Mandatory: no
+# Range: 1-300
+# Default:
+# VMwareTimeout=10
+
+### Option: SNMPTrapperFile
+#	Temporary file used for passing data from SNMP trap daemon to the proxy.
+#	Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
+#
+# Mandatory: no
+# Default:
+# SNMPTrapperFile=/tmp/zabbix_traps.tmp
+
+### Option: StartSNMPTrapper
+#	If 1, SNMP trapper process is started.
+#
+# Mandatory: no
+# Range: 0-1
+# Default:
+# StartSNMPTrapper=0
+
+### Option: ListenIP
+#	List of comma delimited IP addresses that the trapper should listen on.
+#	Trapper will listen on all network interfaces if this parameter is missing.
+#
+# Mandatory: no
+# Default:
+# ListenIP=0.0.0.0
+
+### Option: HousekeepingFrequency
+#	How often Zabbix will perform housekeeping procedure (in hours).
+#	Housekeeping is removing outdated information from the database.
+#	To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
+#	hours of outdated information are deleted in one housekeeping cycle.
+#	To lower load on proxy startup housekeeping is postponed for 30 minutes after proxy start.
+#
+# Mandatory: no
+# Range: 1-24
+# Default:
+# HousekeepingFrequency=1
+
+### Option: CacheSize
+#	Size of configuration cache, in bytes.
+#	Shared memory size, for storing hosts and items data.
+#
+# Mandatory: no
+# Range: 128K-8G
+# Default:
+# CacheSize=8M
+
+### Option: StartDBSyncers
+#	Number of pre-forked instances of DB Syncers
+#
+# Mandatory: no
+# Range: 1-100
+# Default:
+# StartDBSyncers=4
+
+### Option: HistoryCacheSize
+#	Size of history cache, in bytes.
+#	Shared memory size for storing history data.
+#
+# Mandatory: no
+# Range: 128K-2G
+# Default:
+# HistoryCacheSize=8M
+
+### Option: HistoryTextCacheSize
+#	Size of text history cache, in bytes.
+#	Shared memory size for storing character, text or log history data.
+#
+# Mandatory: no
+# Range: 128K-2G
+# Default:
+# HistoryTextCacheSize=16M
+
+### Option: Timeout
+#	Specifies how long we wait for agent, SNMP device or external check (in seconds).
+#
+# Mandatory: no
+# Range: 1-30
+# Default:
+# Timeout=3
+
+### Option: TrapperTimeout
+#	Specifies how many seconds trapper may spend processing new data.
+#
+# Mandatory: no
+# Range: 1-300
+# Default:
+# TrapperTimeout=300
+
+### Option: UnreachablePeriod
+#	After how many seconds of unreachability treat a host as unavailable.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# UnreachablePeriod=45
+
+### Option: UnavailableDelay
+#	How often host is checked for availability during the unavailability period, in seconds.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# UnavailableDelay=60
+
+### Option: UnreachableDelay
+#	How often host is checked for availability during the unreachability period, in seconds.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# UnreachableDelay=15
+
+### Option: ExternalScripts
+#	Full path to location of external scripts.
+#	Default depends on compilation options.
+#
+# Mandatory: no
+# Default:
+# ExternalScripts=${datadir}/zabbix/externalscripts
+
+### Option: FpingLocation
+#	Location of fping.
+#	Make sure that fping binary has root ownership and SUID flag set.
+#
+# Mandatory: no
+# Default:
+# FpingLocation=/usr/sbin/fping
+
+### Option: Fping6Location
+#	Location of fping6.
+#	Make sure that fping6 binary has root ownership and SUID flag set.
+#	Make empty if your fping utility is capable to process IPv6 addresses.
+#
+# Mandatory: no
+# Default:
+# Fping6Location=/usr/sbin/fping6
+
+### Option: SSHKeyLocation
+#	Location of public and private keys for SSH checks and actions.
+#
+# Mandatory: no
+# Default:
+# SSHKeyLocation=
+
+### Option: LogSlowQueries
+#	How long a database query may take before being logged (in milliseconds).
+#	Only works if DebugLevel set to 3 or 4.
+#	0 - don't log slow queries.
+#
+# Mandatory: no
+# Range: 1-3600000
+# Default:
+# LogSlowQueries=0
+
+### Option: TmpDir
+#	Temporary directory.
+#
+# Mandatory: no
+# Default:
+# TmpDir=/tmp
+
+### Option: AllowRoot
+#	Allow the proxy to run as 'root'. If disabled and the proxy is started by 'root', the proxy
+#	will try to switch to the user specified by the User configuration option instead.
+#	Has no effect if started under a regular user.
+#	0 - do not allow
+#	1 - allow
+#
+# Mandatory: no
+# Default:
+# AllowRoot=0
+
+### Option: User
+#	Drop privileges to a specific, existing user on the system.
+#	Only has effect if run as 'root' and AllowRoot is disabled.
+#
+# Mandatory: no
+# Default:
+# User=zabbix
+
+### Option: Include
+#	You may include individual files or all files in a directory in the configuration file.
+#	Installing Zabbix will create include directory in /etc/opt/csw, unless modified during the compile time.
+#
+# Mandatory: no
+# Default:
+# Include=
+
+# Include=/etc/opt/csw/zabbix_proxy.general.conf
+# Include=/etc/opt/csw/zabbix_proxy.conf.d/
+# Include=/etc/opt/csw/zabbix_proxy.conf.d/*.conf
+
+### Option: SSLCertLocation
+#	Location of SSL client certificates.
+#	This parameter is used only in web monitoring.
+#
+# Mandatory: no
+# Default:
+# SSLCertLocation=${datadir}/zabbix/ssl/certs
+
+### Option: SSLKeyLocation
+#	Location of private keys for SSL client certificates.
+#	This parameter is used only in web monitoring.
+#
+# Mandatory: no
+# Default:
+# SSLKeyLocation=${datadir}/zabbix/ssl/keys
+
+### Option: SSLCALocation
+#	Location of certificate authority (CA) files for SSL server certificate verification.
+#	If not set, system-wide directory will be used.
+#	This parameter is used only in web monitoring.
+#
+# Mandatory: no
+# Default:
+# SSLCALocation=
+
+####### LOADABLE MODULES #######
+
+### Option: LoadModulePath
+#	Full path to location of proxy modules.
+#	Default depends on compilation options.
+#
+# Mandatory: no
+# Default:
+# LoadModulePath=${libdir}/modules
+
+### Option: LoadModule
+#	Module to load at proxy startup. Modules are used to extend functionality of the proxy.
+#	Format: LoadModule=<module.so>
+#	The modules must be located in directory specified by LoadModulePath.
+#	It is allowed to include multiple LoadModule parameters.
+#
+# Mandatory: no
+# Default:
+# LoadModule=

Copied: csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_server.conf (from rev 25369, csw/mgar/pkg/zabbix/trunk/files/zabbix_server.conf)
===================================================================
--- csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_server.conf	                        (rev 0)
+++ csw/mgar/pkg/zabbix/branches/zabbix24/files/zabbix_server.conf	2016-02-16 14:21:51 UTC (rev 25567)
@@ -0,0 +1,576 @@
+# This is a configuration file for Zabbix Server process
+# To get more information about Zabbix,
+# visit http://www.zabbix.com
+
+############ GENERAL PARAMETERS #################
+
+### Option: ListenPort
+#	Listen port for trapper.
+#
+# Mandatory: no
+# Range: 1024-32767
+# Default:
+# ListenPort=10051
+
+### Option: SourceIP
+#	Source IP address for outgoing connections.
+#
+# Mandatory: no
+# Default:
+# SourceIP=
+
+### Option: LogFile
+#	Name of log file.
+#	If not set, syslog is used.
+#
+# Mandatory: no
+# Default:
+# LogFile=
+
+LogFile=/var/tmp/zabbix_server.log
+
+### Option: LogFileSize
+#	Maximum size of log file in MB.
+#	0 - disable automatic log rotation.
+#
+# Mandatory: no
+# Range: 0-1024
+# Default:
+# LogFileSize=1
+
+### Option: DebugLevel
+#	Specifies debug level
+#	0 - basic information about starting and stopping of Zabbix processes
+#	1 - critical information
+#	2 - error information
+#	3 - warnings
+#	4 - for debugging (produces lots of information)
+#
+# Mandatory: no
+# Range: 0-4
+# Default:
+# DebugLevel=3
+
+### Option: PidFile
+#	Name of PID file.
+#
+# Mandatory: no
+# Default:
+PidFile=/var/tmp/zabbix_server.pid
+
+### Option: DBHost
+#	Database host name.
+#	If set to localhost, socket is used for MySQL.
+#	If set to empty string, socket is used for PostgreSQL.
+#
+# Mandatory: no
+# Default:
+# DBHost=localhost
+
+### Option: DBName
+#	Database name.
+#	For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
+#
+# Mandatory: yes
+# Default:
+# DBName=
+
+DBName=zabbix
+
+### Option: DBSchema
+#	Schema name. Used for IBM DB2 and PostgreSQL.
+#
+# Mandatory: no
+# Default:
+# DBSchema=
+
+### Option: DBUser
+#	Database user. Ignored for SQLite.
+#
+# Mandatory: no
+# Default:
+# DBUser=
+
+DBUser=root
+
+### Option: DBPassword
+#	Database password. Ignored for SQLite.
+#	Comment this line if no password is used.
+#
+# Mandatory: no
+# Default:
+# DBPassword=
+
+### Option: DBSocket
+#	Path to MySQL socket.
+#
+# Mandatory: no
+# Default:
+# DBSocket=/tmp/mysql.sock
+
+### Option: DBPort
+#	Database port when not using local socket. Ignored for SQLite.
+#
+# Mandatory: no
+# Range: 1024-65535
+# Default (for MySQL):
+# DBPort=3306
+
+############ ADVANCED PARAMETERS ################
+
+### Option: StartPollers
+#	Number of pre-forked instances of pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartPollers=5
+
+### Option: StartIPMIPollers
+#	Number of pre-forked instances of IPMI pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartIPMIPollers=0
+
+### Option: StartPollersUnreachable
+#	Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
+#	At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
+#	are started.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartPollersUnreachable=1
+
+### Option: StartTrappers
+#	Number of pre-forked instances of trappers.
+#	Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
+#	At least one trapper process must be running to display server availability and view queue
+#	in the frontend.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartTrappers=5
+
+### Option: StartPingers
+#	Number of pre-forked instances of ICMP pingers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartPingers=1
+
+### Option: StartDiscoverers
+#	Number of pre-forked instances of discoverers.
+#
+# Mandatory: no
+# Range: 0-250
+# Default:
+# StartDiscoverers=1
+
+### Option: StartHTTPPollers
+#	Number of pre-forked instances of HTTP pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartHTTPPollers=1
+
+### Option: StartTimers
+#	Number of pre-forked instances of timers.
+#	Timers process time-based trigger functions and maintenance periods.
+#	Only the first timer process handles the maintenance periods.
+#
+# Mandatory: no
+# Range: 1-1000
+# Default:
+# StartTimers=1
+
+### Option: JavaGateway
+#	IP address (or hostname) of Zabbix Java gateway.
+#	Only required if Java pollers are started.
+#
+# Mandatory: no
+# Default:
+# JavaGateway=
+
+### Option: JavaGatewayPort
+#	Port that Zabbix Java gateway listens on.
+#
+# Mandatory: no
+# Range: 1024-32767
+# Default:
+# JavaGatewayPort=10052
+
+### Option: StartJavaPollers
+#	Number of pre-forked instances of Java pollers.
+#
+# Mandatory: no
+# Range: 0-1000
+# Default:
+# StartJavaPollers=0
+
+### Option: StartVMwareCollectors
+#	Number of pre-forked vmware collector instances.
+#
+# Mandatory: no
+# Range: 0-250
+# Default:
+# StartVMwareCollectors=0
+
+### Option: VMwareFrequency
+#	How often Zabbix will connect to VMware service to obtain a new data.
+#
+# Mandatory: no
+# Range: 10-86400
+# Default:
+# VMwareFrequency=60
+
+### Option: VMwarePerfFrequency
+#	How often Zabbix will connect to VMware service to obtain performance data.
+#
+# Mandatory: no
+# Range: 10-86400
+# Default:
+# VMwarePerfFrequency=60
+
+### Option: VMwareCacheSize
+#	Size of VMware cache, in bytes.
+#	Shared memory size for storing VMware data.
+#	Only used if VMware collectors are started.
+#
+# Mandatory: no
+# Range: 256K-2G
+# Default:
+# VMwareCacheSize=8M
+
+### Option: VMwareTimeout
+#	Specifies how many seconds vmware collector waits for response from VMware service.
+#
+# Mandatory: no
+# Range: 1-300
+# Default:
+# VMwareTimeout=10
+
+### Option: SNMPTrapperFile
+#	Temporary file used for passing data from SNMP trap daemon to the server.
+#	Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.
+#
+# Mandatory: no
+# Default:
+# SNMPTrapperFile=/tmp/zabbix_traps.tmp
+
+### Option: StartSNMPTrapper
+#	If 1, SNMP trapper process is started.
+#
+# Mandatory: no
+# Range: 0-1
+# Default:
+# StartSNMPTrapper=0
+
+### Option: ListenIP
+#	List of comma delimited IP addresses that the trapper should listen on.
+#	Trapper will listen on all network interfaces if this parameter is missing.
+#
+# Mandatory: no
+# Default:
+# ListenIP=0.0.0.0
+
+# ListenIP=127.0.0.1
+
+### Option: HousekeepingFrequency
+#	How often Zabbix will perform housekeeping procedure (in hours).
+#	Housekeeping is removing outdated information from the database.
+#	To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
+#	hours of outdated information are deleted in one housekeeping cycle, for each item.
+#	To lower load on server startup housekeeping is postponed for 30 minutes after server start.
+#
+# Mandatory: no
+# Range: 1-24
+# Default:
+# HousekeepingFrequency=1
+
+### Option: MaxHousekeeperDelete
+#	The table "housekeeper" contains "tasks" for housekeeping procedure in the format:
+#	[housekeeperid], [tablename], [field], [value].
+#	No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])
+#	will be deleted per one task in one housekeeping cycle.
+#	SQLite3 does not use this parameter, deletes all corresponding rows without a limit.
+#	If set to 0 then no limit is used at all. In this case you must know what you are doing!
+#
+# Mandatory: no
+# Range: 0-1000000
+# Default:
+# MaxHousekeeperDelete=500
+
+### Option: SenderFrequency
+#	How often Zabbix will try to send unsent alerts (in seconds).
+#
+# Mandatory: no
+# Range: 5-3600
+# Default:
+# SenderFrequency=30
+
+### Option: CacheSize
+#	Size of configuration cache, in bytes.
+#	Shared memory size for storing host, item and trigger data.
+#
+# Mandatory: no
+# Range: 128K-8G
+# Default:
+# CacheSize=8M
+
+### Option: CacheUpdateFrequency
+#	How often Zabbix will perform update of configuration cache, in seconds.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# CacheUpdateFrequency=60
+
+### Option: StartDBSyncers
+#	Number of pre-forked instances of DB Syncers
+#
+# Mandatory: no
+# Range: 1-100
+# Default:
+# StartDBSyncers=4
+
+### Option: HistoryCacheSize
+#	Size of history cache, in bytes.
+#	Shared memory size for storing history data.
+#
+# Mandatory: no
+# Range: 128K-2G
+# Default:
+# HistoryCacheSize=8M
+
+### Option: TrendCacheSize
+#	Size of trend cache, in bytes.
+#	Shared memory size for storing trends data.
+#
+# Mandatory: no
+# Range: 128K-2G
+# Default:
+# TrendCacheSize=4M
+
+### Option: HistoryTextCacheSize
+#	Size of text history cache, in bytes.
+#	Shared memory size for storing character, text or log history data.
+#
+# Mandatory: no
+# Range: 128K-2G
+# Default:
+# HistoryTextCacheSize=16M
+
+### Option: ValueCacheSize
+#	Size of history value cache, in bytes.
+#	Shared memory size for caching item history data requests.
+#	Setting to 0 disables value cache.
+#
+# Mandatory: no
+# Range: 0,128K-64G
+# Default:
+# ValueCacheSize=8M
+
+### Option: Timeout
+#	Specifies how long we wait for agent, SNMP device or external check (in seconds).
+#
+# Mandatory: no
+# Range: 1-30
+# Default:
+# Timeout=3
+
+### Option: TrapperTimeout
+#	Specifies how many seconds trapper may spend processing new data.
+#
+# Mandatory: no
+# Range: 1-300
+# Default:
+# TrapperTimeout=300
+
+### Option: UnreachablePeriod
+#	After how many seconds of unreachability treat a host as unavailable.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# UnreachablePeriod=45
+
+### Option: UnavailableDelay
+#	How often host is checked for availability during the unavailability period, in seconds.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# UnavailableDelay=60
+
+### Option: UnreachableDelay
+#	How often host is checked for availability during the unreachability period, in seconds.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# UnreachableDelay=15
+
+### Option: AlertScriptsPath
+#	Full path to location of custom alert scripts.
+#	Default depends on compilation options.
+#
+# Mandatory: no
+# Default:
+# AlertScriptsPath=${datadir}/zabbix/alertscripts
+
+### Option: ExternalScripts
+#	Full path to location of external scripts.
+#	Default depends on compilation options.
+#
+# Mandatory: no
+# Default:
+# ExternalScripts=${datadir}/zabbix/externalscripts
+
+### Option: FpingLocation
+#	Location of fping.
+#	Make sure that fping binary has root ownership and SUID flag set.
+#
+# Mandatory: no
+# Default:
+# FpingLocation=/usr/sbin/fping
+
+### Option: Fping6Location
+#	Location of fping6.
+#	Make sure that fping6 binary has root ownership and SUID flag set.
+#	Make empty if your fping utility is capable to process IPv6 addresses.
+#
+# Mandatory: no
+# Default:
+# Fping6Location=/usr/sbin/fping6
+
+### Option: SSHKeyLocation
+#	Location of public and private keys for SSH checks and actions.
+#
+# Mandatory: no
+# Default:
+# SSHKeyLocation=
+
+### Option: LogSlowQueries
+#	How long a database query may take before being logged (in milliseconds).
+#	Only works if DebugLevel set to 3 or 4.
+#	0 - don't log slow queries.
+#
+# Mandatory: no
+# Range: 1-3600000
+# Default:
+# LogSlowQueries=0
+
+### Option: TmpDir
+#	Temporary directory.
+#
+# Mandatory: no
+# Default:
+# TmpDir=/tmp
+
+### Option: StartProxyPollers
+#	Number of pre-forked instances of pollers for passive proxies.
+#
+# Mandatory: no
+# Range: 0-250
+# Default:
+# StartProxyPollers=1
+
+### Option: ProxyConfigFrequency
+#	How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.
+#	This parameter is used only for proxies in the passive mode.
+#
+# Mandatory: no
+# Range: 1-3600*24*7
+# Default:
+# ProxyConfigFrequency=3600
+
+### Option: ProxyDataFrequency
+#	How often Zabbix Server requests history data from a Zabbix Proxy in seconds.
+#	This parameter is used only for proxies in the passive mode.
+#
+# Mandatory: no
+# Range: 1-3600
+# Default:
+# ProxyDataFrequency=1
+
+### Option: AllowRoot
+#	Allow the server to run as 'root'. If disabled and the server is started by 'root', the server
+#	will try to switch to the user specified by the User configuration option instead.
+#	Has no effect if started under a regular user.
+#	0 - do not allow
+#	1 - allow
+#
+# Mandatory: no
+# Default:
+# AllowRoot=0
+
+### Option: User
+#	Drop privileges to a specific, existing user on the system.
+#	Only has effect if run as 'root' and AllowRoot is disabled.
+#
+# Mandatory: no
+# Default:
+# User=zabbix
+
+### Option: Include
+#	You may include individual files or all files in a directory in the configuration file.
+#	Installing Zabbix will create include directory in /etc/opt/csw, unless modified during the compile time.
+#
+# Mandatory: no
+# Default:
+# Include=
+
+# Include=/etc/opt/csw/zabbix_server.general.conf
+# Include=/etc/opt/csw/zabbix_server.conf.d/
+# Include=/etc/opt/csw/zabbix_server.conf.d/*.conf
+
+### Option: SSLCertLocation
+#	Location of SSL client certificates.
+#	This parameter is used only in web monitoring.
+#
+# Mandatory: no
+# Default:
+# SSLCertLocation=${datadir}/zabbix/ssl/certs
+
+### Option: SSLKeyLocation
+#	Location of private keys for SSL client certificates.
+#	This parameter is used only in web monitoring.
+#
+# Mandatory: no
+# Default:
+# SSLKeyLocation=${datadir}/zabbix/ssl/keys
+
+### Option: SSLCALocation
+#	Override the location of certificate authority (CA) files for SSL server certificate verification.
+#	If not set, system-wide directory will be used.
+#	This parameter is used only in web monitoring.
+#
+# Mandatory: no
+# Default:
+# SSLCALocation=
+
+####### LOADABLE MODULES #######
+
+### Option: LoadModulePath
+#	Full path to location of server modules.
+#	Default depends on compilation options.
+#
+# Mandatory: no
+# Default:
+# LoadModulePath=${libdir}/modules
+
+### Option: LoadModule
+#	Module to load at server startup. Modules are used to extend functionality of the server.
+#	Format: LoadModule=<module.so>
+#	The modules must be located in directory specified by LoadModulePath.
+#	It is allowed to include multiple LoadModule parameters.
+#
+# Mandatory: no
+# Default:
+# LoadModule=

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list