Ad Widget

Collapse

About Zabbix server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • primiparo
    Junior Member
    • Jan 2009
    • 28

    #1

    About Zabbix server

    Hi everyone !!
    I'm new in Zabbix and i'm trying to install the Zabbix server but i don't find documentation about the install process of the server.
    My information is : Server linux-Suse Entreprise v.9 core 2.6.5-7.97-smp x86-64 with mysql 5.0.41-community.
    Questions :
    1. Must be download the source of zabbix and compile (make and etc...)??
    2. Or how is the name of the packages ?
    3. Any people had install zabbix server in this example (suse + mysql)..? Any Documentation ?

    Thanks for yours ideas.
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    I've been running Zabbix on the various SuSE flavors from the start, no problems.

    Yes you will need to download the source and yes you will need to compile it, don't worry it's not that tough.

    The documentation describes the process pretty well for how to compile and install it. Please go there and if you have any questions not answered there someone will likely answer.

    Before you install however you'll need to install some of the following packages (I may miss a few as I'm going from memory, I usually know what I'm looking for when I'm in Yast.)
    mysql-devel
    mysql
    mysql-server
    gcc
    curl-devel (if you want this feature)
    snmp-devel (if you want this feature)
    php (php5 can be substituted for the following php items)
    php-gd
    php-bc
    php-mysql

    I believe that will give you the basic packages to select and Yast should auto depend the rest.
    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

    • primiparo
      Junior Member
      • Jan 2009
      • 28

      #3
      More questions...

      Hi Nelsonab, thank for your lights, but reading the manual i found this :

      shell> mysql -u<username> -p<password>
      mysql> create database zabbix;
      mysql> quit;
      shell> cd create/schema
      shell> cat mysql.sql | mysql -u<username> -p<password> zabbix
      shell> cd ../data
      shell> cat data.sql | mysql -u<username> -p<password> zabbix
      shell> cat images_mysql.sql | mysql -u<username> -p<password> zabbix

      the <username> must be user "root" or could be an user that i create in mysql before , example user "test1" or user "zabbix"...? or i use it like a reserved word "<username>"...?

      and in the manual say :

      shell> ./configure --enable-server --with-mysql --with-net-snmp –with-jabber –
      with-libcurl # for MySQL + Jabber + WEB monitoring

      then assume that Jabber is installed ? is correct ?

      While more read, more questions....

      Comment

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

        #4
        If you are the root user then you don't need a username or password when connecting to mysql locally with SuSE.

        So in the first part just type "mysql" to connect to the server if you are already the root user.

        As for the second part, the --with-jabber will compile the server to work with Jabber if you want to use it. That does not mean you have a Jabber server setup. Same goes for all the other "--with" options. There is a caveat however, you must choose a database to work with.
        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

        • primiparo
          Junior Member
          • Jan 2009
          • 28

          #5
          Question about instalation

          Hi Nelsonab !

          A question , for the instruction :
          ./configure --enable-server --with-mysql --with-net-snmp –with-jabber –
          with-libcurl # for MySQL + Jabber + WEB monitoring

          i need to be log with root or would be with zabbix user (i created one, normal user)...?

          Comment

          Working...