Enviado em 08/06/2015 - 12:53h
Ola pessoal, é a primeira vez que tento instalar o nagios e configurar o mesmo, mas não estou conseguindo fazer o mesmo funcionar, não carrega na url quando coloco http://localhost/nagios , vou mostrar o passo a passo do que eu fiz baseado em tutoriais que encontrei na internet:Enviado em 08/06/2015 - 13:26h
Vou explicar como faço, okay?apt-get install sudo mailx lsb-release build-essential apache2 apache2-mpm-prefork php5 php5-mysql php-pear php5-ldap php5-snmp php5-gd mysql-server libmysqlclient15-dev rrdtool librrds-perl libconfig-inifiles-perl libcrypt-des-perl libdigest-hmac-perl libdigest-sha1-perl libgd-gd2-perl snmp snmpd libnet-snmp-perl libsnmp-perl libgd2-xpm libgd2-xpm-dev libpng12-dev postfix php-html-template-it openssl
wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz tar xzf nrpe-2.12.tar.gz # cd xzf nrpe-2.12 ./configure make all make install-plugin
useradd -m nagios passwd nagios groupadd nagcmd usermod -G nagios,nagcmd nagios usermod -G nagios,nagcmd www-data
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.8.tar.gz tar -xzf nagios-4.0.8.tar.gz cd nagios-4.0.8 ./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --enable-nanosleep --enable-event-broker make all make install make install-init make install-commandmode make install-config make install-webconf
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
service apache2 restart
update-rc.d nagios defaults
apt-get install dnsutils fping libssl-dev libldap2-dev libpq-dev libradiusclient-ng-dev
wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz tar -xzf nagios-plugins-2.0.3.tar.gz cd nagios-plugins-2.0.3 ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/bin/openssl --enable-perl-modules make make install
service nagios start
Enviado em 08/06/2015 - 15:17h
apt-get install sudo mailx lsb-release build-essential apache2 apache2-mpm-prefork php5 php5-mysql php-pear php5-ldap php5-snmp php5-gd mysql-server libmysqlclient15-dev rrdtool librrds-perl libconfig-inifiles-perl libcrypt-des-perl libdigest-hmac-perl libdigest-sha1-perl libgd-gd2-perl snmp snmpd libnet-snmp-perl libsnmp-perl libgd2-xpm libgd2-xpm-dev libpng12-dev postfix php-html-template-it openssl
wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz tar xzf nrpe-2.12.tar.gz # cd xzf nrpe-2.12 ./configure make all make install-plugin
useradd -m nagios passwd nagios groupadd nagcmd usermod -G nagios,nagcmd nagios usermod -G nagios,nagcmd www-data
wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.8.tar.gz tar -xzf nagios-4.0.8.tar.gz cd nagios-4.0.8 ./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --enable-nanosleep --enable-event-broker make all make install make install-init make install-commandmode make install-config make install-webconf
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
service apache2 restart
update-rc.d nagios defaults
apt-get install dnsutils fping libssl-dev libldap2-dev libpq-dev libradiusclient-ng-dev
wget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz tar -xzf nagios-plugins-2.0.3.tar.gz cd nagios-plugins-2.0.3 ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/bin/openssl --enable-perl-modules make make install
service nagios start
Enviado em 08/06/2015 - 21:05h
make install-webconf--with-httpd-conf=/etc/apache2/conf-available
Enviado em 09/06/2015 - 09:58h
make install-webconf--with-httpd-conf=/etc/apache2/conf-available
Enviado em 09/06/2015 - 10:45h
make all make install make install-init make install-commandmode make install-config make install-webconf
make all make fullinstall
Enviado em 09/06/2015 - 12:05h
Tenta o que o amarildosertorio mandou. Fica assim:make all make install make install-init make install-commandmode make install-config make install-webconf --with-httpd-conf=/etc/apache2/conf-available
Enviado em 09/06/2015 - 14:23h
make all make install make install-init make install-commandmode make install-config make install-webconf --with-httpd-conf=/etc/apache2/conf-available
Enviado em 09/06/2015 - 14:32h
Dá um make uninstall antes, e depois tenta assim:./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --with-httpd-conf=/etc/apache2/conf-available --enable-nanosleep --enable-event-broker make all make fullinstall
Enviado em 09/06/2015 - 17:04h
./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --with-httpd-conf=/etc/apache2/conf-available --enable-nanosleep --enable-event-broker make all make fullinstall
Enviado em 09/06/2015 - 17:45h
Para adicionar máquinas Windows, você deve instalar o NSClient++ nelas.Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Como converter imagens PNG/JPEG para SVG em linha de comando
Fez porcaria no teu repositório Git? Aprenda a restaurar uma versão anterior do seu código!
Restaurando Fontes de Download do Hydra no Linux
Atualizando "na marra" o YT-DLP quando começa a dar erro de downloads
Como instalar o WPS com interface e corretor ortográfico em PT-BR no Arch Linux
[AJUDA] Problemas ao atualizar BIOS da Gigabyte B550M K rev. 1.1 — “RO... (6)
Comprei thin client dell wyse tx0 3010 ele tá com Login é senha nao v... (0)