How to install FAN on CentOS/RHEL 5

FAN is based on a minimal CentOS. But it’s possible to install all FAN’s packages under RHEL. This post explain how to install all packages FAN 2.1 under Red Hat Enterprise Server 5.X 32 bits

Prerequiste

Install epel-release

# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Install Graphviz repo :

# cd /etc/yum.repos.d/
# wget http://www.graphviz.org/graphviz-rhel.repo

Install FAN repo :

# wget http://www.fullyautomatednagios.org/FAN/repository/2.4/i386/fan-repo-2.4-fan.1.noarch.rpm
# yum localinstall --nogpgcheck fan-repo-2.4-fan.1.noarch.rpm

 

Installation (stable version 2.4)

Please choose your installation type :

  • Standalone : fan-standalone
  • Distributed monitoring : fan-central, fan-poller, fan-database

 

FAN standalone

# yum install fan-standalone

FAN poller

yum install fan-poller

FAN central

yum install fan-central

FAN database

yum install fan-database

 

See the post to configure the distributed monitoring for fan-poller, fan-central or fan-database.

Finish

Restart the server to perform the installation.

Open your browser and enter the FAN IP’s : http://IP_FAN/

For authentification, use login “nagiosadmin” and password “nagiosadmin”.

  • #1 written by Ryan
    about 5 years ago

    Can’t get this to work in Centos 6.5 –

    After running yum install fan-standalone -

    –> Finished Dependency Resolution
    Error: Package: perl-Mail-Sendmail-0.79-9.el5.1.noarch (epel)
    Requires: perl(:MODULE_COMPAT_5.8.8)
    Error: Package: wikigenerator-0.3-fan.5.noarch (FAN)
    Requires: perl(Mysql)
    Error: Package: nagios-ndoutils-1.4-fan.30.x86_64 (FAN)
    Requires: libmysqlclient.so.15()(64bit)
    Error: Package: perl-List-MoreUtils-0.33-5.el5.x86_64 (epel)
    Requires: perl(:MODULE_COMPAT_5.8.8)
    Error: Package: SOAPpy-0.11.6-12.el5.noarch (epel)
    Requires: python(abi) = 2.4
    Installed: python-2.6.6-51.el6.x86_64 (@base)
    python(abi) = 2.6
    Available: python26-2.6.8-2.el5.x86_64 (epel)
    python(abi) = 2.6
    Error: Package: nagios-plugin-postgresql-2.6.0-fan.3.x86_64 (FAN)
    Requires: perl(:MODULE_COMPAT_5.8.8)
    Error: Package: nagios-ndoutils-1.4-fan.30.x86_64 (FAN)
    Requires: libmysqlclient.so.15(libmysqlclient_15)(64bit)
    Error: Package: webinject-1.41-fan.3.x86_64 (FAN)
    Requires: perl(:MODULE_COMPAT_5.8.8)

  • #2 written by Ryan
    about 5 years ago

    And yes, I followed all steps before that (no error messages).


three + = 7