How to set up Gateway Sharing
Prerequisites Copied
The Gateway needs to be running version GA4.x and above. Please note, Gateway version GA4.5 added significant features on running commands, and some changes to the setup XML. Details can be found in the Release Notes. Users are suggested to use the same version for Export and Import gateways if possible.
Exporting data Copied
On the Gateway you wish to export data from, create an Export dataset (Navigation > Exported data > New Data Set in the Gateway Setup Editor). In this example, the Export dataset will be pointing to a sampler called Hardware View.
The dataset can contain anything from a single sampler to multiple instances of samplers, managed entities or similar. The lowest filtering is dataviews.
Importing data Copied
On the Gateway you wish to import the data into, create a Connection entry within the Imported data section (Navigation > Imported data > Connection in the Gateway Setup Editor).
Within the Connection entry, add the gateway credentials which will be the exporting gateway and ensure the Data set name “Hardware” defined in the Exporting Gateway matches the definition in the Importing gateway.
If your exporting gateway has authentication enabled, make sure you enter the authenticated user in the importing gateway on the advanced tab. The Prefix field allows you to add a prefix to the Netprobe and managed entity names.
If you chose not to prefix the imported data in the gateway, it will appear native along the local managed entities. Built-in commands will not be available on imported datasets.
Exporting Gateway entities Copied
Exporting Gateway Dataview Copied
Importing Gateway entities Copied
Importing Gateway dataview Copied
Here is an example XML for exporting and importing Gateway entities:
Exporting Gateway
<dataSet name="Hardware"><paths><path>/geneos/gateway/directory/probe/managedEntity/sampler[(@name="Hardware View")]</path></paths></dataSet>
Importing Gateway
<connection name="nysupsvr22"><primary><hostname>192.168.2.34</hostname><port>54906</port></primary><prefix>import_</prefix><import></import><dataSets><dataSet><name>Hardware</name></dataSet></dataSets></connection>