|
Nagios install on Opensuse 11.1
Nagios is a a network monitoring application. Nagios will alert a set number of e-mails when issues occur and will notify the same e-mail when service or host are back to normal. Opensuse 11.1 has Nagios 3.0.6 in the default repository.
Nagios required components to function.
1. A Linux operating system and for this tutorial you will need Opensuse 11.1
2. A C compiler – installed in opensuse by default
3. Apache – we will install this component
Opensuse 11.1 components
1. nagios – The Nagios install package
2. nagios-www – The web server for Nagios
3. nagios-plugins – The main plug-in package
4. nagios-plugins-extra – All the extra plugins
Install Nagios on Opensuse 11.1
I will show three option on how to install Nagios on Opensuse 11.1.
Option 1: Yast Gui install
1. Type on a command line:
yast2
2. Go to the software manger
3. Search got nagios
4. Install the following pages
nagios
nagios-www
nagios-plugins
5.Type on a command line to set password:
htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin
5.restart Apache by typing on a command line:
service apache2 restart
6.Restart Nagios by typing on a command line:
service nagios restart
Option 2: Yast command line install
1.Type on a command line to install nagios:
yast –install nagios; yast --install nagios-www; yast –install nagios-plugins
2.Type on a command line to set password:
htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin
3. Restart Apache by typing on a command line:
service apache2 restart
4.Restart Nagios by typing on a command line:
service nagios restart
Option 3: Zypper command line install
Replace step 1 in option 2 with the command listed below
zypper install nagios; zypper install nagios-www; zypperinstall nagios-plugins
then follow the rest of option 2.
Nagios Install on openSUSE 11.1
Nagios is a network monitoring application. Nagios will alert a set number of e-mails when issues occur and will notify the same e-mails when service or host is back to normal. openSUSE 11.1 has Nagios 3.0.6 in the default repositories.
|