Skip to content

Instantly share code, notes, and snippets.

@Morabaraba
Last active August 8, 2016 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Morabaraba/2e25734c69e92c59fd34aef965101d01 to your computer and use it in GitHub Desktop.
Save Morabaraba/2e25734c69e92c59fd34aef965101d01 to your computer and use it in GitHub Desktop.
Raspbian Zabbix 3.0.4

Zabbix 3.0.4 [PostgreSQL] on a Rasberry Pi from Source

Install dependancies:

apt-get install make gcc libc6-dev libcurl4-openssl-dev libssh2-1-dev \
libsnmp-dev libiksemel-dev libsqlite3-dev libopenipmi-dev fping php5-gd \
snmp libsnmp-base openjdk-7-jdk unixodbc unixodbc-dev libxml2 libxml2-dev \
snmp-mibs-downloader snmpd snmptt python-pywbem php5-ldap php5-pgsql traceroute \
libldap2-dev apache2 php5 libapache2-mod-php5 libpq-dev

Download the latest source package:

You might need to change 3.0.4 to the latest version number of zabbix:

curl https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/3.0.4/zabbix-3.0.4.tar.gz/download > zabbix-3.0.4.tar.gz
tar -xvf zabbix-3.0.4.tar.gz
cd zabbix-3.0.4

Configure

./configure --enable-server --enable-agent --with-postgresql --with-net-snmp \
--with-libcurl --with-openipmi --with-ssh2 --with-libxml2 --enable-ipv6 --with-unixodbc \
--with-openssl --enable-java --with-jabber --with-ldap

Make

make
make install

Database Setup

See Database creation scripts for MySQL. Found Installing Zabbix with postgresql in CentOS6 helpful.

Reference

@FilBot3
Copy link

FilBot3 commented Aug 8, 2016

Good start so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment