See www.zabbix.com for the official Zabbix site.
Get Zabbix
Contents |
Getting Zabbix
Before you can start looking at the code, you must get it. You can choose between getting prebuilt release archives or getting it from source code repository system.
Released packages
You can download common released versions from Zabbix download page.
Nightly Builds
You can download latest builds from Zabbix developers page. These are like released versions, just unstable.
Development versions
Zabbix source code is kept in a Subversion repository, located at svn://svn.zabbix.com. One must have Subversion client installed to access the repository.
Linux
On Linux, one can use either the official Subversion commandline client or one of the available GUI clients/frontends.
Using official Subversion client
First, make sure you have it installed. In most distributions, package is called subversion. Change to a directory you want to place Zabbix code in and execute:
$ svn co svn://svn.zabbix.com/trunk
This will grab full Zabbix trunk. If you want a particular branch, like 1.8:
$ svn co svn://svn.zabbix.com/branches/1.8
Released version snapshots are stored in tags/ subdirectory. Few example entries:
tags/1.6.4 tags/1.8.5 tags/1.8.8 tags/1.9.7
If you want to update your checkout at some later point, change to the directory whichever you want updated and execute:
$ svn up
In case you want to update only a part of the checkout, like the frontend run:
$ svn up frontends
You can also get an exact revision, if you would like to find out which revision introduced some problem. This can be combined with target syntax as well:
$ svn up -r 12345 frontends
You can read SVN commit log, seeing what messages developers attached to each change. There's also revision syntax that allows to retrieve information based on dates. A special "revision" - HEAD - always denotes latest revision. Adding -v parameter will also print out file names that were changed.
$ svn log -v -r {2009-08-01}:HEAD src
You can also get exact code changes in a specific revision and a specific file:
$ svn diff -c 4321 create/schema/schema.sql
For more information on Subversion usage go read SVN Book.
Windows
For Windows you can use official Subversion commandline client like above, or one of the available GUI clients like [[1]].
Proceeding with compilation
With source retrieved, proceed on to compilation instructions.