Ad Widget

Collapse

Zabbix 2.0 Packages for Debian Squeeze

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thesubmitter
    Member
    • Feb 2012
    • 42

    #1

    Zabbix 2.0 Packages for Debian Squeeze

    i386 and AMD64

    This is my first debian package. I tested it and it works on a bunch of systems.

    I also added a new question in the debian configuration asking you what is the the name of the client so that way if you have autodiscovery setup on your server you can set the name otherwise it will default to `uname -n`

    It works but honestly, its my first.... Doesn't work on lenny.
    This ARE .deb files.

    Download
    Remove the .xml extension
    dpkg -i nameofile.deb
    Attached Files
  • funkyf00l
    Junior Member
    • Jun 2012
    • 7

    #2
    Good work.
    Any idea what the time line is to see V2 in the debian repo's?
    eg server, proxy, frontend

    I may have a crack at making one if time permits.
    Unless someone with more experience in debian packaging is working on it?

    Comment

    • thesubmitter
      Member
      • Feb 2012
      • 42

      #3
      There is a bug that causes auto-registration not to work properly, anybody with any idea what it could be. Works with the debian 1.8 package though...

      Comment

      • thesubmitter
        Member
        • Feb 2012
        • 42

        #4
        Need the line ServerActive in zabbix 2.0 for active checks

        Comment

        • tberton
          Junior Member
          Zabbix Certified Specialist
          • Jan 2008
          • 15

          #5
          Could you post the procedure on successfully building the Debian package for the Squeeze release? This way, others can update the package with the most current source code and continue sharing.

          Comment

          • dougbee
            Member
            • Apr 2011
            • 68

            #6
            +1 on tberton's request. If the OP could post the method he used to build the .deb, it would be great. Thanks!

            Comment

            • dougbee
              Member
              • Apr 2011
              • 68

              #7
              FYI, I tested the 2.0.2 agent that's distributed on "sid" (unstable) - and it works on Squeeze. The only nitpick is that my current installations have the pid in /var/run/zabbix-agent whereas the sid distribution uses /var/run/zabbix, so my zabbix-agentd.conf files would have to change.

              Comment

              • Colttt
                Senior Member
                Zabbix Certified Specialist
                • Mar 2009
                • 878

                #8
                maybe you can add the postgresql-partition scrpt as an option in the package??

                Debian-User

                Sorry for my bad english

                Comment

                • valor
                  Junior Member
                  • Sep 2012
                  • 4

                  #9
                  Hi,

                  We have created 2.0 packages based on 1.8.2 squeeze package and add it to our signed repo for easy installing and keeping up to date.

                  We are testing it (zabbix-server-mysql, agent and frontend) but following 1.8.2 debian source we built all the packages. So server-pgsql, proxy-mysql & proxy-pgsql have not been tested at all.

                  We plan to do a heavy use of these packages on Squeeze so we would love to hear your experiences and bug reports even if you don't know how to fix it someone from our company will take care of.

                  Warning: packages are not elegant, are just 1.8.2 hacked to support 2.0.2 (latest stable). As soon 2.0.3 ends RC we will upgrade the package. Package it's not prepared for upgrades from early versions. Will only work installing from scratch.

                  To add our repo:
                  Code:
                  echo "deb http://repo.guruhub.com.uy/debian/ squeeze main" >/etc/apt/sources.list.d/guruhub-squeeze.list
                  To add our Key:
                  Code:
                   wget -q -O - http://repo.guruhub.com.uy/guruhub.apt.gpg | sudo apt-key add -
                  Done, you can apt-get install zabbix 2.0.2 without having to upgrade libraries to install zabbix 2.0.2 package from sid.

                  Comment

                  • crahier
                    Junior Member
                    • Oct 2012
                    • 1

                    #10
                    Hi,

                    I tested your procedure but I receive an error:

                    Code:
                    apt-get install zabbix 2.0.2
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    Note, selecting 'libaiksaurusgtk-1.2-0c2a' for regex '2.0.2'
                    Note, selecting 'libart-2.0-2' for regex '2.0.2'
                    Note, selecting 'libaiksaurus-1.2-0c2a' for regex '2.0.2'
                    Note, selecting 'libgmime-2.0-2a' for regex '2.0.2'
                    Note, selecting 'libgmime-2.0-2' for regex '2.0.2'
                    Note, selecting 'libcegui-mk2-0c2a-dbg' for regex '2.0.2'
                    Note, selecting 'libcegui-mk2-0c2a' for regex '2.0.2'
                    Note, selecting 'libgmime-2.0-2-dev' for regex '2.0.2'
                    Note, selecting 'libgmime-2.0-2-doc' for regex '2.0.2'
                    Note, selecting 'libghc6-hgl-dev-3.2.0.2-861d8' for regex '2.0.2'
                    Note, selecting 'libghc6-hgl-prof-3.2.0.2-861d8' for regex '2.0.2'
                    Note, selecting 'libgtksourceviewmm-2.0-2' for regex '2.0.2'
                    Note, selecting 'openoffice.org-help-2.0.2' for regex '2.0.2'
                    Note, selecting 'libsigx-2.0-2' for regex '2.0.2'
                    Note, selecting 'libghc6-hgl-dev' instead of 'libghc6-hgl-dev-3.2.0.2-861d8'
                    Note, selecting 'libghc6-hgl-prof' instead of 'libghc6-hgl-prof-3.2.0.2-861d8'
                    E: Unable to locate package zabbix
                    It's a fresh install of Debian Squeeze.

                    What could I check?

                    Thanks for your help,

                    Christophe

                    Comment

                    • valor
                      Junior Member
                      • Sep 2012
                      • 4

                      #11
                      Originally posted by crahier
                      Hi,

                      I tested your procedure but I receive an error:

                      Code:
                      apt-get install zabbix 2.0.2
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      Note, selecting 'libaiksaurusgtk-1.2-0c2a' for regex '2.0.2'
                      Note, selecting 'libart-2.0-2' for regex '2.0.2'
                      Note, selecting 'libaiksaurus-1.2-0c2a' for regex '2.0.2'
                      Note, selecting 'libgmime-2.0-2a' for regex '2.0.2'
                      Note, selecting 'libgmime-2.0-2' for regex '2.0.2'
                      Note, selecting 'libcegui-mk2-0c2a-dbg' for regex '2.0.2'
                      Note, selecting 'libcegui-mk2-0c2a' for regex '2.0.2'
                      Note, selecting 'libgmime-2.0-2-dev' for regex '2.0.2'
                      Note, selecting 'libgmime-2.0-2-doc' for regex '2.0.2'
                      Note, selecting 'libghc6-hgl-dev-3.2.0.2-861d8' for regex '2.0.2'
                      Note, selecting 'libghc6-hgl-prof-3.2.0.2-861d8' for regex '2.0.2'
                      Note, selecting 'libgtksourceviewmm-2.0-2' for regex '2.0.2'
                      Note, selecting 'openoffice.org-help-2.0.2' for regex '2.0.2'
                      Note, selecting 'libsigx-2.0-2' for regex '2.0.2'
                      Note, selecting 'libghc6-hgl-dev' instead of 'libghc6-hgl-dev-3.2.0.2-861d8'
                      Note, selecting 'libghc6-hgl-prof' instead of 'libghc6-hgl-prof-3.2.0.2-861d8'
                      E: Unable to locate package zabbix
                      It's a fresh install of Debian Squeeze.

                      What could I check?

                      Thanks for your help,

                      Christophe
                      Sorry I did not provide the exact apt-get install command, "apt-get install zabbix 2.0.2" tells apt to install "zabbix" and install "2.0.2" which is not what we want.

                      After you added our repo and our key execute the following commands according to what you want to setup:

                      Zabbix server mysql:
                      Code:
                      apt-get install zabbix-server-mysql
                      Zabbix agent:
                      Code:
                      apt-get install zabbix-agent
                      Zabbix frontend:
                      Code:
                      apt-get install zabbix-frontend-php
                      You have more packages (untested) to choose from:
                      Zabbix server on pgsql: zabbix-server-pgsql
                      Zabbix proxy on mysql: zabbix-proxy-mysql
                      Zabbix proxy on pgsql: zabbix-proxy-pgsql

                      Good luck!

                      Guzman

                      Comment

                      • wolfovich
                        Junior Member
                        • Nov 2011
                        • 8

                        #12
                        valor, please update packages to 2.0.3 if not difficult course
                        Last edited by wolfovich; 06-10-2012, 20:12.

                        Comment

                        • 0siris
                          Member
                          Zabbix Certified Specialist
                          • Nov 2010
                          • 76

                          #13
                          Debian Version:
                          Code:
                          root@zabbixserver:~# cat /etc/debian_version
                          6.0.2
                          available packages:
                          Code:
                          root@zabbixserver:~# apt-cache search zabbix
                          zabbix-agent - network monitoring solution - agent
                          zabbix-frontend-php - network monitoring solution - PHP front-end
                          zabbix-proxy-mysql - network monitoring solution - proxy (using MySQL)
                          zabbix-proxy-pgsql - network monitoring solution - proxy (using PostgreSQL)
                          zabbix-server-mysql - network monitoring solution - server (using MySQL)
                          zabbix-server-pgsql - network monitoring solution - server (using PostgreSQL)

                          Comment

                          • eit
                            Junior Member
                            • Oct 2012
                            • 1

                            #14
                            Package problem

                            Hi valor, I tried your package. Thank you for building them.
                            But I hit two problems with your package. I installed zabbix-server-pgsql 2.0.2

                            1. zabbix-server can't start up, because it tries to read config from
                            /usr/etc/zabbix_server.conf. It should be /etc/zabbix_server.conf.

                            2. Your package lacks /usr/share/zabbix-server/images.sql, so I couldn't
                            intialize postgres database. I get that file from official source.

                            So, when you update your repository, could you fix them, please?

                            I thank you again for your work.

                            Comment

                            • avtlg
                              Junior Member
                              • Oct 2012
                              • 7

                              #15
                              Hi!
                              My english is very bad. Because I am non native english speaker.
                              I try install zabbix 2.0.2 on my debian host.
                              I add line in source.list and run aptitude update. But I get error
                              Code:
                              W: GPG error: http://repo.guruhub.com.uy squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D671FD5375A85299
                              uname -a
                              Code:
                              Linux ftp-debian 2.6.32-5-686 #1 SMP Sat May 5 01:33:08 UTC 2012 i686 GNU/Linux
                              Code:
                              # wget -q -O - http://repo.guruhub.com.uy/guruhub.apt.gpg | sudo apt-key add -
                              OK
                              What am I doing wrong?
                              thanx!
                              Last edited by avtlg; 13-10-2012, 19:57.

                              Comment

                              Working...