Chapter 13: Admin

List of XMPP relays

XMPP relays are communication points between the various machines on your network.

image.png

Why this is useful:

This allows you to see all active connections and understand how machines communicate with each other.

Steps:
  1. In the menu, click “List of Relays”.

  2. A page opens with a list of relays.

  3. For each relay, you’ll see several pieces of information, such as:

    • The name (called JID)

    • The cluster it belongs to

    • The cluster description
    • The number of managed machines:

      • Total number of machines
      • Number of machines not inventoried online
    • Its classes 
    • Its MAC address, also known as the physical address 
    • The relay'sIP address

  4. You also have access to a number of quick actions. 
Tip:

You can search for a relay by typing a keyword into the search bar at the top of the list.

Cluster List

Acluster is a group of relays that are grouped together to organize the network in a more logical way.

image.png

Why this is useful:

It helps you better manage your network, especially if you have different environments (e.g., test, production, etc.).

Steps:
  1. Go to the “Clusters List” section .

  2. You will see a list with:

    • The cluster name

    • Its description

    • The type (private or public)

    • The relays associated with it

Example:

A cluster named “Public-...” can contain all shared public relays.

By clicking the pencil icon in Actions, you can edit the cluster by following these steps: 

  1. Choose a cluster name
  2. Choose a description
  3. Select the relays outside the cluster to add to the cluster and vice versa
  4. Confirm 

image.png

Create a cluster

Creating acluster allows you to better organize your relays according to your needs (for example, separating testing from production). This is exactly the same form as the edit form. 

image.png

Steps:

  1. Click “New Cluster” in the menu.

  2. Click the “Add a new cluster” button .

  3. Fill in the fields:

    • Clustername (e.g., "TestCluster")

    • Description (e.g., "Cluster for test relays")

  4. Select the relays you want to associate with it (a list will appear).

  5. Click “Confirm” to save.

Manage rules

Rules allow you to automate certain network actions or behaviors.

image.png

Why this is useful:

For example, this can trigger an automatic check or apply specific settings based on defined conditions.

Steps:
  1. Click “Rules” in the menu.

  2. On the page, you can:

    • Change the priority order of existing rules by clicking the down arrow to lower it or the up arrow to raise it. image.pngimage.png

    • Add a new rule as neededimage.png

    • View the details of a rule 

    image.png

When you click the plus icon to add a new rule, the following form appears: 

image.png

Fill in the fields one by one: 

  1. Select the rule
  2. Select your relay
  3. Describe the subject
  4. Enter the regex to check 
  5. Validate 

Even if you’re not technically inclined, you can ask an administrator which rules are recommended for your environment.

Quick Actions

image.png

Each XMPP relay has a setof quick actions that allow you to interact directly with the machines it manages. These actions are accessible from the list of relays and are designed to simplify common administration, diagnostic, or configuration tasks without requiring advanced technical knowledge.

Here is a detailed overview of each action, its purpose, and the procedure for using it.

1. View the list of installed packages

Purpose
View the software installed on the machines attached to a relay.

Procedure

image.png

  1. Click the "List of packages" button to the right of the relevant relay.

  2. A window opens displaying the installed software, along with their names and versions.

When to use

2. Reconfigure the machines connected to the relay

Objective
Automatically reapply the active configuration to machines connected to the relay.

Procedure

image.png

  1. Click "Reconfigure".

  2. Confirm the action if prompted.

  3. The machines will receive the current configuration again.

When to use

3. Change the relay on one or more machines (Switch function)

Objective
Move one or more machines from one relay to another.

Procedure

image.png

  1. Click "Switch" to the right of the original relay.

  2. Select the machines to move.

  3. Select the destination relay.

  4. Confirm to apply the change.

When to use it

4. Modify the configuration files

Objective
Manually modify the configuration files of a relay or its machines.

Procedure

image.png

  1. Click "Edit configuration files" (first gear icon)

  2. An editing interface opens.

  3. Make the necessary changes.

  4. Save the changes.

When to use it

Note: This operation directly affects the system. Use with caution.

5. View current or past quality assurance (QA) checks

Objective
View compliance, security, or quality tests performed on the machines.

Procedure

image.png

  1. Click "QA Launched".

  2. A window displays the list of tests run and their status (passed or failed).

When to use

6. Access system actions (advanced diagnostics)

Objective
To use diagnostic or remote intervention tools on a machine.

Procedure

image.png

  1. Click "Actions" next to the relay.

  2. Select one of the available options:

    • Reboot: Restart the machine.

    • Process: View running processes.

    • Disk usage: View the disk space used.

    • Agent version: View the version of the installed software agent.

    • Netstat: displays active network connections.

    • Console: opens a command-line interface.

When to use it

7. Banning a machine

Objective
Temporarily block a machine’s access to the system.

Procedure

image.png

  1. Click "Ban" next to the relay.

  2. Confirm the ban.

  3. The machine is isolated from the rest of the network.

When to use

8. Unbanning a machine

Objective
To lift the block applied to a previously banned machine.

Procedure

image.png

  1. Click "Unban".

  2. The machine regains its normal communication privileges.

When to use

9. Remote Access

Objective
To control a machine remotely as if you were physically in front of it.

Procedure

image.png

  1. Click "Remote Control".

  2. A remote session opens, allowing you to interact with the machine’s graphical interface.

When to use it

10. Manage relay rules

Objective
View, modify, or add operating rules specific to a relay.

Procedure

image.png

  1. Click on "Relay Rules" (last gear icon)

  2. From the interface:

    • View existing rules.

    • Edit or delete obsolete rules.

    • Add new rules as needed.

When to use it