Announcement

Collapse
No announcement yet.

Centreon 2 on RHEL

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Centreon 2 on RHEL

    Français:

    Nous regroupons ici l'ensemble des posts lié la Centreon 2 sur RHEL.

    English:

    We gather here all posts linked Centreon 2 on RHEL.
    Centreon 2.x

  • #2
    No major issues. However php5 and mysql5 are not in the rpm library. I used mysql community and compiled php5

    Comment


    • #3
      Compiled php5:

      ./configure --with-apxs2 --with-gd --with-mysql --with-snmp --with-pear --with-gettext --
      with-zlib

      Comment


      • #4
        Alternativ repository for PHP5: http://www.jasonlitka.com/yum-repository/
        Another option is to manually install the filter module, then it will work as well.

        Some small issues might arise with permissions on files but basically Centreon is working and the install script works without any error.

        Comment


        • #5
          php5 & mysql5 for Red Hat

          Yes finding php5 & mysql5 for Red Hat 4 isn't the easiest thing in the world.

          If you have a Red Hat subscription you can try here
          Red Hat Web Application Stack 1.0 Beta (for ES v. 4 x86)
          https://rhn.redhat.com/rhn/channels/...st.do?cid=5267

          If you're more of a CentOS user, they're calling it CentOS Plus
          http://centos.mirrors.tds.net/pub/li...lus/i386/RPMS/

          Scott

          Comment


          • #6
            Bonjour à tous,

            Je rencontre un souci concernant l'utilisation de certains scripts. En effet, j'ai cette erreur :

            [[email protected] libexec]# ./check_centreon_snmp_remote_storage -H 127.0.0.1 -n -d / -w 80 -c 90 -C public -v 1
            Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_centreon_snmp_remote_storage line 28.
            BEGIN failed--compilation aborted at ./check_centreon_snmp_remote_storage line 28.


            Quelqu'un peut il me fournir un peu d'aide svp ?

            Voici la version de la RH :

            [[email protected] libexec]# cat /etc/issue
            Red Hat Enterprise Linux Server release 5.2 (Tikanga)

            Merci d'avance de votre aide.

            Cdt.

            Comment


            • #7
              Il usffit de voir pourquoi tu n'as pas le fichier Net/SNMP.pm. Et là en moins de 30s sous google c'est trouvé.
              Auteur de Shinken, outil de supervision compatible avec Nagios et orientée supervision distribuée hautement disponible et mulitplateforme.

              Comment


              • #8
                No major issues while using centreon as being admin.

                Manually downloaded the RPMs from this location.
                http://autoinstall.plesk.com/PSA9/up...l5-i386/9.0.0/

                Thx plesk

                Applying ACLs and loggin onto centreon as a limited user results in DB errors. Db Prefix doesnt seem to be added in the queries... :confused:

                Comment


                • #9
                  I like to use a maintained repository when possible. I added the centos 5 testing repository to /etc/yum.repos.d/

                  http://dev.centos.org/centos/5/CentOS-Testing.repo

                  I modified the .repo :
                  includepkgs=php* postgresql*

                  MySQL 5.0 is included with RHEL 5.

                  I use dag's repository for nagios.
                  I compiled a dag RPM I found for ndo utils:
                  ndoutils-1.4-0.beta7.3.rf.src.rpm I can send the 64bit RPM if someone wants it.

                  Everything seems to work very well and I have maintained RPMs from a few trusted repositories.

                  Comment


                  • #10
                    CentOS5 + rpmforge

                    I'm running CentOS-5 (RHEL-5-source-compatible) for x86_64-arch. Everything is installed by yum which runs on RHEL, too (in addition to RH's up2grade). Till now I haven't compiled anything for this "project" but Centreon's install.sh..

                    For installing Nagios, etc. I prefer "rpmforge" that delivers most of the packages (packager Dag Wieers) you need for Centreon. The best way to use it, is to download and install the package "rpmforge-release" first in order to enable this additional repository.

                    It is possible that this list contains more than what you really need (from "yum list installed") and some packages are from standard repository, not from rpmforge:

                    Code:
                    fping.x86_64
                    gd-devel.x86_64 
                    httpd.x86_64
                    mtr.x86_64
                    mysql.x86_64
                    nagios.x86_64
                    nagios-devel.x86_64
                    nagios-nrpe.x86_64
                    nagios-nsca.x86_64
                    nagios-nsca-client.x86_64
                    nagios-plugins.x86_64
                    nagios-plugins-nrpe.x86_64
                    ndoutils.x86_64
                    net-snmp.x86_64
                    net-snmp-devel.x86_64 
                    net-snmp-perl.x86_64 
                    perl-Archive-Tar.noarch
                    perl-BSD-Resource.x86_64
                    perl-Compress-Raw-Bzip2.x86_64
                    perl-Compress-Raw-Zlib.x86_64
                    perl-Convert-ASN1.noarch
                    perl-Crypt-DES.x86_64
                    perl-Crypt-PasswdMD5.noarch
                    perl-DBD-mysql.x86_64
                    perl-DBI.x86_64
                    perl-Digest-SHA1.x86_64
                    perl-HTML-Parser.x86_64
                    perl-HTML-Tagset.noarch
                    perl-IO-Compress.noarch
                    perl-IO-Socket-INET6.noarch
                    perl-IO-Socket-SSL.noarch
                    perl-IO-Zlib.noarch
                    perl-Net-DNS.x86_64
                    perl-Net-Daemon.noarch
                    perl-Net-SNMP.noarch
                    perl-Net-SSLeay.x86_64
                    perl-Package-Constants.noarch
                    perl-PlRPC.noarch
                    perl-Socket6.x86_64
                    perl-rrdtool.x86_64
                    php.x86_64
                    php-gd.x86_64
                     php-ldap.x86_64
                    php-mbstring.x86_64
                    php-mcrypt.x86_64
                    php-snmp.x86_64
                    php-xml.x86_64
                    phpmyadmin.noarch
                    rpmforge-release.x86_64
                    rrdtool.x86_64
                    rrdtool-devel.x86_64
                    rrdutils.noarch
                    rsync.x86_64
                    sed.x86_64
                    sudo.x86_64
                    Especially PHP-stuff is missing so you have to fetch some packages from PEAR:
                    First I had to update pear and Archive_Tar itself:
                    Code:
                    pear update pear --force
                    For installation I used the Howto for an Ubuntu-installation ( http://www.nagios-wiki.de/nagios/how...buntu_centreon ), although most of the paths during the installation procedure must be others than under Ubuntu.
                    During the web-installation I was asked for missing modules which could be post-installed from the PEAR repository with "pear" during the web-installation dialog followed by an "apachectl graceful" as root.

                    The installation script of Cetreon on RHEL/CentOS-5 will complain the /etc/sudoers because of a "Defaults requiretty". The solution is to add (!) a line with !requiretty at the end of the CENTREON-block:
                    Code:
                    CENTREON   ALL = NOPASSWD: /etc/init.d/centstorage start
                    ## END: CENTREON SUDO
                    Defaults:CENTREON    !requiretty

                    Comment


                    • #11
                      Hi,
                      I want to install centreon on redhat.

                      Install centreon obligatory with rpm (I can not install the compiled version because of specific certification architecture)

                      The distribution Centreon Enterprise Server is based on centos.
                      My idea is to take over the rpm and change specification ( changes to be ready at the deps of redhat).

                      But I can not find the sources of generating the rpm package.
                      And I can not recover the specfiles to repackage the rpm

                      Is it possible to have?

                      Thanks,

                      Comment


                      • #12
                        You have two solutions:

                        1) Chroot the environement to install CES on RedHat;
                        2) You can download the source RPMs using a program from the yum-utils package, by:
                        $ yumdownloader --source sourcepackage-name

                        Be careful: To use this command you need yum-utils package.
                        Open Source Monitoring Addict
                        OS: Ubuntu / Debian / CentOS / RedHat / Solaris / Arch Linux / Open Suse


                        ! NO SUPPORT IN PRIVATE MESSAGE !

                        Comment


                        • #13
                          Hi benoit.b,

                          You have this solution too::

                          Add CES repo on your redhat to have the rpms.


                          [ces-standard]
                          name=Centreon Entreprise Server RPM repository for ces $releasever
                          baseurl=http://yum.centreon.com/standard/stable/$basearch/
                          enabled=1
                          gpgcheck=1
                          gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES

                          [ces-standard-noarch]
                          name=Centreon Entreprise Server RPM repository for ces $releasever
                          baseurl=http://yum.centreon.com/standard/stable/noarch/
                          enabled=1
                          gpgcheck=1
                          gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES

                          [ces-standard-deps]
                          name=Centreon Entreprise Server dependencies RPM repository for ces $releasever
                          baseurl=http://yum.centreon.com/standard/stable/dependencies/$basearch/
                          enabled=1
                          gpgcheck=1
                          gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES

                          [ces-standard-deps-noarch]
                          name=Centreon Entreprise Server dependencies RPM repository for ces $releasever
                          baseurl=http://yum.centreon.com/standard/stable/dependencies/noarch/
                          enabled=1
                          gpgcheck=1
                          gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES
                          Can you give us you're feedback after ?

                          Thanks ;-)
                          Open Source Monitoring Addict
                          OS: Ubuntu / Debian / CentOS / RedHat / Solaris / Arch Linux / Open Suse


                          ! NO SUPPORT IN PRIVATE MESSAGE !

                          Comment

                          Working...
                          X