Help

Configuration Guide

How to Add Resources and Local Accounts with Agent in Monopam

Updated 21 Nov 2026 6 min read

Describes how to add resources by installing an agent in Monopam, how to manage agents, and how to import local accounts.

1. Overview

The agent is a lightweight application that runs 24/7 on the target machine. It keeps running for as long as the machine remains a resource in Monopam, and it detects every new account created on the machine. The agent uses very few system resources.

The agent installation script can be run on machines one by one, or deployed in bulk with SCCM or other software distribution tools. Machines where the installation completes are quickly imported into the interface as resources.

Supported operating systems: Windows, Linux, macOS

See also: Gateways, Sites and Agents (opens in a new tab) · Agents (opens in a new tab)

2. Adding a Resource with Agent

2.1 Opening the Import with Agent screen

  1. Go to Resources in the left menu.

  1. Click the three dots next to the Add New button in the top right.

  1. Select Import with Agent from the menu.

image-20261120-191229.png

2.2 Getting the installation script

In the Import Resource with Agent window (Guided Installation), follow these steps:

  1. The gateway used for the installation is shown on screen. If you use a self-signed certificate, turn on I’m using a self-signed certificate.

  1. Select the target machine’s operating system: Windows, Linux or macOS.

  1. For Linux, select the download tool: curl or wget.

  1. Copy the script with Copy to clipboard.

image-20261120-191325.png

Figure 2: Import Resource with Agent – Guided Installation

Note: The script requires sudo permission. The status bar at the bottom of the window waits for the installation and updates automatically once the script runs on the target machine.

 See also: Add a resource (opens in a new tab) · Monopam Gateway Requirements (opens in a new tab)

2.3 Running the script on the target machine

Run the copied script in the target machine’s terminal (or deploy it to machines with a distribution tool such as SCCM). The script verifies the agent setup key, checks distribution and architecture compatibility, then downloads, installs and configures the agent.

When the installation succeeds, the terminal shows the message Monofor Linux Agent is successfully installed.

monopam-linux-agent-install-redacted.png

Figure 3: Running the agent installation script in the terminal

2.4 Viewing the resource in the interface

After the installation, the machine appears in the Resources list. A Healthy status in the Agent column shows that the agent is running and communicating with Monopam.

image-20261119-145240.png

Figure 4: Resource added with agent and its Healthy status

3. Agent Management

3.1 Checking agent health and updating

All agents are listed under Agents in the left menu. This screen shows each agent’s resource, hostname, IP, state, connection type, operating system and version.

  • Agent health is tracked in the State column.

  • Use Update agent from the three dots on the right of a row to update an agent quickly. To update all agents at once, use the Update all agents button.

  • Use Delete in the same menu to remove the agent from the interface.

image-20261119-145311.png

Figure 5: Agents list and agent actions

See also: Agents (opens in a new tab)

3.2 Deleting an agent or resource from the interface

You can delete the agent from the Agents screen, and the machine where the agent is installed from the Resources screen.

Important: As long as the agent is not removed from the machine, the resource and the agent will be created again in the interface. To remove the agent from the machine, follow the “Removing the Agent from the Machine” step.

3.3 Removing the agent from the machine

To remove the Monofor Linux Agent from the target machine, follow the steps below.

  1. Stop the agent service.

    systemctl stop monofor-agent.service
  2. Disable the agent service to prevent it from starting automatically.

    systemctl disable monofor-agent.service
  3. Remove the agent service file from the systemd directory.

    rm -f /etc/systemd/system/monofor-agent.service
  4. Reload the systemd configuration to apply the changes.

    systemctl daemon-reload
  5. Remove the agent installation directory after verifying that it contains only agent-related files.

    rm -rf -- /opt/monofor/agent
  6. Verify that the agent has been successfully removed by checking the service status and running processes.

    systemctl status monofor-agent.service
    pgrep -af '/opt/monofor/agent/monofor-agent'

    The expected result is that the agent service is not found and no active agent process is detected.

Note: These steps apply to the Monofor Linux Agent installed under /opt/monofor/agent. The commands target only the agent service and its installation directory, without intentionally modifying other Monofor components.

4. Adding Local Accounts to a Resource

4.1 Discovering local accounts

  1. Go to Resources and open the resource added with the agent.

  1. On the resource edit screen, click the three dots next to the Save button in the top right.

  1. Select Discover Local Account(s).

image-20261119-150425.png

Figure 6: Discover Local Account(s) option on the resource screen

4.2 Selecting accounts to import

The screen lists all existing and newly created local accounts on the machine. Accounts added earlier are marked Already Imported. You can hide system accounts with Exclude Built-in Accounts.

  1. Select the accounts to import.

  1. Click Import Accounts.

image-20261119-150507.png

Figure 7: Discovered local accounts and selection

See also: Local accounts (opens in a new tab) · Discovered accounts (opens in a new tab)

4.3 Review Accounts

The first step shows the accounts to be imported. Assign also for access also assigns the accounts to the resource for access. After reviewing, click Continue.

image-20261119-150527.png

Figure 8: Import Local Account(s) – Review Accounts

4.4 Import Settings

This step sets the options applied during import:

  • Reset Account’s Passwords while importing: This option must be turned on.

  • Assign Account’s Password to the following policy: Select the password policy used to generate the new password (e.g. Default Password Policy).

  • Rotation / Vault Access / Resource Access Policy: Optionally, assign the accounts to these policies.

After configuring the settings, click Continue.

image-20261119-150558.png

Figure 9: Import Local Account(s) – Import Settings

Why is it required?: On Windows, Linux and macOS, accounts are transferred to PAM by resetting the user’s password. After the transfer, Monopam generates a new password that complies with the selected password policy and assigns the local account to the related resource.

See also: Password rotation and reconcile (opens in a new tab) · Password Rotation Policy (opens in a new tab) · Vault Access Policy (opens in a new tab) · Resource Access Policy (opens in a new tab)

4.5 Import Summary

The last step shows how many accounts will be imported and the status of each. Click Start Import to begin. When the import completes, the accounts appear in the Access Accounts list under the resource.

image-20261119-150627.png

Figure 10: Import Local Account(s) – Import Summary

Permanent link