Skip to content

ZABBIX : Installation

ZABBIX : Installation published on Aucun commentaire sur ZABBIX : Installation

Comment installer ZABBIX : Site officiel

zabbix_logo

 

 

– serveur:

1 : Serveur:

– wget http://repo.zabbix.com/zabbix/2.2/debian/pool/main/z/zabbix-release/zabbix-release_2.2-1+wheezy_all.deb
ou wget http://repo.zabbix.com/zabbix/2.4/debian/pool/main/z/zabbix-release/zabbix-release_2.4-1+wheezy_all.deb
– dpkg -i zabbix-release_2.2-1+wheezy_all.deb
– apt-get update
– apt-get install zabbix-server-mysql zabbix-frontend-php

-> creation de la base

– nano /etc/zabbix/apache.conf

– […]
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value date.timezone Europe/Paris
[…]

– service apache2 restart
– http://ip-address/zabbix – suivre installation
– http://ip-address/zabbix ‘admin / zabbix)
2 : Agent sur machine serveur

– apt-get install zabbix-agent

– nano /etc/zabbix/zabbix_agentd.conf

– Server=127.0.0.1
– ServerActive=127.0.0.1

– client Linux :

– wget http://repo.zabbix.com/zabbix/2.2/debian/pool/main/z/zabbix-release/zabbix-release_2.2-1+wheezy_all.deb
– dpkg -i zabbix-release_2.2-1+wheezy_all.deb
– apt-get install zabbix-agent
– nano /etc/zabbix/zabbix_agentd.conf
– Server=IP DU SERVEUR ZABBIX
– ListenPort=10050
– ListenIP=IP AGENT ZABBIX
– ServerActive=IP DU SERVEUR ZABBIX
– Hostname=NOM DE L HOTE (hostname)
– /etc/init.d/zabbix-agent restart

– client Windows :

– Télécharger l’agent Windows

  • Mettre le fichier de config et l’exécutable dans c:\zabbix
  • Modifier le fichier de conf :
    • In the config file.
      Server = Mettre IP du serveur Zabbix
      # ListenPort = 10050 (ou autre en fonction …)
      ServerActive = 127.0.0.1
  • Excuter dans une console : Afin de créer un service
    • C:\Zabbix\zabbix_agentd.exe –config C:\Zabbix\zabbix_agentd.win.conf –install
    • Démarrer le service

Primary Sidebar