#apt update
#apt install -y autoconf gcc libc6 make wget unzip apache2 apache2-utils php libgd-dev openssl libssl-dev iptables make cmake
#cd /tmp
#wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/nagioscore/archive/nagios-4.4.6.tar.gz
#tar xzf nagioscore.tar.gz
#cd nagios
#./configure --with-httpd-conf=/etc/apache2/sites-enabled
#make install-groups-users
#usermod -a -G nagios www-data
#make all
#make install
#make install-daemoninit
#make install-commandmode
#make install-config
#make install-webconf
#a2enmod rewrite
#a2enmod cgi
#iptables -I INPUT -p tcp --destination-port 80 -j ACCEPT
#apt install -y iptables-persistent
(IPv4 Yes) (IPv6 No)
#htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
(password 12345bebas)
#systemctl restart apache2.service
#systemctl start nagios.service
#apt install -y autoconf gcc libc6 libmcrypt-dev make libssl-dev wget bc gawk dc build-essential snmp libnet-snmp-perl gettext
#cd /tmp
#wget --no-check-certificate -O nagios-plugins.tar.gz https://github.com/nagios-plugins/nagios-plugins/archive/release-2.3.3.tar.gz
#tar zxf nagios-plugins.tar.gz
#cd /tmp/nagios-plugins-release-2.3.3/
#./tools/setup
#./configure
#make
#make install
#systemctl restart nagios.service
192.168.1.1/nagios
user/pw nagiosadmin/12345bebas
Posting Komentar