diff options
Diffstat (limited to '')
-rw-r--r-- | net-mgmt/zabbix5-server/files/pkg-message.in | 47 | ||||
-rw-r--r-- | net-mgmt/zabbix5-server/files/zabbix_proxy.in | 68 | ||||
-rw-r--r-- | net-mgmt/zabbix5-server/files/zabbix_server.in | 69 | ||||
-rw-r--r-- | net-mgmt/zabbix74-server/files/zabbix_agentd.in (renamed from net-mgmt/zabbix5-server/files/zabbix_agentd.in) | 0 | ||||
-rw-r--r-- | net-mgmt/zabbix74-server/files/zabbix_java.in (renamed from net-mgmt/zabbix5-server/files/zabbix_java.in) | 0 |
5 files changed, 0 insertions, 184 deletions
diff --git a/net-mgmt/zabbix5-server/files/pkg-message.in b/net-mgmt/zabbix5-server/files/pkg-message.in deleted file mode 100644 index e6b7ab4c8be2..000000000000 --- a/net-mgmt/zabbix5-server/files/pkg-message.in +++ /dev/null @@ -1,47 +0,0 @@ -[ -{ type: install - message: <<EOM -Log files are now under /var/log/zabbix directory instead of /tmp as it was -previously. - -For Zabbix server and proxy daemons, as well as Zabbix frontend, a database is -required. It is not needed to run Zabbix agent. - -% cd %%DATADIR%%/%%ZABBIX_BUILD%%/database - -And follow the instructions: -https://www.zabbix.com/documentation/5.0/manual/appendix/install/db_scripts - -Upgrade notes for 5.0.0: -https://www.zabbix.com/documentation/5.0/manual/installation/upgrade_notes_500 - -Upgrade procedure: -https://www.zabbix.com/documentation/5.0/manual/installation/upgrade/sources - -Please see https://www.zabbix.com/ for detailed information about Zabbix. - -Official Zabbix documentation: -https://www.zabbix.com/documentation/5.0/start - -For Zabbix frontend "Welcome" screen. Enter the user name Admin with password -zabbix to log in as a Zabbix superuser. - -For use NMAP please edit sudoers - -This is a Zabbix LTS release! - -Zabbix LTS releases are supported for Zabbix customers during five (5) years -i.e. 3 years of Full Support (general, critical and security issues) and 2 -additional years of Limited Support (critical and security issues only). -Zabbix LTS version release will result in change of the first version number. - -Stable release: Zabbix 5.0 -Release date: 12 May, 2020 -End of Full Support: 31 May, 2023 -End of Limited Support: 31 May, 2025 - -Zabbix Life Cycle & Release Policy: -https://www.zabbix.com/life_cycle_and_release_policy -EOM -} -] diff --git a/net-mgmt/zabbix5-server/files/zabbix_proxy.in b/net-mgmt/zabbix5-server/files/zabbix_proxy.in deleted file mode 100644 index 274c75c29251..000000000000 --- a/net-mgmt/zabbix5-server/files/zabbix_proxy.in +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -# PROVIDE: zabbix_proxy -# REQUIRE: DAEMON -%%PGSQL%%# REQUIRE: postgresql -%%MYSQL%%# REQUIRE: mysql -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to -# enable zabbix_proxy: -# -# zabbix_proxy_enable (bool): Set to NO by default. Set it to YES to -# enable zabbix_proxy. -# zabbix_proxy_config (string): Set to the standard config file path by -# default. -# zabbix_proxy_pidfile (string): Location of the zabbix_proxy pid file -# Default is /var/run/zabbix/zabbix_proxy.pid -# zabbix_proxy_paths (string): Set to standard path by default. Set a search -# if you have custom userparams that need binaries elsewhere. -# - -. /etc/rc.subr - -name="zabbix_proxy" -rcvar=zabbix_proxy_enable - -load_rc_config $name - -: ${zabbix_proxy_enable:=NO} -: ${zabbix_proxy_config:=%%ETCDIR%%/${name}.conf} -: ${zabbix_proxy_pidfile:=/var/run/zabbix/zabbix_proxy.pid} - -command="%%PREFIX%%/sbin/${name}" -required_files="${zabbix_proxy_config}" - -start_cmd=zabbix_proxy_cmd -start_precmd=zabbix_proxy_precmd -status_precmd=zabbix_proxy_precmd -stop_precmd=zabbix_proxy_precmd - -zabbix_proxy_precmd() -{ - pidfile=${zabbix_proxy_pidfile} - if get_pidfile_from_conf PidFile ${zabbix_proxy_config}; then - pidfile="$_pidfile_from_conf" - fi - logfile=/var/log/zabbix/zabbix_proxy.log - if get_pidfile_from_conf LogFile ${zabbix_proxy_config}; then - logfile="$_pidfile_from_conf" - fi - local rundir=${pidfile%/*} - local logdir=${logfile%/*} - [ -d $rundir ] || install -d -m 0755 -o zabbix -g zabbix $rundir - [ -d $logdir ] || install -d -m 0755 -o zabbix -g zabbix $logdir - - # This shouldn't be necessary with pidfile, but empirically it was the - # only way to reap the parent PID instead of all PIDs from - # check_process, which may leak SysV IPC objects and prevent restart - # and/or race condition on restart. - rc_pid=$(check_pidfile ${pidfile} ${command}) -} - -zabbix_proxy_cmd() -{ - PATH=$zabbix_proxy_paths $command -c $zabbix_proxy_config -} - -run_rc_command "$1" diff --git a/net-mgmt/zabbix5-server/files/zabbix_server.in b/net-mgmt/zabbix5-server/files/zabbix_server.in deleted file mode 100644 index 68e9f052734e..000000000000 --- a/net-mgmt/zabbix5-server/files/zabbix_server.in +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -# PROVIDE: zabbix_server -# REQUIRE: DAEMON -%%PGSQL%%# REQUIRE: postgresql -%%MYSQL%%# REQUIRE: mysql -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to -# enable zabbix_server: -# -# zabbix_server_enable (bool): Set to NO by default. Set it to YES to -# enable zabbix_server. -# zabbix_server_config (string): Set to the standard config file path by -# default. -# zabbix_server_pidfile (string): Location of the zabbix_server pid file -# Default is /var/run/zabbix/zabbix_server.pid -# zabbix_server_paths (string): Set to standard path by default. Set a search -# if you have custom userparams that need binaries elsewhere. -# - -. /etc/rc.subr - -name="zabbix_server" -rcvar=zabbix_server_enable - -load_rc_config $name - -: ${zabbix_server_enable:=NO} -: ${zabbix_server_config:=%%ETCDIR%%/${name}.conf} -: ${zabbix_server_pidfile:=/var/run/zabbix/zabbix_server.pid} -: ${zabbix_server_paths:=$PATH} - -command="%%PREFIX%%/sbin/${name}" -required_files="${zabbix_server_config}" - -start_cmd=zabbix_server_cmd -start_precmd=zabbix_server_precmd -status_precmd=zabbix_server_precmd -stop_precmd=zabbix_server_precmd - -zabbix_server_precmd() -{ - pidfile=${zabbix_server_pidfile} - if get_pidfile_from_conf PidFile ${zabbix_server_config}; then - pidfile="$_pidfile_from_conf" - fi - logfile=/var/log/zabbix/zabbix_server.log - if get_pidfile_from_conf LogFile ${zabbix_server_config}; then - logfile="$_pidfile_from_conf" - fi - local rundir=${pidfile%/*} - local logdir=${logfile%/*} - [ -d $rundir ] || install -d -m 0755 -o zabbix -g zabbix $rundir - [ -d $logdir ] || install -d -m 0755 -o zabbix -g zabbix $logdir - - # This shouldn't be necessary with pidfile, but empirically it was the - # only way to reap the parent PID instead of all PIDs from - # check_process, which may leak SysV IPC objects and prevent restart - # and/or race condition on restart. - rc_pid=$(check_pidfile ${pidfile} ${command}) -} - -zabbix_server_cmd() -{ - PATH=$zabbix_server_paths $command -c $zabbix_server_config -} - -run_rc_command "$1" diff --git a/net-mgmt/zabbix5-server/files/zabbix_agentd.in b/net-mgmt/zabbix74-server/files/zabbix_agentd.in index 5fa104126dbe..5fa104126dbe 100644 --- a/net-mgmt/zabbix5-server/files/zabbix_agentd.in +++ b/net-mgmt/zabbix74-server/files/zabbix_agentd.in diff --git a/net-mgmt/zabbix5-server/files/zabbix_java.in b/net-mgmt/zabbix74-server/files/zabbix_java.in index ef0f1318c76c..ef0f1318c76c 100644 --- a/net-mgmt/zabbix5-server/files/zabbix_java.in +++ b/net-mgmt/zabbix74-server/files/zabbix_java.in |