Playback starts YouTube’s embedded player (privacy-enhanced mode).
Nagios Core Part 1: Server (CentOS) and Client (Linux & Windows) Setup Tutorial
ChannelSysAdmGirlDescription from the creator
Download Nagios Core: nag.is/coresys
Download Nagios XI: nag.is/xisys
Download Nagios Plugins: nag.is/plugsys
Website: nagios.com
WATCH PART 2: youtu.be/wKXVz_9GDbM
Thank you for watching!! Please let me know how you are using Nagios XI or Core in your environment.
Please subscribe to get updates on new videos :)
Twitter: sysadmgirl
Facebook: sysadmgirl
Prerequisites
yum install httpd php gcc glibc glibc-common gd gd-devel
Accounts:
/usr/sbin/useradd -m nagios
passwd nagios
/usr/sbin/groupadd nagcmd # Used for Web Interface
/usr/sbin/usermod -a -G nagcmd nagios
/usr/sbin/usermod -a -G nagcmd apache
Download source code
wget sourceforge.net/projects/nagios/files/nagios-4.…
wget nagios-plugins.org/download/nagios-plugins-2.1.…
Extract the Nagios source code tarball.
tar -xvzf nagios-4.1.1.tar.gz
cd nagios-4.1.1
Run the Nagios configure and compile source code
./configure --with-command-group=nagcmd
make all
make install
make install-init
make install-config
make install-commandmode
vi /usr/local/nagios/etc/objects/contacts.cfg
Change email address assoicated with install
Nagios web config file
make install-webconf
nagiosadmin account for Nagios web interface
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
service httpd restart
Install the Nagios Plugins
tar xzf nagios-plugins-2.1.1.tar.gz
cd nagios-plugins-2.1.1
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install
Add Nagios services
chkconfig --add nagios
chkconfig nagios on
Verify the sample Nagios configuration files.
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
service nagios start
Check SELinux
getenforce
Change to permissive mode.
setenforce 0
Modifiy /etc/selinux/config for system to remain in permission mode
OR modifiy selinux permissions to allow nagios
chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/
chcon -R -t httpd_sys_content_t /usr/local/nagios/share/
Log into Nagios web interface
username: nagiosadmin
password: set with htpasswd util
localhost/nagios/
iptables
modify /etc/sysconfig/iptables to allow 80 & 443
About this tutorial
SysAdmGirl published this 17:02 video tutorial on October 25, 2016. It has been watched 139,350 times on YouTube.
- Channel
- SysAdmGirl
- Category
- Science & Technology
- Duration
- 17:02
- Published
- October 25, 2016
- Views
- 139,350
- Likes
- 1,419
Tags
Share
Further reading
-
Nagios XI: Server (CentOS) and Client (Linux & Windows) Setup ...
edubanq.com
Nagios XI: Server (CentOS) and Client (Linux & Windows) Setup Tutorial ... . stick with Nagios core. ... Insert image in the database Part 2.
-
How to Install and Configure Nagios on CentOS 7 | Linuxize
linuxize.com
Nagios is one of the most popular open-source monitoring systems. Nagios keeps an inventory of your entire IT infrastructure and ensures your networks, servers, applications, services, and processes are up and running.…
-
How to Install and Configure Nagios Core on CentOS 8 / RHEL 8
linuxtechi.com
Step 4: Download and install Nagios core. We can now proceed and install Nagios Core. The latest stable version in Nagios 4.4.5 which was released on August 19, 2019. But first, download the Nagios tarball file from its…
This tutorial in other languages
- FRNagios de base Partie 1: serveur (CentOS) et le client (Linux et Windows) Configuration Tutorial
- ESNagios Core Parte 1: Server (CentOS) y el cliente (Linux y Windows) Configuración Tutorial
- PTNagios Núcleo Parte 1: servidor (CentOS) e Cliente (Linux e Windows) Configuração Tutorial
- ITNagios Nucleo Parte 1: server (CentOS) e Client (Linux e Windows) Installazione Tutorial
- DENagios Core-Teil 1: Server (CentOS) und Client (Linux & Windows) Setup-Tutorial
- NLNagios Core Deel 1: Server (CentOS) en Client (Linux en Windows) Setup Tutorial
- RUNagios Основная часть 1: Server (CentOS) и клиент (Linux и Windows) Настройка Учебник
- PLNagios Rdzeń Część 1: Server (CentOS) i Client (Linux i Windows) Konfiguracja Tutorial
- JANagiosのコアパート1:サーバ(CentOSの)とクライアント(Linuxの&Windowsの場合)セットアップチュートリアル
- ARNagios الأساسية الجزء 1: خادم (سينت أو إس) والعميل (لينكس ويندوز) إعداد دروس
- HINagios कोर भाग 1: सर्वर (CentOS) और क्लाइंट (लिनक्स और Windows) सेटअप ट्यूटोरियल
- IDNagios Inti Bagian 1: Server (CentOS) dan Client (Linux & Windows) Pengaturan Tutorial