Ignoring specific print ports

Ignoring specific print ports

To prevent the Engine from recording print jobs that use specific print ports, list the print protocol prefixes of the ports to be ignored under the ignored_print_ports item of the configuration file of the Engine. Along with the print jobs, the Engine also discards the printers that are associated with them.

By default, when the element ignored_print_ports is not specified, this option is set in the Engine to ignore the ports with prefixes TS and CLIENT. Popular virtual environments use these print protocols to print on redirected printers. In this way, the Engine avoids recording duplicate print jobs and printers in virtual environments where the Collector is installed in both client devices and remotely accessible virtual machines.

To set the prefixes of the print protocols that the Engine must ignore:

  1. Log in to the CLI of the appliance that hosts the Engine.
  2. Open the configuration file of the Engine for editing:
    sudo vi /var/nexthink/engine/01/etc/nxengine.xml
  3. Under config / local / aggregation add the following lines:
    <ignored_print_ports>
    <port_prefix>PREFIX_1</port_prefix>
    ...
    <port_prefix>PREFIX_N</port_prefix>
    </ignored_print_ports>
  4. Save your changes and exit with the following command:
    :wq
  5. To make your changes effective, restart the Engine:
    sudo systemctl restart [email protected]
The operations described in this article should only be performed by a Nexthink Engineer or a Nexthink Certified Partner.

If you need help or assistance, please contact your Nexthink Certified Partner.
Related tasks
Related concepts