Skip to main content

Install Zenoss with Debian or Ubuntu

Python compatibility

To use the Open Integration Manager for Agent-based integrations, Python version>= 3.8.0 and an Agent version >= 10.2 are required.

Prerequisites

python >= 3.8 and python-pip3 should be installed prior to installing the bigpanda-agent package.

Note: Access to JFrog, pypi, and yum repositories are required to install all dependencies.

Install the BigPanda Agent on Debian and Ubuntu

Connect to a host that can access the API endpoints and install the BigPanda agent package.

  1. Ensure packages are installed prior to downloading the BigPanda agent package:

    $ sudo apt update && sudo apt install -y gnupg2 curl lsb-release
  2. Add the BigPanda repository and download the OpenPGP key:

    $ echo deb https://bigpandaio.jfrog.io/artifactory/int-deb `lsb_release -c -s` main | sudo tee /etc/apt/sources.list.d/bigpanda.list
    $ curl -sL https://bigpandaio.jfrog.io/artifactory/api/security/keypair/bigpanda/public | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/bigpanda.gpg > /dev/null
    • The --dearmor option is for unpacking input from an OpenPGP ASCII armored key.

    • Since apt-key is marked to be deprecated on future releases of Debian and Ubuntu, it is preferred to manage keyring files in trusted.gpg.d instead.

    • Note: apt-key can still be used in place of OpenPGP, but it is less secure.

      $ curl -sL https://bigpandaio.jfrog.io/artifactory/api/security/keypair/bigpanda/public | sudo apt-key add -
  3. Update the repo list and install the BigPanda agent package.

    $ sudo apt update
    $ sudo apt install -y bigpanda-agent

    Note: For the OIM, bigpanda-agent v10.0.0+ is required.

Troubleshooting:

Error:

E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

Solution:

$ sudo ln -sf /usr/lib/apt/methods/http /usr/lib/apt/methods/https
$ sudo apt install -y apt-transport-https
$ sudo apt update

Configure the BigPanda Agent

Generate the agent's configuration file:

$ sudo bigpanda-config --init --token <Your Org Bearer Token>

And add the Zenoss plugin with the application key you created in step 1:

$ sudo bigpanda-config --add  --app-key <Your App Key>

When prompted, enter the base URL of the Zenoss.core web interface and a valid username and password.

Note: You may want to create a dedicated user for BigPanda, the required role is ZenUser.

Set Zenoss timezone

Zenoss uses the timezone that has been set in the system that it is installed on. Connect to the server Zenoss is installed on, check the timezone, and select it below.

Integrations_Zenoss_Timezone.jpg

Start the BigPanda Agent

$ sudo service bigpanda start

Success

You should be able to see all your active alerts from this integration in the Incidents tab.