zabbix4 (net/zabbix4) Updated: 2 years, 5 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: 4.0.41 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)


"zabbix4" depends on

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

Ports that depend on "zabbix4"

No ports


Port notes

####
#### Begin ZABBIX4 local server installation section ####

!! LOADING ZABBIX4 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.zabbix4-server/zabbix4-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/4.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/zabbix4/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 zabbix4

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

#### End ZABBIX4 local server installation section ####
#### ####

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ZABBIX4 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/zabbix4/zabbix_server.conf
!! zabbix_server.conf.sample is available for reference.
!! There are new features to consider.
!! ** NOTE conf dir is etc/zabbix4 **
!!
!! 3) 'sudo port load zabbix4' after installing.
!!
!! For complete upgrade directions, please see:
!! http://www.zabbix.com/documentation/4.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 zabbix4 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 zabbix4


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0

Livecheck results

zabbix4 seems to have been updated (port version: 4.0.41, new version: 4.0.50)

livecheck ran: 1 day, 12 hours ago