What is Opesview
Opesview is an open source network, server and application monitoring tool. It is released under the GNU General Public License (GPL) version 2. Opsview uses Nagios Core as its monitoring 'engine' and incorporates Nagvis, NagiosGraph, MRTG, NMIS into a single tool. Opsview provides a web user interface that allows system administrators to access monitoring views and configure monitoring settings.
Opesview is an open source network, server and application monitoring tool. It is released under the GNU General Public License (GPL) version 2. Opsview uses Nagios Core as its monitoring 'engine' and incorporates Nagvis, NagiosGraph, MRTG, NMIS into a single tool. Opsview provides a web user interface that allows system administrators to access monitoring views and configure monitoring settings.
Operating System => RHEL 5.5(centos)
Opsview Installation Steps
Please make sure below packages must be installed on the system
- libmcrypt
- mrtg
- rrdtool-perl
- rrdtool
- Mysql*
- Apache
- perl*
Note:- if you want to be away from perl dependency issue then please install rpmforge.
wget ftp://fr2.rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
else you can also installed Epel repo but if you use this it will through some perl dependency issue.
wget ftp://fr2.rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
else you can also installed Epel repo but if you use this it will through some perl dependency issue.
Epel repositories
Set up EPEL repository to install any necessary dependancies by downloading and installing the EPEL release package
root@shekhar:~
rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Opsview repositories
Then, create a repo file
/etc/yum.repos.d/opsview.repo
containing the following lines:[opsview] name = Opsview baseurl = http://downloads.opsera.com/opsview-community/latest/yum/centos/5Server/
enabled = 1 protect = 0 gpgcheck = 0
once this is done now install opsview
root@shekhar:~# yum install opsview
Post-installation steps
After the Opsview packages have been installed, it is necessary to configure Opsview and its databases.
1. The rest of the steps should be performed as the
nagios
userroot@shekhar:~#su - nagios
2. Edit the opsview configuration file and amend the password as you see fit to secure the system (those passwords that should be changed as set to changeme by default)
nagios@shekhar:~$ vim /usr/local/nagios/etc/opsview.conf # change passwords in this file
3. Set up the Opsview mysql database users with the necessary permissions
nagios@shekhar:~$ /usr/local/nagios/bin/db_mysql -u root -p{password}
4. Install the required databases
nagios@shekhar:~$ /usr/local/nagios/bin/db_opsview db_install nagios@shekhar:~$ /usr/local/nagios/bin/db_runtime db_install nagios@shekhar:~$ /usr/local/nagios/bin/db_odw db_install
5. Generate all the necessary configuration files for Opsview and Nagios Core to run
nagios@shekhar:~$ /usr/local/nagios/bin/rc.opsview gen_config
6. Switch to Root then You can now startup the web application server:
root@shekhar:~$ su - root root@shekhar:~# /etc/init.d/opsview-web start
The Opsview serviceis now listening on port 3000, i.e. http://serverip:3000/
4. As
root
, restart Apacheroot@shekhar:~# /etc/init.d/httpd restart
You can now access Opsview at http://serverip:3000
Login as Admin user using below credentials.
username: admin password: initial
No comments:
Post a Comment