Ubuntu - install nagios Kategoria: Linux | Tagi: nagios, ubuntu | Autor: Bartłomiej Gałęzia

http://askubuntu.com/questions/145518/how-do-i-install-nagios

http://askubuntu.com/questions/155248/how-can-i-have-nagios-alerts-emailed-to-my-gmail

Server:

sudo apt-get install -y nagios3
sudo vim /etc/nagios3/nagios.cfg
check_external_commands=1
sudo service apache2 restart
vim /etc/group
nagios:x:114

Change it to

nagios:x:114:www-data
sudo chmod g+x /var/lib/nagios3/rw
sudo chmod g+x /var/lib/nagios3
sudo service nagios3 restart
sudo service apache2 restart

Client:

https://www.digitalocean.com/community/articles/how-to-install-nagios-on- ubuntu-12-10

apt-get install -y nagios-plugins nagios-nrpe-server

vim /etc/nagios/nrpe.cfg

…
allowed_hosts=198.211.117.12
…

service nagios-nrpe-server restart

od server:

cd /etc/nagios3/conf.d
cp localhost_nagios2.cfg picza.cfg
vim picza.cfg

service nagios3 restart

Windows:

http://sourceforge.net/projects/nscplus/

http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html

Dodaj komentarz

Brak komentarzy, bądź pierwszy i dodaj swój komentarz