This article applies as of PRTG 26

PRTG and Proxmox VE

As of PRTG 26.x.116, PRTG offers two native sensors to monitor your Proxmox Virtual Environment (Proxmox VE):

These sensors monitor metrics such as CPU usage, disk and memory usage, and the general status of your Proxmox VE.

Firewall configuration

PRTG cannot reach devices behind a firewall unless given explicit permission. If you want to monitor a Proxmox node that also runs your PRTG core server, you might encounter problems with the firewall. Specifically, you must allow SNMP and ICMP traffic from your PRTG core server.

  1. Check the status of the Proxmox VE firewall:
    pve-firewall status
    If the firewall is running, you must add rules in the node firewall configuration.

  2. Open the node firewall configuration:
    nano /etc/pve/nodes/<Proxmox node name>/host.fw
    Replace <Proxmox node name> with the node that you want to configure, for example, 100.

  3. Add the following rules under [RULES]:
    UDP 161
    IN ACCEPT -source <PRTG core server IP address> -p udp - dport 161 -log -nolog
    This rule allows incoming SNMP via port 161 from the PRTG core server.

    ICMP
    IN ACCEPT -source <PRTG core server IP address> -p icmp -log -nolog
    This rule allows incoming ICMP, or pings, from the PRTG core server.

    TCP 8006
    IN ACCEPT -source <Proxmox VE server subnet> -p tcp - dport 8006 -log -nolog
    This rule allows Proxmox VE server access from your network via port 8006. This port is open by default.

    TCP 22
    IN ACCEPT -source <Proxmox VE server subnet> -p udp - dport 161 -log -nolog
    This rule allows SSH access form your local network. This port is open by default.

    For example, if your PRTG core server has the IP address 10.0.0.40 and your Proxmox VE server has the IP address, 10.0.0.1, the rules would look like this:

    IN ACCEPT -source 10.0.0.40 -p udp - dport 161 -log -nolog
    IN ACCEPT -source 10.0.0.40 -p icmp -log -nolog
    IN ACCEPT -source 10.0.0.0/24 -p tcp - dport 8006 -log -nolog
    IN ACCEPT -source 10.0.0.0/24 -p udp - dport 161 -log -nolog

  4. Save the configuration file.
  5. Restart the firewall to apply the changes:
    pve-firewall restart

More

Want to explore more possibilities? A curious developer at PRTG configured a variety of SNMP sensors to monitor their Proxmox VE virtual machines. For more information on how they did it, check out the original blog post: How to Monitor Proxmox VE with PRTG using SNMP