Zabbix-proxy

From SME Server
Jump to navigation Jump to search






Maintainer

[1]Daniel B. from Firewall Services

Version

smecontribs 11:
smeserver-zabbix-proxy
The latest version of smeserver-zabbix-proxy is available in the SME repository, click on the version number(s) for more information.


Description

Zabbix proxy is a lightweight daemon. It will act as a server for agents, will cache locally (in a mysql database) the information, and send it to the server it belongs to. This is useful to monitor networks elements behind a firewall.


Installation

yum install smeserver-extrarepositories-epel smeserver-extrarepositories-zabbix
db yum_repositories setprop zabbix70 status enabled
expand-template /etc/yum.smerepos.d/sme-base.repo
dnf install smeserver-zabbix-proxy

do not use zabbix 7.0 from EPEL.

yum --enablerepo=smecontribs install smeserver-zabbix-proxy

first enable the needed repo: Firewall service

db yum_repositories set fws repository \
BaseURL http://repo.firewall-services.com/centos/\$releasever \
EnableGroups no GPGCheck yes \
Name "Firewall Services" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible no status disabled


db yum_repositories set fws-testing repository \
BaseURL http://repo.firewall-services.com/centos-testing/\$releasever \
EnableGroups no GPGCheck yes \
Name "Firewall Services Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible no status disabled


signal-event yum-modify

to install Zabbix proxy, just use yum:

yum --enablerepo=smecontribs,fws install smeserver-zabbix-proxy

By default zabbix-proxy is disabled.

To enable:

config setprop zabbix-proxy status enabled Server IP.IP.IP.IP ServerPort 10051
signal-event zabbix-proxy-update

Configuration

  • DbName: the name of the database used by the proxy. The default is zabbixproxydb
  • DbPassword: the password to access the database
  • DbUser: the user to access the database
  • Servers: List of servers (separated by commas) to which send the informations
  • TCPPort: TCP port on which the proxy listen. Clients will connect on the proxy as if it's a Zabbix server. The default is 10051
  • access: (private|public) If you want to open zabbix-proxy on the external interface. If you set this to public, you should use the AllowHosts key to limit the access
  • status: (enabled|disabled) Should the service be started automatically


Uninstall

yum remove smeserver-zabbix-proxy  zabbix-proxy

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-zabbix-proxy component or use this link


Below is an overview of the current issues for this contrib:

No open bugs found.

Changelog

Only released version in smecontrib are listed here.

smeserver-zabbix-proxy-0.3.1-5.el8.sme Changelog: SME 11 (smecontribs)
2026/05/28 Jean-Philippe Pialasse 0.3.1-5.sme
- fix /var/lib/zabbix/tmp attributes

2026/05/28 Jean-Philippe Pialasse 0.3.1-4.sme
- build for SME11
- add update event
- filter logs
- requires zabbix buid, not EPEL

- add to backup [SME: 12033]
2024/09/08 fix-e-smith-pkg.sh by Trevor Batley 0.3.1-3.sme
- Fix e-smith references in smeserver-zabbix-proxy [SME: 12732]
2024/09/07 cvs2git.sh aka Brian Read 0.3.1-2.sme
- Roll up patches and move to git repo [SME: 12338]

2024/09/07 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,

by assuming the date is correct and changing the weekday.