zabbix3 (net/zabbix3) Add to my watchlist

An open source application and network monitor

Zabbix is the ultimate open source availability and performance monitoring solution. Zabbix offers advanced monitoring, alerting, and visualization features today which are missing in other monitoring systems, even some of the best commercial ones.

Version: 3.4.15 License: GPL-2 GitHub
Maintainers eborisch
Categories net
Homepage http://www.zabbix.com/
Platforms darwin
Variants
  • full_server ( Adds dependencies a complete server are installed. )
  • mariadb (Use MariaDB for server database)
  • mariadb101 (Use MariaDB 10.1 for server database)
  • mariadb102 (Use MariaDB 10.2 for server database)
  • mysql5 (Use MySQL 5.x for server database)
  • mysql56 (Use MySQL 5.6 for server database)
  • mysql57 (Use MySQL 5.7 for server database)
  • percona (Use Percona for server database)
  • pgsql84 (Use PostgreSQL 8.4.x for server database)
  • pgsql95 (Use PostgreSQL 9.5.x for server database)
  • pgsql96 (Use PostgreSQL 9.6.x for server database)
  • sqlite3 (Use SQLite 3.x for server database)

Subport(s) (1)


"zabbix3" depends on

lib (10)
run (9)
build (1)

Ports that depend on "zabbix3"

No ports


Port notes

#### ####
#### Begin ZABBIX3 local server installation section ####

(Installing with +full_server will add all of the dependants; configuration
will still be required.)

1) Setup MySQL, i.e. via MacPorts: (for local MySQL server)

sudo port install mysql5-server

2) Setup the ZABBIX database

Follow the directions at :

https://www.zabbix.com/documentation/3.4/manual/appendix/install/db_scripts

The *.sql files it refers to are in ${prefix}/share/zabbix/scripts/
** NOTE THAT THESE ARE FOR YOUR SELECTED DATABASE VARIANT!!! **

3) Edit the sample .conf file ${prefix}/etc/zabbix3/zabbix_server.conf
(rename & omit .sample)

Modify these variables at the very least:

DBName=zabbix
DBUser=zabbix
DBPassword=<zabbix-mysql-password>
DBSocket=<location for your active mysql5[15] server socket>
Typically ${prefix}/var/run/mysql[51|55]/mysqld.sock

4) Set a symbolic link in your Apache document root pointing to the PHP
frontend files

sudo ln -s ${prefix}/share/zabbix/frontends/php <Apache-docroot>/zabbix

5) Set zabbix_server to run at system boot (also starts it immediately):

sudo port load zabbix3

!! Note: Your shared memory will likely need to be increased !!
!! ( see http://support.apple.com/kb/HT4022 ) !!

6) A Win32 agent is in ${prefix}/share/zabbix/zabbix_agent_win32 for installation on Windows NT 4.0, Windows 2000, and Windows XP. See the ReadMe.txt for instructions.

7) Enable your desired php version in httpd.conf and make sure the following
are set in the associated php.ini:

max_execution_time = 300
max_input_time = 300
post_max_size = 16M
date.timezone = < Your TZ; see http://php.net/manual/en/timezones.php >

And for php56:
always_populate_raw_post_data = -1

8) Open http://localhost/zabbix/ in your browser and walk through the setup,
then login with default user 'Admin' and password 'zabbix'.

9) Read the fine manual at http://www.zabbix.com/documentation/

#### End ZABBIX3 local server installation section ####
#### ####

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ZABBIX2 -> ZABBIX3 Server Upgrade process !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 0) BACK UP YOUR DATABASE !!
!! !!
!! 1) Be sure to use 'sudo port unload zabbix2' to stop the background !!
!! server before deactivating zabbix2. !!
!! !!
!! 2) Create ${prefix}/etc/zabbix3/zabbix_server.conf !!
!! zabbix_server.conf.sample is available for reference. !!
!! There are new features to consider. !!
!! ** NOTE conf dir is etc/zabbix3 ** !!
!! !!
!! 3) 'sudo port load zabbix3' after installing. !!
!! !!
!! For upgrade procedure, please see !!
!! http://www.zabbix.com/documentation/3.4/manual/installation/upgrade !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ALWAYS BACK UP YOUR DATABASE BEFORE UPGRADING (between unload/load)! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! A startup item has been generated that will aid in starting zabbix3 with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

sudo port load zabbix3


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0