Zabbix server performance:
StartPollers=1
StartTrappers=100
HousekeepingFrequency=24
CacheSize = 32M
CacheUpdateFrequency = 60
StartDBSyncers=20
HistoryCacheSize = 128M
TrendCacheSize = 512M
HistoryTextCacheSize = 128M
LogSlowQueries=1000
Postgresql performance tuning:
http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
checkpoint_segments = 256
shared_buffers = 2GB
effective_cache_size = 15GB
checkpoint_completion_target= 0.9
synchronous_commit = off