zabbix5 (net/zabbix4) Updated: 1 year, 9 months ago 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. This port provides the central server component.

Version: 5.0.24 License: (GPL-2+ or OpenSSLException) GitHub
Maintainers eborisch
Categories net
Homepage http://www.zabbix.com/
Platforms darwin
Variants
  • frontend (Include frontend PHP files / deps)
  • full_server ( Dependencies for a complete server (w/DB) are installed. )
  • mariadb105 (Use MariaDB 10.5 for server database)
  • mysql57 (Use MySQL 5.7 for server database)
  • percona (Use Percona for server database)
  • pgsql13 (Use PostgreSQL 13.x for server database)

Subport(s) (11)


"zabbix5" depends on

lib (12)
run (2)
build (2)

Ports that depend on "zabbix5"

No ports


Port notes

####
#### Begin ZABBIX5 local server installation section ####

!! LOADING ZABBIX5 WILL *INCREASE* THESE sysctl VALUES TO BE AT LEAST:
kern.sysv.shmall=32768 kern.sysv.shmmax=134217728
This can be adjusted in the file below, but resets after an upgrade:
${prefix}/etc/LaunchDaemons/org.macports.zabbix5-server/zabbix5-server.wrapper

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

1) Setup your SQL server, i.e. via MacPorts: (for local SQL server; can be on
a separate system.)

sudo port install mysql5-server (or mariadb...)

2) Setup the ZABBIX database

Follow the directions at :

https://www.zabbix.com/documentation/5.0/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/zabbix5/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 sql server socket>

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

sudo port load zabbix5

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

#### End ZABBIX5 local server installation section ####
#### ####

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ZABBIX5 Server Version Upgrade process
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 0) Be sure to use 'sudo port unload zabbixN' to stop the background
!! server before deactivating zabbixN. (Whatever version you are running.)
!!
!! 1) BACK UP YOUR DATABASE
!!
!! 2) Create/edit ${prefix}/etc/zabbix5/zabbix_server.conf
!! zabbix_server.conf.sample is available for reference.
!! There are new features to consider.
!! ** NOTE conf dir is etc/zabbix5 **
!!
!! 3) 'sudo port load zabbix5' after installing.
!!
!! For complete upgrade directions, please see:
!! http://www.zabbix.com/documentation/5.0/manual/installation/upgrade
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ALWAYS BACK UP YOUR DATABASE BEFORE UPGRADING (between unload/load)! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! A startup item has been generated that will aid in starting zabbix5 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 zabbix5


Port Health:

Loading Port Health

Installations (30 days)

1

Requested Installations (30 days)

1

Livecheck results

zabbix5 seems to have been updated (port version: 5.0.24, new version: 5.0.42)

livecheck ran: 8 hours ago