Berikut ini langkah-langkah cara instal nagios core di centos 7 :
1. Instal paket yang dibutuhkan oleh system :
yum install httpd php gcc glibc glibc-comman gd gd-devel make net-snmp openssl-devel xinetd unzip -y
click:
2. Membuat User dan User Group untuk Nagios :
useradd nagios
passwd nagios
groupadd nagcmd
usermod -G nagcmd nagios
usermod -G nagcmd apache
click:
3. Download dan Extract Paket Nagios Core :
cd /opt
wget -c https://sourceforge.net/projects/nagios/files/nagios-4.x/nagios-4.4.3/nagios-4.4.3.tar.gz
click:
lalu ekstrak :
click:
4. Instalasi Nagios Core :
cd nagios-4.4.3
ls
./configure --with-command-group=nagcmd
click:
Setelah itu compile Nagios dengan perintah berikut:
make all