Ad Widget

Collapse

Zabbix repository updated to 1.8.9 / Zabbix-beta repository updated to 1.9.8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ericgearhart
    Senior Member
    • Jan 2009
    • 115

    #1

    Zabbix repository updated to 1.8.9 / Zabbix-beta repository updated to 1.9.8

    Hello folks,

    The Zabbix repository on the OpenSUSE build service has been updated to the latest stable version of Zabbix, 1.8.9:



    Also the Zabbix-beta repository has been updated to Zabbix 1.9.8:




    I also added CentOS 6 and RHEL 6 builds, just wget down the repo files located here into your /etc/yum.repos.d to use the RPMs:

    Latest Stable Zabbix (zabbix 1.8.9):
    CentOS 5:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix/CentOS_CentOS-5/home:ericgearhart:zabbix.repo
    CentOS 6:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix/CentOS_CentOS-6/home:ericgearhart:zabbix.repo
    RHEL 5:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix/RedHat_RHEL-5/home:ericgearhart:zabbix.repo
    RHEL 6:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix/RedHat_RHEL-6/home:ericgearhart:zabbix.repo


    Beta Zabbix (zabbix 1.9.8):
    CentOS 5:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix-beta/CentOS_CentOS-5/home:ericgearhart:zabbix-beta.repo
    CentOS 6:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix-beta/CentOS_CentOS-6/home:ericgearhart:zabbix-beta.repo
    RHEL 5:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix-beta/RedHat_RHEL-5/home:ericgearhart:zabbix-beta.repo
    RHEL 6:
    Code:
    http://download.opensuse.org/repositories/home:/ericgearhart:/zabbix-beta/RedHat_RHEL-6/home:ericgearhart:zabbix-beta.repo
    Last edited by ericgearhart; 29-11-2011, 20:27.
  • ericgearhart
    Senior Member
    • Jan 2009
    • 115

    #2
    I have removed the userdel statement in the %postun section of the spec file that was used to remove the zabbix user when packages are uninstalled... that should fix the problem people were having with the repo where if they upgraded their zabbix user disappeared (this should fix it... please test these packages in a VM or in a lab or something, I'm just some guy building spec files and building RPMs - if you're just blindly deploying these packages to production you're crazy )

    Unfortunately, the packages that are currently out there "in the wild" still suffer from this problem. If I can find some rpm uninstall option that specifies "don't run post uninstallation scripts" I'll post more here
    Last edited by ericgearhart; 03-12-2011, 16:51.

    Comment

    • ericgearhart
      Senior Member
      • Jan 2009
      • 115

      #3
      I found a forum thread where the problem of uninstalling packages and skipping %postun is discussed:

      Linux Forums is a Linux Help community where users share their knowledge, solve problems, learn and hang out! Join us and find out more about Linux.


      Basically removing the packages using 'rpm -e --noscripts' should do the trick. Combine that with an 'rpm -qa | grep zabb' and a one-line command that removes all the zabbix packages without running %postun should do the trick

      The link above mentions that both commands in %preun and commands in %postun would be skipped, but I'm looking at the spec file and no %preun section is defined, so it's a non-issue

      Comment

      • ericgearhart
        Senior Member
        • Jan 2009
        • 115

        #4
        Originally posted by mushero
        Can we get builds with IPMI enabled ?
        I now have builds of Zabbix beta (1.9.8) that have IPMI enabled... basically just adding "BuildRequires OpenIPMI" and "--with-openipmi" to the spec did the trick. RHEL 6 doesn't include OpenIPMI apparently, but CentOS 5&6 and RHEL 5 built just fine.

        Comment

        Working...