ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installation of Zabbix in Centos 7

    IT Discussion
    linux zabbix centos 7 centos
    6
    126
    57.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dafyreD
      dafyre
      last edited by

      Curious... It looks like all the tables are there now.

      What happens if you:

      mysql -u root -p
      use zabbixdb;
      describe users;

      ?

      1 Reply Last reply Reply Quote 0
      • LakshmanaL
        Lakshmana
        last edited by

        The output is provided below

        [lakshmana@dny-lnx-zabbix ~]$ sudo mysql -u root -p
        Enter password:
        Welcome to the MariaDB monitor. Commands end with ; or \g.
        Your MariaDB connection id is 423
        Server version: 5.5.44-MariaDB MariaDB Server

        Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

        Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

        MariaDB [(none)]> use zabbixdb;
        Reading table information for completion of table and column names
        You can turn off this feature to get a quicker startup with -A

        Database changed
        MariaDB [zabbixdb]> describe users;
        +----------------+---------------------+------+-----+---------+-------+
        | Field | Type | Null | Key | Default | Extra |
        +----------------+---------------------+------+-----+---------+-------+
        | userid | bigint(20) unsigned | NO | PRI | NULL | |
        | alias | varchar(100) | NO | UNI | | |
        | name | varchar(100) | NO | | | |
        | surname | varchar(100) | NO | | | |
        | passwd | char(32) | NO | | | |
        | url | varchar(255) | NO | | | |
        | autologin | int(11) | NO | | 0 | |
        | autologout | int(11) | NO | | 900 | |
        | lang | varchar(5) | NO | | en_GB | |
        | refresh | int(11) | NO | | 30 | |
        | type | int(11) | NO | | 1 | |
        | theme | varchar(128) | NO | | default | |
        | attempt_failed | int(11) | NO | | 0 | |
        | attempt_ip | varchar(39) | NO | | | |
        | attempt_clock | int(11) | NO | | 0 | |
        | rows_per_page | int(11) | NO | | 50 | |
        +----------------+---------------------+------+-----+---------+-------+
        16 rows in set (0.00 sec)

        1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          Okay... now...

          select userid,name from users;

          1 Reply Last reply Reply Quote 2
          • LakshmanaL
            Lakshmana
            last edited by

            MariaDB [zabbixdb]> select userid,name from users;
            +--------+--------+
            | userid | name |
            +--------+--------+
            | 1 | Zabbix |
            | 2 | |
            +--------+--------+
            2 rows in set (0.00 sec)

            1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre
              last edited by dafyre

              It looks like the data has loaded right... let's check one more...

              select imageid,imagetype,name from images limit 10;

              1 Reply Last reply Reply Quote 2
              • LakshmanaL
                Lakshmana
                last edited by

                The output is given below
                MariaDB [zabbixdb]> select imageid,imagetype,name from images limit 10;
                +---------+-----------+---------------------+
                | imageid | imagetype | name |
                +---------+-----------+---------------------+
                | 1 | 1 | Cloud_(128) |
                | 2 | 1 | Cloud_(24) |
                | 3 | 1 | Cloud_(48) |
                | 4 | 1 | Cloud_(64) |
                | 5 | 1 | Cloud_(96) |
                | 6 | 1 | Crypto-router_(128) |
                | 7 | 1 | Crypto-router_(24) |
                | 8 | 1 | Crypto-router_(48) |
                | 9 | 1 | Crypto-router_(64) |
                | 10 | 1 | Crypto-router_(96) |
                +---------+-----------+---------------------+

                1 Reply Last reply Reply Quote 0
                • dafyreD
                  dafyre
                  last edited by

                  Okay, so everything appears to be working.

                  What happens if you http://<ip of your server>/zabbix ?

                  1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana
                    last edited by

                    The zabbix installation page comes

                    1 Reply Last reply Reply Quote 0
                    • dafyreD
                      dafyre
                      last edited by

                      Ah, okay, that is good, then. 8-)

                      Go through the installation process one step at a time. Send a screenshot if you get any errors.

                      1 Reply Last reply Reply Quote 0
                      • LakshmanaL
                        Lakshmana
                        last edited by scottalanmiller

                        The issue I am facing here is given below

                        zabbix error

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Lakshmana
                          last edited by

                          @Lakshmana look at how I edited your post so that the image would show up. If you type it in like that you actually get the inline image.

                          1 Reply Last reply Reply Quote 0
                          • dafyreD
                            dafyre
                            last edited by

                            Also... Check the spelling in your php.ini file's date.timezone...

                            http://php.net/manual/en/timezones.asia.php

                            Shows it as Asia/Kolkata (one t, not two).

                            After that, restart Apache again, and you should be good.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Also, the timezone should be UTC. Why is it being set to Asia?

                              1 Reply Last reply Reply Quote 0
                              • LakshmanaL
                                Lakshmana
                                last edited by

                                I just followed the steps given in the link for the configuration and now i will change

                                1 Reply Last reply Reply Quote 0
                                • LakshmanaL
                                  Lakshmana
                                  last edited by

                                  how to change the time zone to your place
                                  ??

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Lakshmana
                                    last edited by

                                    @Lakshmana said:

                                    how to change the time zone to your place
                                    ??

                                    How did you change it to Asia initially?

                                    1 Reply Last reply Reply Quote 0
                                    • LakshmanaL
                                      Lakshmana
                                      last edited by

                                      By this command given in the unixmen

                                      Edit file /etc/httpd/conf.d/zabbix:

                                      vi /etc/httpd/conf.d/zabbix.conf
                                      Update your timezone:

                                      php_value date.timezone Asia/Kolkata

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Lakshmana
                                        last edited by

                                        @Lakshmana said:

                                        By this command given in the unixmen

                                        Edit file /etc/httpd/conf.d/zabbix:

                                        vi /etc/httpd/conf.d/zabbix.conf
                                        Update your timezone:

                                        php_value date.timezone Asia/Kolkata

                                        The PHP value for UTC is simply UTC

                                        1 Reply Last reply Reply Quote 0
                                        • LakshmanaL
                                          Lakshmana
                                          last edited by

                                          ok Done.The Login name or password id incorrect throughed and i am checking for the credentials

                                          1 Reply Last reply Reply Quote 0
                                          • dafyreD
                                            dafyre
                                            last edited by

                                            When you went through the installation process, did it ask you to create an admin username and password?

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 5 / 7
                                            • First post
                                              Last post