The Linux virtual machine internal monitoring port conflicts with a business port. What should I do?

ZSvirt was open-sourced from the ZStack ZSphere commercial project and has since developed independently. Some code, configuration, and documentation still retain historical ZStack/ZSphere names (such as environment variables, configuration items, dependencies, paths, and commands). These names are for compatibility only and do not affect the normal use of ZSvirt.

Cause

The port used by the virtual machine's internal monitoring service conflicts with a business port.

Solution

  1. Log in to the virtual machine and run the following command to edit the collectdExporter.port setting in the conf.yaml configuration file:

    [root@localhost ~]# vim /usr/local/zstack/zwatch-vm-agent/conf.yaml
  2. Run the following command to restart the zwatch-vm-agent service:

    [root@localhost ~]# service zwatch-vm-agent restart

On this page