Google Plus

Install Nagios Entreprise XI RHEL/Centos/SL

Written by Mel Kham on . Posted in Linux tutorials

Nagios XI is the most powerful IT infrastructure monitoring solution on the market. Nagios XI extends on proven, enterprise-class Open Source components to deliver thenagios_logo best monitoring solution for today’s demanding organizational requirements.

Designed for scalability and flexibility, XI is designed to make problematic IT monitoring tasks simple, while retaining the powerful attributes of its enterprise-class foundation blocks.

In this tutorial, will show how to install Nagios XI in RHEL/Centos/Sientific Linux

Before  install  Nagios  XI  You  have to  install  some  dependencies using the following commands :

./0-yum

Installs the Dag Wiers repo definition for RPM installations with yum

./1-prereqs

Installs required RPM, Perl, and other packages required for XI and its related
components. (will take a while to  download  and  install  all   required packages)

Some packages will fail to install, this is normal.

./2-usersgroups

Creates Nagios user and groups on the system

./3-dbservers

Initializes the Postgres and MySQL databases. Sets the MySQL root password to
‘nagiosxi’

./4-services

Adds entries to /etc/services

./5-sudoers

Modifies /etc/sudoers to allow the nagios user to run certain commands

./6-firewall

Updates the iptables definitions in /etc/sysconfig/iptables to allow traffic for various
components

./7-sendmail

This is currently a null operation and can be ignored.

./8-selinux

Disables SELinux by putting it into non-enforcing mode and modifying
/etc/selinux/config

./9-dbbackups

Installs backup scripts for MySQL and Postgres in the /root/scripts directory and creates backup directories in /store/backups

./10-phplimits

Increases memory limit for PHP to 64MB in /etc/php.ini

./11-sourceguardian

Installs the SourceGuardian loaders for 32-bit or 64-bit Linux platforms to
/usr/lib/php/modules or /usr/lib64/php/modules. SourceGuardian is required to
decrypt and run some protected PHP files distributed with Nagios XI. Loaders for
other platforms can be downloaded fromht tp : / / www. so u rce gu a rd ia n . co m/ i xe d s/

./12-mrtg

Modifies the MRTG config file in /etc/mrtg/mrtg.cfg to use the RRDTool format and

changes permissions so the webserver can write to the file.

./A-subcomponents

Installs various components required by Nagios XI – including Nagios Core, Nagios

Plugins, NDOUtils, PNP, extra plugins, webinject, etc.

./B-installxi

Installs the Nagios XI scripts and php files in /usr/local/nagiosxi, sets appropriate file/

directory ownership, and creates and htpasswd file for use with Nagios Core and

PNP.

./C-cronjobs

Installs cron jobs for the root and nagios users.

./D-chkconfigalldaemons

Sets all appropriate services to start up in runlevels 3 and 5.

./E-importnagiosql

Imports base object definitions (templates, commands, etc.) into NagiosQL for use

with Nagios Core

./F-startdaemons

Starts the NDOUtils, Nagios Core, and PNP daemons

./Z-webroot

Installs a welcome page in the root webserver directory /var/www/htm


When installation of the above dependecies is done withthout  issues,  you can acces  your Nagios page  by typing in you favorite browser the following:

  http://<xiserver>/

- Now  restart  your  Server   and  begin  the  Gui install  via  the  browser :



For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Freddy

    Is it also compatible with Ubuntu 11.04?

    • pirat9

      i don’t think so. :(

  • http://nagios.com Mike

    @Pirat9 – Can you email me? I would like to offer you a free entrance to the Nagios Conference this September.

  • yan

    have you missed a step at the start? tried to run ./0-yum and got command not found.

  • http://enteryoursiteURL... Rampal Kumar

    -bash: /home/ravi/downloads/nagiosxi/nagiosxi/create_postgres_db.sh: Permission denied
    ERROR: PostgresQL user ‘nagiosxi’ was not created – exiting.
    ERROR: Nagios XI database was not setup properly – exiting.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Dominik Bauer

|

thx a lot!

Maximiliano Osorio

|

Osom. Thank you.

Sam

|

Thanks much. It worked like a charm.

HailsandNails

|

Actually, what I see too much of, and what Microsoft actually (sorta) did with Windows 8 is think forward. And let’s be brutally honest. Windows 8 is actually NOT as bad as people is making it out, they’re just freakishly afraid of change (which Linux users are as well, it seems)

SK

|

Yes i will. Keep visiting. Subscribe us to get daily updates. Thanks for the comment

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .