---
title: "Netprobe setup"
description: ""
url: "https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/netprobe/configuration/netprobe-setup/index.html"
---
## Overview

After a Netprobe is installed and running on a machine, the next step is to set it up to connect to a Gateway. Depending on the mode that the Netprobe is running in, as well as its relationship with a Gateway, you can set up a Netprobe by itself or from the Gateway.

### Gateway setup settings

For normal, floating, and virtual Netprobes, various properties related to the Netprobe need to be configured in the Gateway. These settings determine the relationship of Gateway with the Netprobe. Some of these properties are also downloaded to the Netprobe when it connects to the Gateway. For information on Netprobe configuration settings in the Gateway Setup File, see [Probes](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_probes/index.html).

Floating Netprobes do not rely entirely on the Gateway setup, and have some limited setup options available. For more information, see [Floating settings](#floating-settings).

For Self-Announcing Netprobes, the Netprobe itself does not need to be configured in the Gateway. However, there are settings which still need to be set in the Gateway setup file. These settings control the Gateway's behaviour with respect to Self-Announcing Netprobes. For example, the Gateway can control whether it accepts Self-Announcing Netprobes at all and, if so, which ones. For more information on the Gateway Setup File settings which relate to Self-Announcing Netprobes, see [Self-Announcing Netprobes](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/geneos_selfannounce_netprobe_tr/index.html).

Once a connection is established, the Gateway can determine the state of a Netprobe as follows:

- `Down` — the machine is up, but no active port is detected.
- `Unreachable` — the host is unreachable; alternatively, there is a detected Netprobe process, but it is unresponsive or has a port issue.

For more information about probe connection status, see [Gateway-probeData in Gateway](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/geneos_gateway_plugins_tr/index.html#samplers--sampler--plugin--gateway-probedata).

### Netprobe setup file

The Netprobe setup file is an XML document that follows the XML 1.0 specification. It is used primarily to enable the Netprobe to run in floating and self-announcing modes.

The contents of a valid XML document can be described by a set of rules called the schema. This schema is distributed with the Netprobe and can be used by any schema-aware XML editor to ensure that the setup file is well-formed and that the contents are valid.

For guidance in setting up a Netprobe running in normal mode, see [How to create and configure a new standard probe in Probes](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_probes/index.html#how-to-create-and-configure-a-new-standard-probe).

## Netprobe setup file contents

The Netprobe setup file has a single top-level `netprobe` element under which it can have either a `selfAnnounce` or `floatingProbe` element.

### Self-announce settings


In addition, the Netprobe setup file can specify zero or more Managed Entity Attribute name-value pairs. These can be used by Active Console for searching and sorting purposes. Attributes are typically used with the logical mode of the Active Console State Tree.

Netprobe Setup File can also set user-defined variables on the created Managed Entity. The variables section is not parsed by the probe; it is passed to the Gateway to be checked. All variable types that can be entered on in the Gateway setup are accepted, except for any types of passwords.

Consider the following setup file for a Self-Announcing Netprobe:

```
<?xml version="1.0" encoding="ISO-8859-1"?>
 <netprobe>
  <selfAnnounce>
   <enabled>true</enabled>
   <retryInterval>60</retryInterval>
   <requireReverseConnection>false</requireReverseConnection>
   <probeName>myProbe</probeName>
   <managedEntities>
    <managedEntity>
     <name>myEntity</name>
     <attributes>
      <attribute name="COUNTRY">USA</attribute>
      <attribute name="CITY">CHICAGO</attribute>
      <attribute name="ENVIRONMENT">PROD</attribute>
     </attributes>
     <variables>
      <var name="var_string">
       <string>selfProbe</string>
      </var>
      <var name="var_double">
       <double>10.1</double>
      </var>
      <var name="var_ActiveTime">
       <activeTime>
        <activeTime ref="SomeActiveTime"/>
       </activeTime>
      </var>
     </variables>
     <types>
      <type>Linux</type>
      <type>Fidessa</type>
      <type>ProdShare</type>
     </types>
    </managedEntity>
   </managedEntities>
   <gateways>
    <gateway>
     <hostname>gateway1</hostname>
     <port>17101</port>
     <secure>true</secure>
    </gateway>
    <gateway>
     <hostname>gateway2</hostname>
     <port>17102</port>
    </gateway>
    <gateway>
     <hostname>gateway3</hostname>
     <port>17103</port>
     <secure>false</secure>
    </gateway>
   </gateways>
  </selfAnnounce>
 </netprobe>
```


<div class="table-container">
  <table class="legacy-table" class="TableStyle-ref_4_col_table" style="mc-table-style: url('../../TableStyles/ref_4_col_table.css');margin-left: 0;margin-right: auto;width: 100%;" cellspacing="0">
    <col class="TableStyle-ref_4_col_table-Column-Column1" />
    <col class="TableStyle-ref_4_col_table-Column-Column1" />
    <col class="TableStyle-ref_4_col_table-Column-Column1" />
    <col class="TableStyle-ref_4_col_table-Column-Column1" />
    <thead>
      <tr class="TableStyle-ref_4_col_table-Head-Header1">
        <th class="TableStyle-ref_4_col_table-HeadE-Column1-Header1">Element</th>
        <th class="TableStyle-ref_4_col_table-HeadE-Column1-Header1">Sub-element</th>
        <th class="TableStyle-ref_4_col_table-HeadE-Column1-Header1">Sub-element</th>
        <th class="TableStyle-ref_4_col_table-HeadD-Column1-Header1">Description</th>
      </tr>
    </thead>
    <tbody>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Setup values for Self-Announcing Netprobe mode. </p>
          <p xmlns="">Mandatory:&#160;No </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce&#160;&gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">enabled</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>When set to <code>true</code>, enables the Self-Announcing Netprobe mode. </p>
          <p>If set to <code>false</code> after previously running a Self-Announcing Netprobe, the Netprobe reverts to the normal mode. </p>
          <p>Mandatory:&#160;Yes</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">retryInterval</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>Specifies the time in seconds that the Netprobe waits after failing to find a suitable Gateway to announce to, or after the master connection drops, before restarting the polling process.</p>
          <p>Mandatory:&#160;No</p>
          <p>Default value: <code>60</code>
          </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">requireReverseConnection</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>When set to <code>true</code>, indicates that the Netprobe can only make a Netprobe-to-Gateway connection. This is useful when, for example, the Netprobe is behind a firewall. </p>
          <p>By default, Self-Announcing Netprobes make Netprobe-to-Gateway connections where both components support it. This setting ensures that the Netprobe will not select a Gateway that does not support reverse connections, and will prevent the Gateway from publishing the <code>disableSelfAnnouncing</code> command for the Netprobe. </p>
          <p>The default value for this depends upon whether the Netprobeis configured to connect to a secure Gateway. If any of the Gateway connections have the secure flag set to <code>true</code>, then the default value for this setting is <code>true</code> and it cannot be overridden. This is because Gateway-to-Netprobeare not supported secure Self-Announcing Netprobe&#160;connections. If all the Gateways connected to are insecure, then the default value of this setting is <code>false</code>, but it can be set to <code>true</code> to ensure that all connections are Netprobe-to-Gateway. </p>
          <p xmlns=""> Mandatory: No </p>
          <p xmlns=""> Default: Dependent on other settings </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">probeName </td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>The name of the probe to create on the Gateway. This name must not already be in use in the Gateway configuration, or be used by other . <MadCap:conditionalText>Additionally, names of the form <code>&lt;gateway_name&gt;:Info</code> are reserved for Gateway self monitoring. </MadCap:conditionalText>
          </p>
          <p>The probe name can be composed of any number of data elements containing raw text and special macro elements that resolve to installation-specific strings, such as <code xmlns="">hostname </code>. This allows a single Setup File to be used for Self-Announcing Netprobes on many different servers. </p>
          <p>The following macro elements are supported:</p>
          <ul>
            <li>
              <code xmlns="">hostname </code> &#8212; the server host name. Dots in the hostname are replaced with underscores. For example, if the hostname is <code>server.name.com</code>, then it becomes <code xmlns="">server_name_com </code>.
            </li>
            <li>
              <code xmlns="">probeHostname </code> &#8212; the server host name. Unlike the <code xmlns="">hostname </code> macro, this macro retains the original format of the hostname and does not replace the dots.
            </li>
            <li>
              <code xmlns="">port </code> &#8212; the Netprobe listen port.
            </li>
          </ul>
          <p>To create a probe name in the format <code xmlns="">hostname port </code>, where the correct values are automatically inserted for host name and port, the following should be specified in the XML: </p>
          <pre>&lt;probeName&gt;&lt;hostname/&gt;&lt;data&gt;_&lt;/data&gt;&lt;port/&gt;&lt;/probeName&gt;</pre>
          <p>Mandatory:&#160;Yes</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">probeName &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1"> data &gt; hostname</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>Host name element of probe name.</p>
          <p>Mandatory:&#160;No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">probeName &gt; </td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">data &gt; port</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>Netprobe's&#160;listen port element of probe name.</p>
          <p>Mandatory:&#160;No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">restApiHttpPort</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Insecure port where content is ingested by the REST API plug-in. This port is used by all REST API samplers running on the probe. </p>
          <p xmlns="">By default, the REST API plug-in listens only on this port. If you create a REST API sampler without configuring any listening port, then this default behaviour applies. </p>
          <p xmlns="">If you configure both insecure and secure ports, then the REST API sampler listens on both ports concurrently. </p>
          <p xmlns="" class="caution">Caution: If you set the same value for both HTTP&#160;and HTTPS ports, then the Netprobe only starts the REST API HTTPS server. If the SSL certificate or key is invalid for the server, then the Netprobe does not start the HTTP server. </p>
          <p class="note">Note: Updating the port causes all REST API samplers on the probe to reload.</p>
          <p xmlns="http://www.w3.org/1999/xhtml">If you do not configure this setting, but there exists a REST API sampler under the type specified in selfAnnounce &gt; managedEntities &gt;&#160;managedEntity &gt; types, then the Self Announcing Netprobe starts a REST API HTTP server with the default port <code>7136</code>. </p>
          <p>Mandatory:&#160;No</p>
          <p>Default: <code>7136</code>
          </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">restApiHttpsPort</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Secure port where content is ingested by the REST API plug-in. This port is used by all REST API samplers running on the probe. </p>
          <p xmlns="">This setting requires an SSL&#160;certificate and SSL&#160;certificate key. </p>
          <p xmlns="">If you configure this port without configuring the insecure port, then the REST API sampler listens only on the secure port. </p>
          <p xmlns="">If you configure both insecure and secure ports, then the REST API sampler listens on both ports concurrently. </p>
          <p>Caution: If you set the same value for both HTTP and HTTPS ports, then the Netprobe only starts the REST API HTTPS server. If the SSL certificate or key is invalid for the server, then the Netprobe does not start the HTTP server. </p>
          <div>
            <p xmlns="">When you use HTTPS&#160;for the REST API plug-in, follow these guidelines: </p>
            <ul>
              <li xmlns="">The common name must be the REST API server host name associated with the SSL certificate. </li>
              <li xmlns="">As a best practice, use the same certificate authority (CA)&#160;as is used for other Netprobe certificates. </li>
              <li xmlns="">The certificate created is used by the REST API plug-in as well as the Netprobe to communicate with the
                <MadCap:variable name="Components/gateway.gateway-name" />. The Netprobe only uses the certificate if it is in secure mode.
              </li>
            </ul>
          </div>
          <p class="note">Note: Updating the port causes all REST API samplers on the probe to reload.</p>
          <p xmlns="" class="note">Note: If this option is set, then the REST API plug-in uses the SSL certificate and SSL certificate key as specified in the <code>-ssl-certificate</code> and <code>-ssl-certificate-key</code> command-line parameters, respectively. For more information, see <MadCap:xref href="../../../Netprobe/configure/netprobe-command-line-options.html" class="external-title">Netprobe Command-line Options</MadCap:xref>. </p>
          <p xmlns="http://www.w3.org/1999/xhtml">If you do not configure this setting, but there exists a REST API sampler under the type specified in selfAnnounce &gt; managedEntities &gt;&#160;managedEntity &gt; types, then the Self Announcing Netprobe starts a REST API HTTP server with the default port <code>7136</code>. </p>
          <p xmlns="">Mandatory:&#160;No </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">dynamicEntities</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>List of Dynamic Entities options.</p>
          <p>You can start the Collection Agent by adding the following configuration in the <code>selfAnnounce</code> settings in the Netprobe setup file: </p>
          <pre class="language-xml copy-code" xml:space="preserve">
&lt;dynamicEntities&gt;
	&lt;collectionAgentParameters&gt;CollectionAgentParams&lt;/collectionAgentParameters&gt;
	&lt;mappingType&gt;DynamicEntitiesMapping&lt;/mappingType&gt;
&lt;/dynamicEntities&gt;
					</pre>
          <p>Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">dynamicEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">collectionAgentParameters</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Specifies the parameters used to connect to a Collection Agent. The value of this parameter should be the same as the name of the configured <strong>Collection Agent parameters</strong> setting in the Gateway Setup Editor. </p>
          <div xmlns="" class="note">
            <p>Note:&#160;Beginning Geneos 6.0.0, the Collection Agent parameters are now configured under the Dynamic Entities section. For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/dynamic_entities/index.html#collection-agent-parameters">Collection Agent parameters in Dynamic Entities</a>. </p>
          </div>
          <p>Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">dynamicEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">mappingType</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>Specifies the mapping type used to generate Dynamic Managed Entities for this probe. The value of this parameter should be the same as the name of the configured <strong>Mapping type</strong> setting in the Gateway Setup Editor </p>
          <p> A Self-Announcing Netprobe version 5.1.2 or later, that is configured with a Dynamic Entities Mapping type, will not connect to a Gateway version 5.0.x or earlier. A failed connection will be recorded in the Netprobe log, with a warning that the Gateway version is too old. </p>
          <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/dynamic_entities/index.html#mapping-type">Mapping type in Dynamic Entities</a>. </p>
          <p>Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntities</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>List of <code>managedEntity</code> sections. </p>
          <p>You can have multiple Managed Entities on the setup file.</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntity</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>Specifies the configuration details for the Managed Entity to be created on the Gateway.</p>
          <p>Mandatory: This field is only mandatory if the <code>dynamicEntities</code> section is not configured. If the <code>dynamicEntities</code> section is configured, then this section is optional. </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntity &gt; name</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>The name of the Managed Entity to create on the Gateway. This name must not already be in use in the Gateway&#160;configuration or be used for other Self-Announcing Netprobes. The Managed Entity name is case sensitive.</p>
          <p>The name of the Managed Entity can be composed of any number of data elements containing raw text and special macro elements that resolve to installation-specific strings, such as <code xmlns="">hostname </code>. This allows a single Setup File to be used for Self-Announcing Netprobes on many different servers. </p>
          <p>The following macro elements are supported:</p>
          <ul xmlns="">
            <li>
              <code xmlns="">hostname </code> &#8212; the server host name. Dots in the hostname are replaced with underscores. For example, if the hostname is <code>server.name.com</code>, then it becomes <code xmlns="">server_name_com </code>.
            </li>
            <li>
              <code xmlns="">probeHostname </code> &#8212; the server host name. Unlike the <code xmlns="">hostname </code> macro, this macro retains the original format of the hostname and does not replace the dots.
            </li>
            <li>
              <code xmlns="">port </code> &#8212; the Netprobe listen port.
            </li>
          </ul>
          <p>Mandatory: This field is only mandatory if the <code>dynamicEntities</code> section is not configured. If the <code>dynamicEntities</code> section is configured, then this section is optional. </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntity &gt; attributes</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>A list of user defined attributes that will be applied to the created Managed Entity. Managed Entities&#160;can contain any number of attributes. Each attribute is specified as a name-value pair containing a textual value. These attributes can then be used for searching and sorting in ActiveConsole.</p>
          <p>A special <code>GeneosDisplayName</code> attribute is used to identify entities in the Active Console state tree and everywhere the display name is used. However, the name and path of each entity is unchanged. For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_managed_entities/index.html#managed-entity-configuration">Managed Entity Configuration in Managed Entities and Managed Entity Groups</a>. </p>
          <p> Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntity &gt; variables</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>A list of user defined variables that will be set on the created Managed Entity. Each Managed Entity section can contain any number of variables, but not password variables.</p>
          <p>Variable definitions are checked by the Gateway and may be rejected, with errors reported in both the Netprobe and Gateway logs. For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/troubleshooting/rejection-reasons/index.html#managed-entity-variables">Managed entity variables in Rejection reasons</a>. To avoid syntax errors, you can copy Variables settings from the XML format of Gateway > ManagedEntity > Advanced tab > Var in Gateway Setup Editor, or from the Gateway setup file.</p>
          <p>Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntities &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">managedEntity &gt; types</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>A list of referenced types that will be applied to the created Managed Entity. These types refer to the named types in the Gateway&#160;configuration. These types (and the associated samplers) will be loaded into the created Managed Entity when the Netprobe&#160;connects to a Gateway. Duplicate types will be ignored.</p>
          <p>Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>A list of candidate Gateways&#160;that the Netprobesattempts to connect to. The order of the list determines which Gateway the Netprobe&#160;connects to if there is a tie. </p>
          <p>For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/collection/troubleshooting/rejection-reasons/index.html#managed-entity-variables">Load balancing in Self Announcing Netprobes</a>. </p>
          <p>Mandatory: Yes, at least one Gateway</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateway &gt; hostname</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>The hostname of a candidate Gateway, to which the Netprobe&#160;will connect.</p>
          <p>Mandatory: Yes</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateway &gt; port</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>The listen port of a candidate Gateway to which the Netprobe will connect.</p>
          <p>Default: <code xmlns="">7039 </code>
          </p>
          <p>Mandatory: No</p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateway &gt; secure</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p>Flag to indicate if the probe should use a secure or an insecure protocol when connecting to the Gateway.</p>
          <div class="line-block">
            <div class="line"> Mandatory: No </div>
            <div class="line"> Default: False </div>
          </div>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">encodedPassword</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">A password encoded using the Unix crypt command-line utility, which is then requested when you attempt to execute a Netprobe command. </p>
          <p xmlns="">When defined, this setting takes precedence over passwords defined through environment variables. For more information, see <a href="https://docs.itrsgroup.com/docs/geneos/7.11.0/security/access-controls/gateway_secure_passwords/index.html#types-of-password-offered-by-the-gateway-and-how-to-generate-them">Types of password offered by the Gateway and how to generate them in Secure Passwords</a>. </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">cyberArkApplicationID</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Name used to identify the CyberArk permissions for the Self-Announcing Netprobe. This determines which passwords can be requested, and must be configured in the CyberArk web interface. </p>
          <p xmlns="">This setting is used for the CyberArk Local Credential Provider. If not defined, then the value defaults to <code>ITRS-Geneos</code>. </p>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">cyberArkSdkPath</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Path to the Application Password SDK installed on the Netprobe host. The path must be fully specified and cannot embed any references to environment variables. </p>
          <p xmlns="">This setting is used for the CyberArk Local Credential Provider. If not defined, then the value defaults to the following: </p>
          <ul xmlns="">
            <li>
              <code>%ProgramFiles(x86)%\CyberArk\ApplicationPasswordSdk\clipasswordsdk</code> for Windows.
            </li>
            <li>
              <code>/opt/CARKaim/sdk/clipasswordsdk</code> for Linux and other platforms.
            </li>
          </ul>
        </td>
      </tr>
      <tr class="TableStyle-ref_4_col_table-Body-Body1">
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">selfAnnounce &gt;</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">userAssignmentAndSnoozeFilenamePrefix</td>
        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
          <p xmlns="">Specifies the prefix that will be used in the filenames for user assignment and snooze files created by Netprobe. </p>
          <p xmlns="">If specified, the format of the files will be <code>&lt;userAssignmentAndSnoozeFilenamePrefix&gt;.user_assignment</code> and <code>&lt;userAssignmentAndSnoozeFilenamePrefix&gt;.snooze</code>. </p>
          <p xmlns="">If not specified, the format of the files will be <code>&lt;probename&gt;.user_assignment</code> and <code>&lt;probename&gt;.snooze</code>, where <code>&lt;probename&gt;</code> is the name of the Self-Announcing Netprobe configured in the Netprobe setup file. </p>
          <p xmlns="">Mandatory: No </p>
        </td>
      </tr>
    </tbody>
  </table>
</div>

#### Advanced settings

You can also use some of the advanced settings of a standard Netprobe to configure a Self-Announcing Netprobe. To apply the advanced settings for Self-Announcing Netprobes, you can add them to the start-up script or set them as environment variables:

```
setenv <variable name> <value>
```

```
export <variable name>=<value>
```

<div class="table-container">
<table class="legacy-table" style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../../../Resources/TableStyles/ref_3_col_table.css');" class="TableStyle-ref_3_col_table" cellspacing="0">
                        <col class="TableStyle-ref_3_col_table-Column-Column1"/>
                        <col class="TableStyle-ref_3_col_table-Column-Column1"/>
                        <thead xmlns="">
                            <tr class="TableStyle-ref_3_col_table-Head-Header1">
                                <th class="TableStyle-ref_3_col_table-HeadE-Column1-Header1">Advanced setting</th>
                                <th class="TableStyle-ref_3_col_table-HeadD-Column1-Header1">Variable name</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Max log file size</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">maxLogFileSize</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Wide process list command</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">wideProcessListCommand</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Cache process names</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">cacheProcessNames</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Max database connections</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">maxDatabaseConnections</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Case insensitive filenames (Unix based OS)</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">caseInsensitiveFilename</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Command time out</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">commandTimeOut</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Fkm lock file path</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">fkmLockFilePath</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                                <td class="TableStyle-ref_3_col_table-BodyE-Column1-Body1">Max toolkit processes</td>
                                <td class="TableStyle-ref_3_col_table-BodyD-Column1-Body1">maxToolkitProcesses</td>
                            </tr>
                            <tr class="TableStyle-ref_3_col_table-Body-Body1">
                            </tr>
                        </tbody>
                    </table>
                    
</div>

For more information about these settings, see [Probe settings - Advanced tab](https://docs.itrsgroup.com/docs/geneos/7.11.0/processing/configuration/gateway_probes/index.html#probe-settings---advanced-tab).

### Floating settings

In floating mode, a Netprobe and Managed Entity are configured on the Gateway, but without connection details.

On starting, the Netprobe informs the Gateway of its host name and listen port. In turn, the Gateway connects to the Netprobe. This allows a Netprobe to automatically follow an application that migrates between servers.


Consider the following setup file for a floating Netprobe:

```

<?xml version="1.0" encoding="ISO-8859-1"?>
<netprobe>
        <floatingProbe>
                <enabled>true</enabled>
                <retryInterval>60</retryInterval>
                <requireReverseConnection>false</requireReverseConnection>
                <probeName>myFloatingProbe</probeName>
                <gateways>
                        <gateway>
                                <hostname>gateway1</hostname>
                                <port>17101</port>
                                <secure>false</secure>
                        </gateway>
                </gateways>
        </floatingProbe>
</netprobe>

```

<div class="table-container">
<table class="legacy-table" class="TableStyle-ref_4_col_table" style="mc-table-style: url('../../TableStyles/ref_4_col_table.css'); margin-left: 0; margin-right: auto;" cellspacing="0">
                <col class="TableStyle-ref_4_col_table-Column-Column1" style="width: 100px;"/>
                <col class="TableStyle-ref_4_col_table-Column-Column1"/>
                <col class="TableStyle-ref_4_col_table-Column-Column1"/>
                <col class="TableStyle-ref_4_col_table-Column-Column1"/>
                <thead>
                    <tr class="TableStyle-ref_4_col_table-Head-Header1">
                        <th class="TableStyle-ref_4_col_table-HeadE-Column1-Header1">Element</th>
                        <th class="TableStyle-ref_4_col_table-HeadE-Column1-Header1">Sub-element</th>
                        <th class="TableStyle-ref_4_col_table-HeadE-Column1-Header1">Sub-element</th>
                        <th class="TableStyle-ref_4_col_table-HeadD-Column1-Header1">Description</th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>Setup values for the Floating Netprobe mode.</p>
                            <p>Mandatory: No</p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">enabled</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>Enables or disables the Floating Netprobe mode.</p>
                            <p>Mandatory: Yes</p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">retryInterval</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>Time in seconds that the Netprobe waits after failing to announce itself to a
 Gateway, or after the master connection is dropped,
 before restarting the announcing process.</p>
                            <div class="line-block">
                                <div class="line">
                      Mandatory: No
                    </div>
                                <div xmlns="" class="line">
                      Default value: <code>60</code>
                    </div>
                            </div>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">requireReverseConnection</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>When set to <code>true</code>, indicates that the Netprobe can only make a Netprobe-to-Gateway connection. This is useful when, for example, the Netprobe is behind a firewall.</p>
                            <p>By default, floating Netprobes make Netprobe-to-Gateway connections where both components support it. This setting ensures that theNetprobe will not select a Gateway that does not support reverse connections.</p>
                            <p>The default value for this depends upon whether the Netprobeis configured to connect to a secure Gateway. If any of the Gateway connections have the secure flag set to <code>true</code>, then the default value for this setting is <code>true</code>, and it cannot be overridden. If all the Gateways connected to are insecure, then the default value of this setting is <code>false</code>, but it can be set to <code>true</code> to ensure that all connections are Netprobe-to-Gateway.</p>
                            <p xmlns="">
                      Mandatory: No
                    </p>
                            <p xmlns="">
                      Default: Dependent on other settings                    </p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">probeName</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>Specifies the name of this Netprobe. The probe
 must already have been configured as a
                  <code>floatingProbe</code> on the Gateway being
 contacted.</p>
                            <p>Mandatory: Yes</p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">&#160;</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>The Gateway or Gateways to which the
                  floating Netprobe should connect. Up to two
 Gateways are allowed. If two are set then they must
 be a hot-standby pair.</p>
                            <p>Mandatory: Yes, at least one Gateway must be
 configured.</p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateway &gt; hostname</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>The host name of the Gateway to which the Netprobe
 should connect.</p>
                            <p>Mandatory: Yes</p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateways</td>
                        <td class="TableStyle-ref_4_col_table-BodyE-Column1-Body1">gateway &gt; port</td>
                        <td class="TableStyle-ref_4_col_table-BodyD-Column1-Body1">
                            <p>The listen port of the Gateway to which the
Netprobe should connect.</p>
                            <p>Default: <code xmlns="">7039</code></p>
                            <p>Mandatory: No</p>
                        </td>
                    </tr>
                    <tr class="TableStyle-ref_4_col_table-Body-Body1">
                        <td class="TableStyle-ref_4_col_table-BodyB-Column1-Body1">floatingProbe &gt;</td>
                        <td class="TableStyle-ref_4_col_table-BodyB-Column1-Body1">gateways</td>
                        <td class="TableStyle-ref_4_col_table-BodyB-Column1-Body1">gateway &gt; secure</td>
                        <td class="TableStyle-ref_4_col_table-BodyA-Column1-Body1">
                            <p>Flag to indicate if the probe should use a secure
 or an insecure protocol when connecting to the
Gateway.</p>
                            <div class="line-block">
                                <div class="line">
                      Mandatory: No
                    </div>
                                <div class="line">
                      Default: false
                    </div>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        
</div>


### OS environment variables


Beginning Geneos 5.3.x, the Netprobe setup file supports using macros to access environment variables available to the host platform.

The syntax for the new macro is `[[$env:VARIABLE_NAME]]`.

The Netprobe evaluates environment variables only once during its lifecycle. That is, during a Netprobe process startup and restart.

If an environment variable cannot be determined, then the macro remains unresolved.

Environment variables abide by OS-specific rules, precedence, and profiles.

#### Linux environment variables

On Linux, you can use any available environment variables. For example, if the value of `$SHELL` in the Linux environment is `/bin/bash`, then `[[$env:SHELL]]` resolves to `/bin/bash` in the Netprobe setup file.

Linux variables are case-sensitive.

#### Windows environment variables

On Windows, you can use any user environment variable defined under Environment Variables in System Properties.

Windows environment variables are case-insensitive.

If the Netprobe is run as a Windows service, then it evaluates the environment variable macros using the environment values defined at startup.


## Reload Netprobe configurations

Netprobe configuration files can be reloaded using a `USR1` signal. For example:

```
kill -USR1 <pid>
```


