Installation
Ensure the messaging system is installed and configured first.
Install the following packages based on the role of the server:
Opsview master
Follow the instructions below based on your platform.
When Rancid is installed, run send2slaves on the master to send new rancid plugin files to slaves.
Debian / Ubuntu
The repository sources.list configuration is slightly different based on your OS.
Etch
Add to your sources.list:
deb http://{username}:{password}@downloads.opsview.com/opsview-enterprise/latest/apt etch main
deb http://{username}:{password}@downloads.opsview.com/opsview-rancid/latest/apt etch main
Lenny / Hardy
Add to your sources.list:
deb https://{username}:{password}@downloads.opsview.com/opsview-enterprise/latest/apt <OS> main
deb https://{username}:{password}@downloads.opsview.com/opsview-rancid/latest/apt <OS> main
Where OS is one of:
- lenny
- hardy
Install APT packages
You can add repository keys to your system if you want to ensure the repository is signed.
apt-get update apt-get install opsview-rancid opsview-rancid-master
Note: Opsview and Opsview Web will be restarted as part of the installation
If this comes back with:
Failed to fetch http://USER:PASSWORD@downloads.opsview.com/opsview-rancid/latest/apt/dists/etch/main/binary-amd64/Packages.gz 401 Authorization Required
Then you probably have the wrong credentials.
RedHat / CentOS
Add to your repository list:
[opsview_rancid]
name = Opsview Rancid
baseurl = https://{username}:{password}@downloads.opsview.com/opsview-rancid/latest/yum/<OS>/5/$basearch
enabled = 1
protect = 0
gpgcheck = 0
Where OS is one of:
- centos
- rhel
yum makecache yum install opsview-rancid opsview-rancid-master
Note: Opsview and Opsview Web will be restarted during the installation.
If you get an error like:
https://downloads.opsview.com/opsview-rancid/latest/yum/redhat/5/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required
You probably have the wrong credentials.
Solaris 10
Note: You need to use Opsview on Solaris with Coolstack.
Install these prerequisite packages, available from Solaris Companion disk or Sun Freeware:
- SMCtcl (tcl-8.5.3-sol10-x86-local)
- SMCexpct (expect-5.43.0-sol10-x86-local)
- SMCdb (db-4.2.52.NC-sol10-intel-local for i386)
- SMCneon (neon-0.25.5-sol10-x86-local for i386)
- SMCsubv143 (subversion-1.4.3-sol10-x86-local for i386)
- SMCenscr (enscript-1.6.4-sol10-x86-local for i386)
Setup a link so that svn and enscript are available globally:
ln -s /usr/local/bin/svn /usr/bin/svn ln -s /usr/local/bin/enscript /usr/bin/enscript
Opsview Rancid package files are available from the filestore at https://downloads.opsview.com/opsview-rancid/latest/solaris.
Install:
gunzip ALTopsview-*.pkg.gz pkgadd -d ./ALTopsview-repository-perl-<VERSION>.pkg all pkgadd -d ./ALTopsview-repository-<VERSION>.pkg all pkgadd -d ./ALTopsview-rancid-perl-<VERSION>.pkg all pkgadd -d ./ALTopsview-rancid-master-<VERSION>.pkg all pkgadd -d ./ALTopsview-rancid-collector-<VERSION>.pkg all pkgadd -d ./ALTopsview-rancid-<VERSION>.pkg all
Note: If you are upgrading, you will need to pkgrm the existing packages first
Note: Opsview and Opsview Web will be restarted as part of the installation
Opsview slaves
See instructions above. However, you only need to install the following packages (in this order):
- opsview-rancid-perl
- opsview-rancid-collector
Make sure the nagios user has opsview group access.