Installing Nagios3
Installing Nagios on Linux / Ubuntu is straight forward and simple...
Step: 1. apt-key update
Step: 2. apt-get update
Step 3. apt-get install y nagios3
* During the run you will asked to set domain, email and admin user
Step 3. apt-get install y nagios3
* During the run you will asked to set domain, email and admin user
That's it....
#Start nagios
By script -> /etc/init.d/nagios3 start
Manual -> nagios3 -d etc/nagios3/nagios.cfg
By script -> /etc/init.d/nagios3 start
Manual -> nagios3 -d etc/nagios3/nagios.cfg
#reloading nagios
By Script -> /etc/init.d/nagios3 reload
Manual -> kill -HUP
By Script -> /etc/init.d/nagios3 reload
Manual -> kill -HUP
#Stop nagios
By Script -> /etc/init.d/nagios3 stop
Manual -> kill
By Script -> /etc/init.d/nagios3 stop
Manual -> kill
#To verify your configuration
nagios3 -v etc/nagios3/nagios.cfg
nagios3 -v etc/nagios3/nagios.cfg