Ad Widget

Collapse

zabbix not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluemind2005
    Junior Member
    • Nov 2016
    • 8

    #1

    zabbix not working

    Hello,

    I have zabbix installed on my centos 6.8 and don't see any information as in regards to UI?

    Here are the steps I executed on my CentOS.

    wget http://repo.zabbix.com/zabbix/3.0/rh...el6.noarch.rpm
    rpm -Uvh zabbix-release-3.0-1.el6.noarch.rpm

    I want it to be installed on a one centos machine(server) and it to monitor itself (server) along with the other three machines(agents).

    Would be great if we had some nice documented instructions.

    Cheers
    Jim
  • lordeldor
    Junior Member
    • Jun 2016
    • 8

    #2
    You have installed the RPM that adds the Zabbix repository to your system.

    You need to continue installing the Zabbix components now. This is all covered in the documentation.



    You will see under the "Installation from packages" heading there are several steps that need to be completed. You have completed the first one: "Repository Installation"

    Proceed with either the "Server installation with mysql" or the "Server installation with postgresql" section.

    Comment

    • bluemind2005
      Junior Member
      • Nov 2016
      • 8

      #3
      Thank you for your guidance, any idea why I am getting errors below.

      Code:
      [root@puppet ~]# rpm -i zabbix-release-3.0-1.el6.src.rpm 
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      [root@puppet ~]# rpm -qa|grep zabbix
      [root@puppet ~]# rpm -ql zabbix*
      package zabbix-release-3.0-1.el6.src.rpm is not installed
      [root@puppet ~]# rpm -Uvh zabbix-release-3.0-1.el6.src.rpm 
         1:zabbix-release         warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      warning: user packager does not exist - using root
      warning: group packager does not exist - using root
      ########################################### [100%]
      [root@puppet ~]#

      Comment

      • bluemind2005
        Junior Member
        • Nov 2016
        • 8

        #4
        Any update ? How to resolve?

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #5
          zabbix-release-3.0-1.el6.src.rpm is rpm for package developer.
          That is not for user.

          Running a Zabbix server is not recommended on CentOS 6 from Zabbix version 3.0 or later.
          There are points to be noted. PHP 5.4 or later is required.
          PHP version of the standard package is 5.3.3 on CentOS 6.

          If you want use Zabbix 3.0 or later, I think that CentOS 7 or later is recommended.

          For the procedure to install Zabbix 3.2 on CentOS 6, please refer to the following URL.

          Comment

          • bluemind2005
            Junior Member
            • Nov 2016
            • 8

            #6
            Understand and appreciate your input but with due respect if I really want to install install zabbix 3.0.0.1 on centos 6 can you provide me with the documentation ?

            My work has rhel 6 so I want Zabbix 3.0 on that.

            Also correct me if I'm not wrong there is some issue with the latest release of zabbix ?

            Comment

            • Atsushi
              Senior Member
              • Aug 2013
              • 2028

              #7
              RHEL 6 is not recommended environment for Zabbix 3.0.
              For example, the SMTP authentication function can not be used.

              For the installation procedure, please change the file path by the introduced procedure.

              ex.

              to


              /usr/share/doc/zabbix-server-mysql-3.2.1/create.sql.gz
              to
              /usr/share/doc/zabbix-server-mysql-3.0.5/create.sql.gz

              Comment

              • LenR
                Senior Member
                • Sep 2009
                • 1005

                #8
                I was testing the 3.0RC's on RHEL 6.8, building from source. It worked OK, I'm sure I didn't build all the components, just enough to test the core and see the new UI.

                If you have to run on an unsupported release, you have to own it, and you own all the broken pieces if it breaks :-)

                Comment

                • bluemind2005
                  Junior Member
                  • Nov 2016
                  • 8

                  #9
                  Hello Friends,
                  As recommended, I did the first two steps
                  Code:
                  [root@loadbalancer ~]# rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
                  Retrieving http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
                  Preparing...                          ################################# [100%]
                          package zabbix-release-3.0-1.el7.noarch is already installed
                  [root@loadbalancer ~]# yum install zabbix-server-mysql zabbix-web-mysql
                  Loaded plugins: fastestmirror
                  Loading mirror speeds from cached hostfile
                   * base: mirror.colocity.com
                   * extras: mirror.optus.net
                   * updates: mirror.colocity.com
                  Package zabbix-server-mysql-3.0.5-1.el7.x86_64 already installed and latest version
                  Package zabbix-web-mysql-3.0.5-1.el7.noarch already installed and latest version
                  Nothing to do
                  [root@loadbalancer ~]#  mysql -uroot -pjim
                  -bash: mysql: command not found
                  Any advice on mysql is saying command not found ?

                  Please note that I am now using CentOS 7
                  Code:
                  [root@loadbalancer ~]# cat /etc/redhat-release
                  CentOS Linux release 7.2.1511 (Core)
                  [root@loadbalancer ~]#
                  I had a look further and there seems to be no mysql binary installed?
                  Code:
                  [root@docker1 ~]# which mysql
                  /usr/bin/which: no mysql in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
                  [root@docker1 ~]# whereis mysql
                  mysql: /usr/lib64/mysql /usr/share/mysql
                  [root@docker1 ~]# ls -l /usr/lib64/mysql/libmysqlclient.so.18
                  libmysqlclient.so.18      libmysqlclient.so.18.0.0
                  [root@docker1 ~]# ls -l /usr/lib64/mysql/
                  total 3064
                  lrwxrwxrwx. 1 root root      24 Aug 27 14:23 libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
                  -rwxr-xr-x. 1 root root 3133712 Aug 12 08:48 libmysqlclient.so.18.0.0
                  [root@docker1 ~]# ls -l /usr/share/mysql/
                  total 4
                  drwxr-xr-x. 2 root root 4096 Aug 27 14:23 charsets
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 czech
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 danish
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 dutch
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 english
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 estonian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 french
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 german
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 greek
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 hungarian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 italian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 japanese
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 korean
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 norwegian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 norwegian-ny
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 polish
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 portuguese
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 romanian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 russian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 serbian
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 slovak
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 spanish
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 swedish
                  drwxr-xr-x. 2 root root   23 Aug 27 14:23 ukrainian
                  [root@docker1 ~]#
                  Eagerly wait for response from Zabbix Guru's
                  Last edited by bluemind2005; 22-11-2016, 16:43.

                  Comment

                  • bluemind2005
                    Junior Member
                    • Nov 2016
                    • 8

                    #10
                    Issue resolved. Documentation MUST state that you have install mysql on your host. It would be even better to link to mysql latest documentation.
                    https://dev.mysql.com/doc/mysql-repo...-yum-repo.html

                    Lets give customer good experience

                    Moderator, please close this thread as resolved.

                    Comment

                    Working...