Nagios Core Part 1: Server (CentOS) and Client (Linux & Windows) Setup Tutorial

preview_player
Показать описание
A tutorial on how to configure Nagios Core server and clients (Linux and Windows). Nagios Core is a monitoring and alerting software package that notify system administrators of any system or server issues.

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

Extract the Nagios source code tarball.
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

Change email address assoicated with install

Nagios web config file

make install-webconf

nagiosadmin account for Nagios web interface

service httpd restart

Install the Nagios Plugins
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.
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

iptables
modify /etc/sysconfig/iptables to allow 80 & 443
Рекомендации по теме
Комментарии
Автор

Straight up one of the best tutorials I've seen in the networking space. Not only did you walk us through the process but you dropped little gems of knowledge along the way. Thank you so much!!!!

johnredfield
Автор

Great video - thanks for the in depth but easy guide.

KTypeR
Автор

Lovely to see you are back seems ages since the last video i was having withdrawal symptoms have a great one

Bladerunner
Автор

Good for you to support the concept of SELinux and aiding others with keeping it enabled, so that those folks can maintain a strong security posture. Good work!

warron.french_food
Автор

Nice topic. It is very useful and helpful to me thank you

loknath
Автор

Thank you so much for this video. Straight forward and really helpful

bobanthony
Автор

hey. good to see that you are back! also look at icinga2. its opensource and amazing. it provides inbuilt HA and all the devops stuff as well !

SarfarazAhmad
Автор

Thank you very much SysAdmGirl, this video is very intuitive.

damara
Автор

Nice to have you back! can you make a review for PandoraFMS is really interesting monitoring system

sk
Автор

Excellent Video on installing Nagios Core Monitoring Server

venkatchari
Автор

Great video! Thank you and keep up the good work.

solacas
Автор

Thanks for the video I will be sure to check it out nice to see a video from you (2 I guess) anyway thanks again.

circuitman
Автор

Thank you for giving us wonderful lectures. I really love the way you teach us.
You have taught us almost everything related to nagios. Can you please explain nagios master slave setup and how to configure that. Or if there is any article than please share that.
Thanks in Advance

mohdazlan-mdby
Автор

I do like the way you explain, very precise and clear. Thanks, Miss. By the way, beautiful eyes.

iogarchi
Автор

Wooooh gatta KLAP for that. GOOD Detailing on such a video tut. THANKS.

stanleemoks
Автор

Happy to see u back! Can u exhibit how to install kali

fl
Автор

Just found this thread. You might be my hero (from one sysadingirl to another)

leeleethefrenchie
Автор

Nice, I will try to install it, but right now I'm using OpenManage, thanks for this video.

migueljimenez
Автор

nice one. thanks for making this video. can you give us a tour of your homelab??

BishishtBhatta
Автор

Well done !!! this girl is bad. She very knowledgeable. Thanks

romeonagha