How to install on Debian-based hosts
Use this procedure to install a Zenoss Data Monitor service on a real or virtual Linux host that uses the Debian package management system.
Prerequisites
Hardware resources
- 1 CPU core (64-bit)
- 30 MiB main memory
- Approximately 75 MiB free space in
/bin
for Zenoss Data Monitor software - A network interface that supports TCP/IP and provides a minimum of 5 megabits per second upload capacity
- Support for Advanced Encryption Standard (AES)
Software resources
- A Linux distribution that supports Debian or Red Hat distribution packages
- A login account with superuser privileges
- Internet access (outbound TCP traffic through port 443)
- DNS support, to reach your Zenoss API endpoint
Additional requirements
-
Permission to download files from delivery.zenoss.io, which can be granted to customers on request at the Zenoss Support site
-
A Zenoss API authentication key
-
The commands in the installation procedures use the Bash shell. Adjust as required for other shells.
Download the distribution file
-
In a web browser, navigate to delivery.zenoss.io, and then log in.
-
Display the Zenoss Data Monitor distribution files.
-
Download the latest file for Debian-based systems.
In the preceding example, the filename is
zendatamon-agent_1.0.0_build278_amd64.deb
. (The version number may be greater than 1.0.0.) -
If necessary, copy the file to the Zenoss Data Monitor host.
Noninteractive install (Debian-based)
-
Log in to the Zenoss Data Monitor host, and then change directory to the directory where the service distribution file is located (see download procedure).
-
Accept the Zenoss Data Monitor license agreement.
echo "zdm-agent zendatamon-agent/zenoss_license_agreement boolean true" \ | sudo debconf-set-selections
-
Specify the list of datasources to enable.
Replace
<YOUR-PLUGINS>
with a space-separated list of at least one of the following datasource names; host-linux-device is the recommended minimum datasource:- host-cpu
- host-disk
- host-filesystem
- host-linux-device
- host-linux-lvm
- host-linux-service
- host-network-interface
- host-process
- icmp
echo "zdm-agent zendatamon-agent/zenoss_datasources multiselect <YOUR-PLUGINS>" \ | sudo debconf-set-selections
-
Specify a Zenoss API authentication key.
Replace
<YOUR-API-KEY>
with a valid authentication key for your environment:echo "zdm-agent zendatamon-agent/zenoss_api_key string <YOUR-API-KEY>" \ | sudo debconf-set-selections
-
Specify your Zenoss API endpoint.
Replace
<YOUR-API-ENDPOINT>
with the endpoint for your environment:6. Start the installation and monitor the service startup.echo "zdm-agent zendatamon-agent/zenoss_api_endpoint string <YOUR-API-ENDPOINT>:443" \ | sudo debconf-set-selections
NEEDRESTART_SUSPEND=Y; DEBIAN_FRONTEND=noninteractive; \ sudo apt install ./zendatamon-agent*.deb \ && sudo journalctl -f -u zendatamon-agent
The installation scripts enable and start Zenoss Data Monitor. For more information about managing the service, see How to manage Zenoss Data Monitor.