Opsview Monitoring Agent on Ubuntu 18.04

To go the download page and select the distro of the host you want to monitor.  In my case I’m selecting “Ubuntu Xenial AMD64” as it’s the closest thing to Ubuntu 18.04 listed.

If you plan on installing it on a remote server you’ll need to copy the link address.

Now on the remote server, use wget to download the agent.

[email protected]:~# wget https://s3.amazonaws.com/opsview-agents/ubuntu16/opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb

Its not particularly clear from their website how to install the package but I’ll try it apt first as it should install dependencies.

[email protected]:~# apt install opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb
E: Couldn't find any package by glob 'opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb'
E: Couldn't find any package by regex 'opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb'

Nope! Lets try it with the dpkg tool.

[email protected]:~# dpkg -i opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb
Selecting previously unselected package opsview-agent.
(Reading database ... 90354 files and directories currently installed.)
Preparing to unpack opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb ...
Unpacking opsview-agent (6.0.0.201807181203-1xenial1) ...
dpkg: dependency problems prevent configuration of opsview-agent:
 opsview-agent depends on libgetopt-mixed-perl; however:
  Package libgetopt-mixed-perl is not installed.

dpkg: error processing package opsview-agent (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (237-3ubuntu10.6) ...
Processing triggers for ureadahead (0.100.0-20) ...
Errors were encountered while processing:
 opsview-agent

Hmmm. Okay so lets try installing libgetopt-mixed-perl

[email protected]:~# apt install libgetopt-mixed-perl

And then…

[email protected]:~# dpkg -i opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb
(Reading database ... 90704 files and directories currently installed.)
Preparing to unpack opsview-agent_6.0.0.201807181203-1xenial1_amd64.deb ...
Unpacking opsview-agent (6.0.0.201807181203-1xenial1) over (6.0.0.201807181203-1xenial1) ...
Setting up opsview-agent (6.0.0.201807181203-1xenial1) ...
Processing triggers for systemd (237-3ubuntu10.6) ...
Processing triggers for ureadahead (0.100.0-20) ...
[email protected]:~# 

Awesome! Looks good!

Be the first to comment

Leave a Reply