Ad Widget

Collapse

RHEL4 and Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jstefano
    Member
    • Sep 2015
    • 30

    #1

    RHEL4 and Zabbix

    Hi guys,

    I need to monitor an old Prod Server running RHEL4 which I can't upgrade.
    Is there a location where I can still get Zabbix agent for RHEL4?

    Many thanks for your help!

    Jan
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I think RHEL 4 use kernel version is 2.6.9.
    Please try to use pre-compiled agent for kernel 2.6.
    http://www.zabbix.com/download.php

    Comment

    • jstefano
      Member
      • Sep 2015
      • 30

      #3
      how do I start the agent now?

      Originally posted by Atsushi
      I think RHEL 4 use kernel version is 2.6.9.
      Please try to use pre-compiled agent for kernel 2.6.
      http://www.zabbix.com/download.php
      Thank you, Atushi!!!
      I've downloaded and untarred zabbix_agents_2.2.0.linux2_6.i386.tar went to /conf, updated zabbix_agentd.conf, but...
      how do I start the agent now? Do I have to copy config files to /etc/zabbix
      and copy all files manually? Sorry for being a pain in the ass with too many questions! Just learning Zabbix on the fly...

      Jan

      Comment

      • BDiE8VNy
        Senior Member
        • Apr 2010
        • 680

        #4
        See: https://www.zabbix.com/documentation...concepts/agent

        Comment

        • jstefano
          Member
          • Sep 2015
          • 30

          #5
          How do I install zabbix on client running RHEL4?

          Originally posted by BDiE8VNy
          not helping here, sorry... This is RHEL4 and I just can't make it work.
          Let me refrase the question:

          How do I install zabbix on client running RHEL4?

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            If you want use Zabbix 2.2, I think that more newer version using is better.

            ex.
            http://www.zabbix.com/downloads/2.2....23.i386.tar.gz

            And, you can get conf and init script from rpm.
            Download rpm file from Zabbix SIA's repo.


            At first, you must add zabbix user.

            ex.
            Code:
            # cd <work directory>
            # useradd zabbix
            
            # wget http://www.zabbix.com/downloads/2.2.9/zabbix_agents_2.2.9.linux2_6_23.i386.tar.gz
            # tar zxvf zabbix_agents_2.2.9.linux2_6_23.i386.tar.gz
            # cp -p sbin/zabbix_agentd /usr/sbin/
            
            # mkdir /etc/zabbix
            # mkdir /etc/zabbix/zabbix_agentd.d/
            # mkdir /var/log/zabbix
            # chown zabbix:zabbix /var/log/zabbix
            # mkdir /var/run/zabbix
            # chown zabbix:zabbix /var/run/zabbix
            
            # wget http://repo.zabbix.com/zabbix/2.2/rhel/5/i386/zabbix-agent-2.2.10-1.el5.i386.rpm
            # rpm2cpio zabbix-agent-2.2.10-1.el5.i386.rpm | cpio -id
            # cp -p etc/zabbix/zabbix_agentd.conf /etc/zabbix/
            # cp -p etc/init.d/zabbix-agent /etc/init.d/
            # vi /etc/zabbix/zabbix_agentd.conf
            Please set Hostname, Server and ServerActive.
            This is minumum setting.

            Code:
            # service zabbix-agent start
            # chkconfig zabbix-agent on

            Comment

            • jstefano
              Member
              • Sep 2015
              • 30

              #7
              Originally posted by Atsushi
              If you want use Zabbix 2.2, I think that more newer version using is better.

              ex.
              http://www.zabbix.com/downloads/2.2....23.i386.tar.gz

              And, you can get conf and init script from rpm.
              Download rpm file from Zabbix SIA's repo.

              Atsushi, you rock!!! Worked like a charm!!!
              Appreciate your great help a lot, my old ugly RHEL4 physical servers are now blinking happily on the map!
              Have a great day and thanks again!

              Comment

              Working...