Contents
FlowPro agent is a small program for Debian and Ubuntu servers. It sends information about the server to FlowPro NG and carries out the changes you order: it manages the firewall, installs updates and watches services. The guide has three parts, each with a short video: installation, data and monitoring, maintenance. Below each video you will find the same steps as text.
How the agent works
- It connects by itself and outbound only, over HTTPS on port 443. It opens no port on the server.
- FlowPro NG signs every job. The agent carries out only a signed job from its own FlowPro NG.
- The administrator of the server decides what the agent may do. The permissions are written in
/etc/flowpro-agent/agent.confon the server.
Part 1: installation
The video above shows the whole installation. It takes about a minute.
1. Add an agent and choose the permissions
In FlowPro NG open Infrastructure → FlowPro agents and click Add FlowPro agent. In the dialog choose what the agent may do on the server:
- change: update itself, install package updates, restart the server,
- see: accounts, services and ports, the security check, logins and account changes, processes, Monitor checks and diagnostics on request.
The choice is written into the command. The command is valid for one hour, for one server and one use.

2. Run the command on the server
Copy the command and paste it into a terminal on the server as root. The installer downloads the package from your FlowPro NG, verifies its checksum, installs it and registers the agent. Nothing else on the server is changed.
The state of the agent is shown at any time by:
flowpro-agent status
3. Check the server in FlowPro NG
The server appears in the list right away with the state Connected, the system, the agent version and the first metrics. In the device detail, the FlowPro agent tab shows in green the permissions allowed on the server, and the Test the connection button sends the agent a test job.


Part 2: data and monitoring
Device detail and performance
Every server with the agent has its own detail in FlowPro NG. At the top are the state, the load of the processor, memory and disk, and the state of updates. The Performance tab draws the history: processor, memory, disks, network and system load. Nothing else has to run on the server for that.

Software, accounts and services
The agent sends the list of installed packages. From it FlowPro NG knows how many updates are waiting, and the Software and vulnerabilities module matches them with known vulnerabilities. The Accounts & services view describes the server: the accounts of people and administrators, listening ports, services including failed ones, scheduled jobs and certificates on the disk.
Security check and logins
Once a day the Security check goes through the configuration of the server (SSH, accounts, firewall, updates). The result is a score out of 100, and every finding comes with advice on what to do.

The agent also reports SSH logins, the use of sudo and su, and account changes. No other log lines leave the server. FlowPro NG turns a suspicious series into an event by itself, for example “login after a series of failed attempts”.

Monitor
On the Monitor tab FlowPro NG suggests templates by the services that run on the server, here SSH and a web server. After you click Apply the selected, it watches that the services run and that their ports are listening. It also watches the availability of the server, disk space, memory and time.
In the video we stopped nginx on the server. Within a minute the Monitor shows a problem: the service is not running and nothing listens on port 80. The same message goes to the Event Center and, by the notification rules, to e-mail. When the service runs again, the problem closes by itself.

Part 3: maintenance
Package updates
In the device detail open FlowPro agent → Updates. Right after the agent is installed, FlowPro NG only shows what is waiting. The Set Up button decides what it manages:
- nothing, security updates only, or all packages,
- installation by hand, or automatically in a maintenance window,
- the restart of the server and the restart of services after an update,
- packages that must never be updated.
The Install button opens the list of waiting packages with the installed and the new version. Choose the scope or single packages and confirm the installation.


After the installation FlowPro NG recognises services that still run on the old libraries and offers to restart them. The server also writes every step into its own file, /var/log/flowpro-agent/updates.log. The overview of all servers is in the FlowPro agent menu on the Updates and History tabs.
Firewall
In the Firewall module choose Take over the firewall for the server. FlowPro NG reads the rules exactly as they run on the server and stores them as version 1. Nothing changes on the server. From then on you edit the rules in FlowPro NG; in the video we add a rule for TCP port 9100 from the management network.

At first the change exists only in the draft. The Deploy changes button sends it to the server. The server tries the rules without applying them, then applies them and waits for a confirmation. If the confirmation does not arrive in time, it returns to the previous state by itself.

A detailed description of the firewall is in the guide FlowPro agent and Firewall.
Diagnostics on request
On the Diagnostics tab the agent shows, on request, the running processes, logged-in users, the largest directories or the state of one service with the last lines of its log. The answer is stored nowhere.

Summary
- The installation is one command, and the agent connects outbound only, over HTTPS.
- The administrator of the server decides what the agent may do and can change it at any time.
- FlowPro NG receives metrics, software, accounts, services and logins from the server and watches it in the Monitor.
- You manage updates and the firewall from one place, with a history and a safety net against mistakes.
You can try FlowPro NG free for 14 days.
- Video
- FlowPro agent
- Aktualizace
- Firewall
- Monitor


