If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
First of all, you have to be careful about database scheme. The database scheme changes by upgrading from 1.4 to 1.6. Don't worry, an upgrade-sql patch is included in zabbix-1.6.4.tgz.
I downloaded for the source forge the Zabbix-1.6.3 and I installed and configured Zabbix. These are my steps
************************************************** ************************************************** ******
cd /usr/src
tar xvfz zabbix-1.6.3.tar.gz
cd zabbix-1.6.3
./configure --with-mysql --with-net-snmp --enable-server --enable-agent --prefix=/zabbix
#
Compiler
make install
#sudo apt-get install apache2 apache2-doc mysql-server php5 libapache2-mod-php5 php5-mysql phpmyadmin
#sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
#sudo nano /etc/php5/apache2/php.ini
max_execution_time=300
date.timezone= Europe/Paris
#sudo /etc/init.d/apache2 restart
#sudo groupadd zabbix
#sudo useradd zabbix -g zabbix
- Configurer mysql
#sudo mysql -u root -p
create database zabbix;
quit;
-Installer les paquets de zabbix
#sudo apt-get install zabbix-server-mysql
L'outil de configuration des paquets s'ouvre pour la configuration du paquet, confirmé la configuration de la base de données avec dbconfig-common puis entrer le mot de passe du compte propriétaire qui servira a créer la base de données Mysql ainsi que les utilisateurs mdp : root ensuite choisir le mot de passe de connexion pour zabbix-server-mysql sur le
serveur de base de données mdp : root
#sudo apt-get install zabbix-frontend-php
choisir mysql pour le type de base de donnée utilisée pour le php puis le mdp : root
#sudo apt-get install zabbix-agent
Cette commande sert a mettre l'utilisateur zabbix propriétaire
donc ayant les droits sur zabbix:
#sudo chown -R zabbix.zabbix /etc/zabbix
#sudo nano /etc/services
ajouter en fin de pages :
zabbix_agent 10050 /tcp # Zabbix ports
zabbix_trap 10051 /tcp
#sudo nano /etc/zabbix/zabbix_agentd.conf
#sudo nano /etc/zabbix/zabbix_server.conf
#sudo chmod -r /etc/zabbix/dbconfig.php
#sudo zabbix_server
#sudo zabbix_agentd
installé l'agent dans les serveurs client:
apt-get install zabbix-agent
vi /etc/zabbix/zabbix_agentd.conf
Server=192.168.0.107
Hostname=ebox.luniweb.lan
ListenPort=10050
/etc/init.d/zabbix-agent restart
************************************************** ************************************************** ***
The problem I have found the interface in Zabbix-1.4.2 and not 1.6.3: (
is what I have problems in the configuration and installation!
I think you skipped a step, I did the same thing when I upgraded mine about a month ago. If you check your log, stop and start zabbix_server and see what version it says you're running. Mine was running the correct version but I forgot to copy the new files over the old ones. The new files will be in the directory where you extracted the .gz file. Mine are in /usr/src/zabbix1.6.4/frontends/php/. You need to copy that whole directory over to your existing directory, mine are in /var/www/html/zabbix/ I believe. To be safe, you might want to gzip or tar up that whole directory just in case you need to go back before you copy over it. Or, just copy it over to a temporary location, then delete it after you make sure it works after you copy over the new files.
When you do that, you should be able to look at the bottom of your browser screen and see the new version listed.
Hope that helps!
Kerry Miller
Victoria, TX
81 hosts, 1466 items, 477 triggers, 22.16 values per second
load average: 0.54, 0.61, 0.64
Comment