Ad Widget

Collapse

Zabbix on CentOS howto

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meekrob
    Junior Member
    • Mar 2006
    • 12

    #1

    Zabbix on CentOS howto

    I just installed an Zabbix on CentOS and wrote this '"howto" while I did. It's mainly to document the process for my coworkers, but I'll post it here in case anyone else can benefit.



    It is a wiki, so feel free to edit and improve ...
  • krusty
    Senior Member
    • Oct 2005
    • 222

    #2
    Nice work. I'm using SuSE OS but that is really a good idea.

    Comment

    • rushadirani
      Junior Member
      • Sep 2010
      • 2

      #3
      Request for alternate link

      Hi there,
      The link doesnt work anymore. I am setting up Zabbix on a centos machine and it would be very helpful to have your notes.

      Thanks in advance.

      Comment

      • makini
        Member
        • Jul 2006
        • 59

        #4
        Broken link...

        Originally posted by rushadirani
        Hi there,
        The link doesnt work anymore. I am setting up Zabbix on a centos machine and it would be very helpful to have your notes.

        Thanks in advance.
        The link is in fact broken, I got php errors there... Anyhow, since those notes are no longer available, I must say that CentOS is in fact a Linux distribution. You should simply follow Zabbix` manual for setup and in case of issues give searching the forums here a good try, I assure you there's a lot covered here.

        Comment

        • rushadirani
          Junior Member
          • Sep 2010
          • 2

          #5
          Problems with logging into the web interface

          I followed the info on this website

          But then I cannot log into the web page on my local machine which is http://127.0.0.1/zabbix/index.php

          I had a look at the mysql database in the zabbix database is saw the following int he users table. If anyone else has the same hasshed password, can you please tell me what it is.

          Code:
          mysql> select *  from users;
          
          +--------+-------+---------+---------------+----------------------------------+-----+------------+-------+---------+------+
          | userid | alias | name    | surname       | passwd                           | url | autologout | lang  | refresh | type |
          +--------+-------+---------+---------------+----------------------------------+-----+------------+-------+---------+------+
          |      1 | Admin | Zabbix  | Administrator | d41d8cd98f00b204e9800998ecf8427e |     |        900 | en_gb |      30 |    3 | 
          |      2 | guest | Default | User          | d41d8cd98f00b204e9800998ecf8427e |     |        900 | en_gb |      30 |    1 | 
          +--------+-------+---------+---------------+----------------------------------+-----+------------+-------+---------+------+
          2 rows in set (0.00 sec)

          Comment

          • dougmc
            Junior Member
            • Dec 2010
            • 1

            #6
            Originally posted by rushadirani
            I had a look at the mysql database in the zabbix database is saw the following int he users table. If anyone else has the same hasshed password, can you please tell me what it is.
            I haven't installed zabbix, but I recognize that md5sum.

            % echo -n '' | md5sum
            d41d8cd98f00b204e9800998ecf8427e -

            that's an md5sum of an empty string, so I assume that means that the password is empty.

            Comment

            • nelsonab
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2006
              • 1233

              #7
              Installation on Red Hat derived OS's is a lot easier these days. I'll try and write something up. Basically it's a matter of adding the Fedora EPEL repository, doing a "yum search zabbix" and installing the zabbix packages you need/want. I forget where it is but you will need to follow the db set up steps from the documentation. If you want the Web GUI to write the configuration file you will need SELinux to be in permissive mode as the label with which Apache runs is not allowed to write to it's webroot directory unless you enable an SELinux boolean. After that it's smooth sailing. Upgrades are equally straight forward... service zabbix-server stop; yum upgrade zabbix-server; <apply db patch if needed>; service zabbix-server start.
              RHCE, author of zbxapi
              Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
              Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

              Comment

              Working...