Zabbix Server Update

build_zabbix.sh
#!/bin/bash
 
# Debian Squeeze
./configure --enable-server --enable-agent --with-pgsql --with-net-snmp --with-jabber --with-libcurl --with-openipmi
 
# Ubuntu Lucid
#./configure --enable-server --enable-agent --with-pgsql --with-net-snmp --with-jabber --with-libcurl --with-openipmi --with-ssh2
 
/etc/init.d/zabbix-server stop
/etc/init.d/zabbix-agent stop
 
make install
 
/etc/init.d/zabbix-server start
/etc/init.d/zabbix-agent start
 
cp /var/www/conf/zabbix.conf.php frontends/php/conf/
 
rm -rf /var/wwww/*
cp -a frontends/php/* /var/www/
chown -R www-data:www-data /var/www/*
 
rm frontends/php/conf/zabbix.conf.php

Gegebenfalls sind Datenbankänderungen von nöten. Diese sind der Zabbix Dokumentation zu entnehmen.