Logo
  • Entries
  • Comments
  • Popular
Recent Posts
  • January 2012
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • July 2007
Recent Comments
  • Makendra It's always a pleasure to hear from someone with eexrpitse....
  • Rubén Ortiz Hola dependerá de varias cosas pero la respuesta sería NO. ...
  • jose miguel perea Buenos días, ¿La replicación entre maestro y esclavo es i...
  • Rubén Ortiz Si lo hacéis legal, con VMware el único problema son los cos...
  • Angel Hola, estamos valorando implementar baremetal para crear un ...
Popular Articles
  • Declaro la guerra al mosquito Tigre (35)
  • Phpbb3 - encode error converter (19)
  • MySQL - Variables básicas a configurar (17)
  • Reinicio programado Windows 2003 Server (16)
  • Plesk - Evitar el SPAM (10)
  • Home
  • Contacta
  • Hosting Linux
  • Legal
  • Sobre mí – About me

Instalar agente Zabbix en CentOS

Posted by Rubén Ortiz on May 28, 2009 in Software | 5 comments

logo_zabbix

Mini tuto para instalar el agente de Zabbix en los sistemas CentOS.

Añadimos el usuario zabbix porque lo necesitamos para poder arrancar luego el servicio

1
<strong># useradd -s /sbin/nologin zabbix</strong>
1
2
3
4
5
<strong>
# http://garr.dl.sourceforge.net/sourceforge/zabbix/zabbix-1.6.tar.gz
# tar xzvf zabbix-1.4.6.tar.gz
# cd zabbix-1.4.6
</strong>

Luego, deberemos compilar ese agente en las demás máquinas donde queramos monitorizar

1
2
# ./configure --enable-agent --prefix=/usr/local/zabbix --enable-static
# make install

1
2
3
4
<strong>
# echo 'zabbix_agent 10050/tcp' &gt;&gt; /etc/services &amp;&amp;
echo 'zabbix_trap 10051/tcp' &gt;&gt; /etc/services
</strong>

Copiamos la configuración estándar

1
2
3
4
<strong>
# mkdir /etc/zabbix
# cp misc/conf/zabbix_agentd.conf /etc/zabbix/
</strong>

Editamos la configuración del segundo archivo /etc/zabbix/zabbix_agentd.conf

1
Server=Your.Zabbix.Server.IP

Copiamos los siguientes archivos

1
<strong># cp misc/init.d/redhat/zabbix_agentd_ctl /etc/init.d/zabbix_agentd</strong>

Editamos /etc/init.d/zabbix_agentd

1
BASEDIR=/usr/local/zabbix

En /etc/init.d/zabbix_agentd añadimos, justo debajo de #! /bin/sh

1
2
# chkconfig: 345 95 95
# description: Zabbix Agentd
1
2
3
<strong>
# chkconfig --level 345 zabbix_agentd on
</strong>

Iniciamos los agentes

1
2
3
4
<strong># /etc/init.d/zabbix_agentd start</strong>
/etc/init.d/zabbix_agentd: line 84: /usr/local/zabbix/bin/zabbix_agentd: No such file or
directory
/etc/init.d/zabbix_agentd start: zabbix_agentd could not be started

Si tenemos algún tipo de error así

1
<strong># ln -s /usr/local/zabbix/sbin /usr/local/zabbix/bin</strong>

5 Responses to “Instalar agente Zabbix en CentOS”

  1. Ivan says:
    10 de June, 2009 at 3:46 am

    sabes si da problemas al instalarlo en centos 5 con plesk 9.2.1 ????

  2. Ivan says:
    10 de June, 2009 at 4:24 am

    mmmm y el frontend ????? donde te lo dejas????

  3. Rubén Ortiz says:
    10 de June, 2009 at 10:16 am

    Hola

    en este post sólo trato la instalación del agente, no la instalación del servidor y frontend de Zabbix.

    Y sobre lo de Plesk, no debería dar problemas.

    Saludos

  4. Ivan says:
    10 de June, 2009 at 4:36 pm

    xd ya pero no sabes ningun link que hable de la instalacion del server y del frontend?

  5. Sebastian says:
    17 de March, 2010 at 7:17 pm

    Ruben … tengo problemas para la instalacion del agente en equipos linux no asi en los de microsoft aunque todavia no puedo hacer q funcionen los graficos desde la consola de navegacion.
    pero me resulta mas importante la instalacion de los agentes, especificamente cuando ejecuto la linea.
    cuando intento iniciar el demonio me dice
    /opt/zabbix/bin/zabbix_agentd not installed! skipped

Leave a Reply

Click here to cancel reply.

Nube de Tags

apache bare metal benchmark cacti centos dell drupal esxi General gripe A Hardware humor IIS kayako Linux lpi lyric Lyrics memcached mysql nginx openfiler OpenVZ openx Parallels php Phpbb plesk postgresql proftpd raid SQL Server ssh svn trac ubuntu varnish Virtualizacion Virtuozzo Virtuozzo Linux Warphammer.net Windows windows 2003 wordpress zabbix

Categorias

  • 2003 Server
  • Apache 2.X
  • benchmark
  • Centos
  • Cuanto (Luser) Cabron
  • ESXi
  • General
  • Hardware
  • IIS
  • Lighttpd
  • Linux
  • Lyrics
  • MySql
  • Nginx
  • OpenVZ
  • Parallels
  • Parallels Bare Metal
  • Php
  • Phpbb
  • Plesk
  • PostgreSQL
  • Prestashop
  • Software
  • SQL SERVER
  • Ubuntu
  • Varnish
  • Virtualizacion
  • Virtuozzo
  • Virtuozzo Windows
  • VMWare
  • Warphammer.net
  • Windows
  • Wordpress

Blogroll

  • David Toribio
  • EasyCompany.es
  • Marius Duch
  • Series
  • Warphammer.net

Recursos

  • Backup Plesk9
  • CentOS 5 32 bits RPMs
  • CentOS 5 64 bits RPMs
  • Lighttpd
  • MySQL Tunner
  • OpenVZ – Panel – PROXMOX
  • OpenVZ – Panel – VTONF
  • OpenVZ Wiki
  • Parallels Virtual Automation Resources
  • Plesk 8 Docs
  • Plesk 9 Docs
  • Plesk Hacker
  • Port80 – Compression Check
  • Virtuozzo DOCS
  • Virtuozzo Lin Commands
  • Virtuozzo Win Commands
  • Virtuozzo Windows Docu

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Designed by Elegant Themes | Powered by Wordpress