None
You are not logged in.
You are not logged in.
| Nagios Install on openSUSE 11.1 |
|
|
|
| Monitoring - Nagios | ||||||||||||
| Written by Marcus Lee Beach | ||||||||||||
| Wednesday, 02 September 2009 00:00 | ||||||||||||
|
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.1Nagios 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.
Nagios Required Components
Opensuse 11.1 Components
Install Nagios on Opensuse 11.1I will show three options on how to install Nagios on Opensuse 11.1.
Option 1: Yast Gui Install1. Type the command listed below on a command line:
2. Go to the software manager
3. Search for Nagios 4. Install the following packages:
5. Type the command listed below on a command in order to set password:
6. Restart Apache by typing the command listed below on a command line:
7. Restart Nagios by typing the command listed below on a command line:
Option 2: Yast Command Line Install1.Type the command listed below on a command line in order to install nagios:
2.Type the command below on a command line to set the password for nagiosadmin user:
3. Restart Apache by typing the command listed below on a command line:
4. Restart Nagios by typing the command listed below on a command line:
Option 3: Zypper Command Line Install1. Type on a command listed below on a command line to install nagios with zypper:
Nagios with openSUSE 11.1Suse has changed some directories to make Nagios fit with the distro. Nagios directory is /etc/nagios The Nagios object directory is /etc/nagios/objects The Nagios plugin directory /usr/lib/nagios/plugins The Nagios check command works with the command listed below:
Documentation and QuestionsOfficial Nagios documentation is located at http://support.nagios.com/knowledgebase/officialdocs If you have any questions, please see our Server Admin Forum at http://www.the-server-admin.com/server-admin-forum
|
||||||||||||
| Last Updated on Thursday, 04 February 2010 20:42 |


