import zabbix 1.6.4

ZABBIX is an enterprise-class open source distributed monitoring
solution designed to monitor and track performance and availability of
network servers, devices and other IT resources. It supports distributed
and WEB monitoring, and more.

based on original work by bernd@
ok ajacoutot@
This commit is contained in:
jasper 2009-04-22 15:03:52 +00:00
parent bd925f1f01
commit 015d3aad3a
10 changed files with 518 additions and 0 deletions

82
net/zabbix/Makefile Normal file
View File

@ -0,0 +1,82 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/04/22 15:03:52 jasper Exp $
COMMENT-main = network and application monitoring - agent
COMMENT-server = network and application monitoring - server
COMMENT-web = network and application monitoring - web frontend
VERSION = 1.6.4
DISTNAME = zabbix-${VERSION}
PKGNAME-main = zabbix-agent-${VERSION}
PKGNAME-server = zabbix-server-${VERSION}
PKGNAME-web = zabbix-web-${VERSION}
CATEGORIES = net
HOMEPAGE = http://www.zabbix.com/
# GPLv2
# Manual: - free for translation, if original content stays the same
# - printed copies for personal use allowed
# - all other uses need to be agreed upon with Zabbix Company
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=zabbix/}
MULTI_PACKAGES = -server -main -web
WANTLIB = c kvm m
LIB_DEPENDS = lber,ldap::databases/openldap
LIB_DEPENDS-server = ${LIB_DEPENDS} \
curl::net/curl \
netsnmp::net/net-snmp \
mysqlclient::databases/mysql
RUN_DEPENDS-server = ::net/fping
WANTLIB-web =
LIB_DEPENDS-web =
RUN_DEPENDS-web = ::www/php5/extensions,-mysql
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-server \
--enable-agent \
--enable-proxy \
--enable-ipv6 \
--with-mysql \
--with-libcurl \
--with-net-snmp \
--with-ldap
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PREFIX-web = /var/www
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX-web}/zabbix
cd ${WRKBUILD}/frontends/php && tar -cf - . | \
tar -C ${DESTDIR}${PREFIX-web}/zabbix -xf -
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zabbix
${INSTALL_DATA} "${WRKBUILD}/docs/ZABBIX Manual v1.6 rev 17.pdf" \
${PREFIX}/share/doc/zabbix/ZABBIX_Manual_v1.6_rev17.pdf
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/schema
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/data
${INSTALL_DATA_DIR} ${PREFIX}/share/zabbix/data/images
${INSTALL_DATA} ${WRKBUILD}/create/schema/*.sql \
${PREFIX}/share/zabbix/schema
${INSTALL_DATA} ${WRKBUILD}/create/data/*.sql \
${PREFIX}/share/zabbix/data
${INSTALL_DATA} ${WRKBUILD}/create/data/images/*.png \
${PREFIX}/share/zabbix/data/images
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/zabbix
${INSTALL_DATA} ${WRKBUILD}/misc/conf/*.conf \
${PREFIX}/share/examples/zabbix
# Script to easy upgrading from previous major version
cd ${WRKSRC}/upgrades/ && tar -cf - dbpatches | \
tar -C ${PREFIX}/share/zabbix -xf -
MAJOR = ${VERSION:R}
SUBST_VARS = MAJOR
.include <bsd.port.mk>

5
net/zabbix/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (zabbix-1.6.4.tar.gz) = 4eFfOrnywOyeb94UWlo7bg==
RMD160 (zabbix-1.6.4.tar.gz) = 14CK91aQkutMVoF7M0vXr8orY1Y=
SHA1 (zabbix-1.6.4.tar.gz) = fscmlXSgxAmeXfC2DFD3r82J2wo=
SHA256 (zabbix-1.6.4.tar.gz) = FgCdIpCPK7axNeeXJgfv2eS8Y2P01NnGiw3jhOQdxc0=
SIZE (zabbix-1.6.4.tar.gz) = 8326175

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-configure,v 1.1.1.1 2009/04/22 15:03:52 jasper Exp $
--- configure.orig Wed Apr 22 15:48:20 2009
+++ configure Wed Apr 22 15:48:52 2009
@@ -580,6 +580,9 @@ ac_unique_file="src/zabbix_server/server.c"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
+#include <sys/socket.h>
+#include <sys/param.h>
+#include <netinet/in.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_libs_zbxsysinfo_openbsd_net_c,v 1.1.1.1 2009/04/22 15:03:52 jasper Exp $
--- src/libs/zbxsysinfo/openbsd/net.c.orig Wed Apr 22 15:56:31 2009
+++ src/libs/zbxsysinfo/openbsd/net.c Wed Apr 22 16:03:55 2009
@@ -21,6 +21,8 @@
#include "sysinfo.h"
+#define N_UNDF 0x00 /* undefined */
+
static struct nlist kernel_symbols[] =
{
{"_ifnet", N_UNDF, 0, 0, 0},

View File

@ -0,0 +1,6 @@
ZABBIX is an enterprise-class open source distributed monitoring
solution designed to monitor and track performance and availability of
network servers, devices and other IT resources. It supports distributed
and WEB monitoring, and more.
This package contains the monitoring agent for ZABBIX.

View File

@ -0,0 +1,6 @@
ZABBIX is an enterprise-class open source distributed monitoring
solution designed to monitor and track performance and availability of
network servers, devices and other IT resources. It supports distributed
and WEB monitoring, and more.
This package contains the ZABBIX server parts.

6
net/zabbix/pkg/DESCR-web Normal file
View File

@ -0,0 +1,6 @@
ZABBIX is an enterprise-class open source distributed monitoring
solution designed to monitor and track performance and availability of
network servers, devices and other IT resources. It supports distributed
and WEB monitoring, and more.
This package contains the PHP web frontend for ZABBIX.

11
net/zabbix/pkg/PLIST-main Normal file
View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2009/04/22 15:03:52 jasper Exp $
@bin sbin/zabbix_agent
@bin sbin/zabbix_agentd
@bin sbin/zabbix_get
@bin sbin/zabbix_sender
share/examples/zabbix/
@sample ${SYSCONFDIR}/zabbix/
share/examples/zabbix/zabbix_agent.conf
@sample ${SYSCONFDIR}/zabbix/zabbix_agent.conf
share/examples/zabbix/zabbix_agentd.conf
@sample ${SYSCONFDIR}/zabbix/zabbix_agentd.conf

View File

@ -0,0 +1,54 @@
@comment $OpenBSD: PLIST-server,v 1.1.1.1 2009/04/22 15:03:52 jasper Exp $
@bin sbin/zabbix_proxy
@bin sbin/zabbix_server
share/doc/zabbix/
share/doc/zabbix/ZABBIX_Manual_v${MAJOR}_rev17.pdf
share/examples/zabbix/
@sample ${SYSCONFDIR}/zabbix/
share/examples/zabbix/zabbix_proxy.conf
@sample ${SYSCONFDIR}/zabbix/zabbix_proxy.conf
share/examples/zabbix/zabbix_server.conf
@sample ${SYSCONFDIR}/zabbix/zabbix_server.conf
share/examples/zabbix/zabbix_trapper.conf
@sample ${SYSCONFDIR}/zabbix/zabbix_trapper.conf
share/zabbix/
share/zabbix/data/
share/zabbix/data/data.sql
share/zabbix/data/images/
share/zabbix/data/images/Hub.png
share/zabbix/data/images/Hub_small.png
share/zabbix/data/images/Network.png
share/zabbix/data/images/Network_small.png
share/zabbix/data/images/Notebook.png
share/zabbix/data/images/Notebook_small.png
share/zabbix/data/images/Phone.png
share/zabbix/data/images/Phone_small.png
share/zabbix/data/images/Printer.png
share/zabbix/data/images/Printer_small.png
share/zabbix/data/images/Router.png
share/zabbix/data/images/Router_small.png
share/zabbix/data/images/Satellite.png
share/zabbix/data/images/Satellite_small.png
share/zabbix/data/images/Server.png
share/zabbix/data/images/Server_small.png
share/zabbix/data/images/UPS.png
share/zabbix/data/images/UPS_small.png
share/zabbix/data/images/Workstation.png
share/zabbix/data/images/Workstation_small.png
share/zabbix/data/images_mysql.sql
share/zabbix/data/images_oracle.sql
share/zabbix/data/images_pgsql.sql
share/zabbix/data/images_sqlite3.sql
share/zabbix/dbpatches/
share/zabbix/dbpatches/${MAJOR}/
share/zabbix/dbpatches/${MAJOR}/mysql/
share/zabbix/dbpatches/${MAJOR}/mysql/patch.sql
share/zabbix/dbpatches/${MAJOR}/oracle/
share/zabbix/dbpatches/${MAJOR}/oracle/patch.sql
share/zabbix/dbpatches/${MAJOR}/postgresql/
share/zabbix/dbpatches/${MAJOR}/postgresql/patch.sql
share/zabbix/schema/
share/zabbix/schema/mysql.sql
share/zabbix/schema/oracle.sql
share/zabbix/schema/postgresql.sql
share/zabbix/schema/sqlite.sql

323
net/zabbix/pkg/PLIST-web Normal file
View File

@ -0,0 +1,323 @@
@comment $OpenBSD: PLIST-web,v 1.1.1.1 2009/04/22 15:03:52 jasper Exp $
zabbix/
zabbix/acknow.php
zabbix/actionconf.php
zabbix/audio/
zabbix/audio/trigger_off.wav
zabbix/audio/trigger_on.wav
zabbix/audio/trigger_on_average.wav
zabbix/audio/trigger_on_disaster.wav
zabbix/audio/trigger_on_high.wav
zabbix/audio/trigger_on_warning.wav
zabbix/audit.php
zabbix/authentication.php
zabbix/chart.php
zabbix/chart2.php
zabbix/chart3.php
zabbix/chart4.php
zabbix/chart5.php
zabbix/chart6.php
zabbix/chart7.php
zabbix/chart_sla.php
zabbix/charts.php
zabbix/conf/
zabbix/conf/COPYING
zabbix/conf/maintenance.inc.php
zabbix/config.php
zabbix/create/
zabbix/create/data.sql
zabbix/create/mysql.sql
zabbix/css.css
zabbix/dashboard.php
zabbix/discovery.php
zabbix/discoveryconf.php
zabbix/events.php
zabbix/exp_imp.php
zabbix/graphs.php
zabbix/history.php
zabbix/hostprofiles.php
zabbix/hosts.php
zabbix/httpconf.php
zabbix/httpdetails.php
zabbix/httpmon.php
zabbix/image.php
zabbix/images/
zabbix/images/flash/
zabbix/images/flash/zbxclock.swf
zabbix/images/general/
zabbix/images/general/bar/
zabbix/images/general/bar/arrow_down.gif
zabbix/images/general/bar/arrow_l.gif
zabbix/images/general/bar/arrow_r.gif
zabbix/images/general/bar/arrow_sm.gif
zabbix/images/general/bar/arrow_up.gif
zabbix/images/general/bar/bar_bg.gif
zabbix/images/general/bar/bar_left.gif
zabbix/images/general/bar/bar_middle.gif
zabbix/images/general/bar/bar_right.gif
zabbix/images/general/bar/bg.gif
zabbix/images/general/bar/cal.gif
zabbix/images/general/bar/left.gif
zabbix/images/general/bar/right.gif
zabbix/images/general/bttn/
zabbix/images/general/bttn/arrowdown.png
zabbix/images/general/bttn/arrowdown_bb.png
zabbix/images/general/bttn/arrowup.png
zabbix/images/general/bttn/arrowup_bb.png
zabbix/images/general/bttn/down.png
zabbix/images/general/bttn/down_bb.png
zabbix/images/general/bttn/fullscreen.png
zabbix/images/general/bttn/fullscreen_bb.png
zabbix/images/general/bttn/help.png
zabbix/images/general/bttn/help_bb.png
zabbix/images/general/bttn/menu.png
zabbix/images/general/bttn/menu_bb.png
zabbix/images/general/bttn/minus.png
zabbix/images/general/bttn/minus_bb.png
zabbix/images/general/bttn/mute.png
zabbix/images/general/bttn/mute_bb.png
zabbix/images/general/bttn/plus.png
zabbix/images/general/bttn/plus_bb.png
zabbix/images/general/bttn/reset.png
zabbix/images/general/bttn/reset_bb.png
zabbix/images/general/bttn/sound.png
zabbix/images/general/bttn/sound_bb.png
zabbix/images/general/bttn/up.png
zabbix/images/general/bttn/up_bb.png
zabbix/images/general/chart.png
zabbix/images/general/closed.gif
zabbix/images/general/down_icon.png
zabbix/images/general/error_small.gif
zabbix/images/general/help.gif
zabbix/images/general/inst_completed.gif
zabbix/images/general/inst_current.gif
zabbix/images/general/inst_step.gif
zabbix/images/general/opened.gif
zabbix/images/general/sort_downw.gif
zabbix/images/general/sort_upw.gif
zabbix/images/general/sortdown.gif
zabbix/images/general/sortdown_off.gif
zabbix/images/general/sortup.gif
zabbix/images/general/sortup_off.gif
zabbix/images/general/tick.png
zabbix/images/general/tree/
zabbix/images/general/tree/minus.gif
zabbix/images/general/tree/plus.gif
zabbix/images/general/tree/point.gif
zabbix/images/general/tree/pointc.gif
zabbix/images/general/tree/pointl.gif
zabbix/images/general/tree/zero.gif
zabbix/images/general/trigg_dep.gif
zabbix/images/general/trigg_dep.png
zabbix/images/general/up_icon.png
zabbix/images/general/warning16r.gif
zabbix/images/general/warning_small.gif
zabbix/images/general/zabbix.ico
zabbix/images/general/zabbix.png
zabbix/images/general/zabbix_bb.ico
zabbix/images/general/zabbix_bb.png
zabbix/images/general/zabbix_ob.ico
zabbix/images/gradients/
zabbix/images/gradients/blink1.gif
zabbix/images/gradients/blink2.gif
zabbix/images/gradients/button.gif
zabbix/images/gradients/gradient.png
zabbix/images/gradients/menu_not_active.gif
zabbix/images/gradients/menu_not_active_bb.gif
zabbix/images/gradients/table_head.gif
zabbix/images/gradients/table_head2.gif
zabbix/images/gradients/table_head2_bb.gif
zabbix/images/gradients/table_head_bb.gif
zabbix/images/sysmaps/
zabbix/images/sysmaps/Hub.png
zabbix/images/sysmaps/Hub_small.png
zabbix/images/sysmaps/Network.png
zabbix/images/sysmaps/Network_small.png
zabbix/images/sysmaps/Notebook.png
zabbix/images/sysmaps/Notebook_small.png
zabbix/images/sysmaps/Phone.png
zabbix/images/sysmaps/Phone_small.png
zabbix/images/sysmaps/Printer.png
zabbix/images/sysmaps/Printer_small.png
zabbix/images/sysmaps/README
zabbix/images/sysmaps/Router.png
zabbix/images/sysmaps/Router_small.png
zabbix/images/sysmaps/Satellite.png
zabbix/images/sysmaps/Satellite_small.png
zabbix/images/sysmaps/Server.png
zabbix/images/sysmaps/Server_small.png
zabbix/images/sysmaps/UPS.png
zabbix/images/sysmaps/UPS_small.png
zabbix/images/sysmaps/Workstation.png
zabbix/images/sysmaps/Workstation_small.png
zabbix/images/sysmaps/old/
zabbix/images/sysmaps/old/Hub.png
zabbix/images/sysmaps/old/Notebook.png
zabbix/images/sysmaps/old/Printer.png
zabbix/images/sysmaps/old/Router.png
zabbix/images/sysmaps/old/Server.png
zabbix/images/sysmaps/old/Workstation.png
zabbix/include/
zabbix/include/.htaccess
zabbix/include/acknow.inc.php
zabbix/include/actions.inc.php
zabbix/include/audit.inc.php
zabbix/include/blocks.inc.php
zabbix/include/classes/
zabbix/include/classes/.htaccess
zabbix/include/classes/cbutton.inc.php
zabbix/include/classes/ccheckbox.inc.php
zabbix/include/classes/ccolor.inc.php
zabbix/include/classes/ccombobox.inc.php
zabbix/include/classes/cfile.inc.php
zabbix/include/classes/cflash.inc.php
zabbix/include/classes/cflashclock.mod.php
zabbix/include/classes/cform.inc.php
zabbix/include/classes/cformtable.inc.php
zabbix/include/classes/chart.inc.php
zabbix/include/classes/chelp.inc.php
zabbix/include/classes/chostsinfo.mod.php
zabbix/include/classes/ciframe.inc.php
zabbix/include/classes/cimg.inc.php
zabbix/include/classes/cldap.inc.php
zabbix/include/classes/clink.inc.php
zabbix/include/classes/clist.inc.php
zabbix/include/classes/cmap.inc.php
zabbix/include/classes/cpumenu.inc.php
zabbix/include/classes/cscript.inc.php
zabbix/include/classes/cserverinfo.mod.php
zabbix/include/classes/cspan.inc.php
zabbix/include/classes/ctable.inc.php
zabbix/include/classes/ctableinfo.inc.php
zabbix/include/classes/ctag.inc.php
zabbix/include/classes/ctextarea.inc.php
zabbix/include/classes/ctextbox.inc.php
zabbix/include/classes/ctree.inc.php
zabbix/include/classes/ctriggerinfo.mod.php
zabbix/include/classes/curl.inc.php
zabbix/include/classes/cvar.inc.php
zabbix/include/classes/graph.inc.php
zabbix/include/classes/pie.inc.php
zabbix/include/config.inc.php
zabbix/include/copt.lib.php
zabbix/include/db.inc.php
zabbix/include/defines.inc.php
zabbix/include/discovery.inc.php
zabbix/include/events.inc.php
zabbix/include/export.inc.php
zabbix/include/forms.inc.php
zabbix/include/func.inc.php
zabbix/include/graphs.inc.php
zabbix/include/hosts.inc.php
zabbix/include/html.inc.php
zabbix/include/httptest.inc.php
zabbix/include/images.inc.php
zabbix/include/import.inc.php
zabbix/include/items.inc.php
zabbix/include/js.inc.php
zabbix/include/locales/
zabbix/include/locales.inc.php
zabbix/include/locales/cn_zh.inc.php
zabbix/include/locales/de_de.inc.php
zabbix/include/locales/en_gb.inc.php
zabbix/include/locales/fr_fr.inc.php
zabbix/include/locales/hu_hu.inc.php
zabbix/include/locales/it_it.inc.php
zabbix/include/locales/ja_jp.inc.php
zabbix/include/locales/ko_kr.inc.php
zabbix/include/locales/lv_lv.inc.php
zabbix/include/locales/nl_nl.inc.php
zabbix/include/locales/pl_pl.inc.php
zabbix/include/locales/pt_br.inc.php
zabbix/include/locales/ru_ru.inc.php
zabbix/include/locales/sp_sp.inc.php
zabbix/include/locales/sv_se.inc.php
zabbix/include/maps.inc.php
zabbix/include/media.inc.php
zabbix/include/nodes.inc.php
zabbix/include/page_footer.php
zabbix/include/page_header.php
zabbix/include/perm.inc.php
zabbix/include/profiles.inc.php
zabbix/include/reports.inc.php
zabbix/include/screens.inc.php
zabbix/include/scripts.inc.php
zabbix/include/services.inc.php
zabbix/include/setup.inc.php
zabbix/include/triggers.inc.php
zabbix/include/users.inc.php
zabbix/include/validate.inc.php
zabbix/index.php
zabbix/instal.php
zabbix/items.php
zabbix/js/
zabbix/js/ajax_req.js
zabbix/js/calendar.js
zabbix/js/common.js
zabbix/js/gmenu.js
zabbix/js/gpc.js
zabbix/js/graphs.js
zabbix/js/menu.js
zabbix/js/menu_scripts.js
zabbix/js/prototype.js
zabbix/js/sbinit.js
zabbix/js/sbox.js
zabbix/js/scrollbar.js
zabbix/js/services.js
zabbix/js/showhint.js
zabbix/js/tree.js
zabbix/js/updater.js
zabbix/latest.php
zabbix/locales.php
zabbix/map.php
zabbix/maps.php
zabbix/media_types.php
zabbix/nodes.php
zabbix/overview.php
zabbix/popup.php
zabbix/popup_gitem.php
zabbix/popup_httpstep.php
zabbix/popup_link_tr.php
zabbix/popup_media.php
zabbix/popup_right.php
zabbix/popup_trexpr.php
zabbix/popup_users.php
zabbix/popup_usrgrp.php
zabbix/profile.php
zabbix/queue.php
zabbix/report1.php
zabbix/report2.php
zabbix/report3.php
zabbix/report4.php
zabbix/report5.php
zabbix/screenconf.php
zabbix/screenedit.php
zabbix/screens.php
zabbix/scripts.php
zabbix/scripts_exec.php
zabbix/services.php
zabbix/services_form.php
zabbix/setup.php
zabbix/srv_status.php
zabbix/styles/
zabbix/styles/blocks.css
zabbix/styles/calendar.css
zabbix/styles/css_bb.css
zabbix/styles/css_ob.css
zabbix/styles/default.css
zabbix/styles/div.css
zabbix/styles/form.css
zabbix/styles/link.css
zabbix/styles/p.css
zabbix/styles/popupmenu.css
zabbix/styles/table.css
zabbix/styles/ul.css
zabbix/sysmap.php
zabbix/sysmaps.php
zabbix/tr_comments.php
zabbix/tr_events.php
zabbix/tr_status.php
zabbix/triggers.php
zabbix/users.php
zabbix/vtext.php
zabbix/warning.php