Book Image

Mastering Proxmox - Third Edition

By : Ahmed
4 (1)
Book Image

Mastering Proxmox - Third Edition

4 (1)
By: Ahmed

Overview of this book

Proxmox is an open source server virtualization solution that has enterprise-class features for managing virtual machines, for storage, and to virtualize both Linux and Windows application workloads. You'll begin with a refresher on the advanced installation features and the Proxmox GUI to familiarize yourself with the Proxmox VE hypervisor. Then, you'll move on to explore Proxmox under the hood, focusing on storage systems, such as Ceph, used with Proxmox. Moving on, you'll learn to manage KVM virtual machines, deploy Linux containers fast, and see how networking is handled in Proxmox. You'll also learn how to protect a cluster or a VM with a firewall and explore the new high availability features introduced in Proxmox VE 5.0. Next, you'll dive deeper into the backup/restore strategy and see how to properly update and upgrade a Proxmox node. Later, you'll learn how to monitor a Proxmox cluster and all of its components using Zabbix. Finally, you'll discover how to recover Promox from disaster strikes through some real-world examples. By the end of the book, you'll be an expert at making Proxmox work in production environments with minimal downtime.
Table of Contents (17 chapters)

Configuring Zabbix


After the Zabbix server is installed and functioning, we have to set up emails so that we get automated emails whenever there is an issue. Zabbix 3.0 is able to send emails through SMTP. We can configure it by navigating to the Administration | Media types menu and changing the SMTP information under Email. After the email is configured, it is now time to add some hosts or devices to start monitoring.

Configuring a host to monitor

In this section, we will see how to add a host, whether it is a Proxmox node or a virtual machine, to the Zabbix monitoring server. This procedure is the same for adding any host with a Zabbix agent installed. By default, the Zabbix server is added to the monitoring host. We are now going to add our example Proxmox node pmx-01 to Zabbix in order to be monitored. The following steps show how to add the host to Zabbix:

  1. Go to Configuration | Hosts and click on Create Host.
  2. Type in the Host name and Visiblename. The Host name must match the hostname...