Source Packages
Our software repositories will include the following packages in source form:
- opsview-agent-linux
- opsview-external
- opsview-jasper
- opsview-monitoring-scripts-base
- opsview-python
- opsview-timeseries-influxdb
- opsview-watchdog
- opsview-netaudit-external
Accessing Source Packages
To access a source package, you will need to setup the Opsview repository and then download the package based on the OS. The instructions below assume opsview-watchdog, but you can replace with any of the packages above.
Setup Opsview Repositories
curl -sLo- https://deploy.opsview.com/6 | sudo bash -s -- -O repo
Centos/RHEL/OL
sudo yum makecache fast
yumdownloader --source opsview-watchdog
This will download opsview-watchdog into your current directory.
Debian/Ubuntu
First, you will need to edit /etc/apt/sources.list.d/opsview.list and add a "deb-src" to any "deb" repos
listed there. Then:
sudo apt-get update
apt-get source opsview-watchdog
This will download opsview-watchdog into your current directory.
Creating and Modifying Source Packages
You can build from the source packages based on your OS by following the instructions below. This will compile the original third party software, apply our changes to them and create a package, either debian or RPM, for installation.
Note
Opsview Ltd does not test nor support packages created in this way.
Debian Source Packages
On a fresh Debian system:
sudo apt-get install build-essential fakeroot devscripts debhelper
- Add our repository:
curl -sLo- https://deploy.opsview.com/6 | sudo bash -s -- -O repo
- Update to include the sources repository list: (Update to use the final repo)
deb http://nightly.opsview.com/opsview-commercial/6.4/apt xenial main deb-src http://nightly.opsview.com/opsview-commercial/topics/6.4/OP-36389-import_source_packages/apt xenial main
sudo apt-get update
sudo apt-get install opsview-setup
- As a
non-root user
, runapt-get source opsview-watchdog"
This will download and expand the source package in your current directory cd opsview-watchdog-*
make package
You will have the deb file in the directory above.
RPM Source Packages
On a fresh RPM platform:
sudo yum install rpm-build redhat-rpm-config perl-TimeDate yum-utils
- Add our repository:
curl -sLo- https://deploy.opsview.com/6 | sudo bash -s -- -O repo
sudo yum install opsview-setup
yum-downloader --source opsview-watchdog
to download the *.src.rpm filesudo rpmbuild --rebuild *.src.rpm
will have RPMs built in/root/rpmbuild/RPMS/x86_64/.
Plugins
In addition to the source packages listed above, the opsview-opspacks package contains changes made to the following third-party plugins:
- database-oracle-rdbms.tar.gz
To download the source and modifications made to these plugins follow the instructions below. Any patches to plugins that Opsview has produced are automatically applied as part of the distribution of Opspacks.
Install opsview-opspacks package
You will need to install opsview-opspacks to get the instructions and bring in other dependencies before you can apply changes
Setup Opsview Repositories
curl -sLo- https://deploy.opsview.com/6 | sudo bash -s -- -O repo
Centos/RHEL/OL
Update yum and install opsview-opspacks
sudo yum makecache fast
sudo yum install opsview-opspacks
Debian/Ubuntu
Update apt and install opsview-opspacks:
sudo apt-get update
sudo apt-get install opsview-opspacks
Extract plugin
Extract the package for the Opspack you want to view. e.g. database-oracle-rdbms.tar.gz
tar -zxvf /opt/opsview/monitoringscripts/opspacks/<name_of_opspack>.tar.gz
cd <name_of_opspack>
Follow the instructions found in the README.md
file to patch the plugin file(s).
If there isn't a README.md
or a patches directory, then Opsview has not made any patches to the plugin.
Updated about 3 years ago