Documentation contents

Platform health and benchmark

Read the server’s real load, and measure a machine before putting it into production.

Applies to Adekio 1.1 · 2 min read

Platform health

Settings > Platform health (administrators) shows the load of the last 5 minutes:

  • polls of the last minute against expected polls, start delay (median, 95th and 99th percentiles);
  • concurrent polls and their limit (monitoring.workers), duration and failures per protocol;
  • time series (size, writes), database (response time, connections);
  • server CPU and memory, free space on the measurement disk.

A banner reports what goes beyond: engine late, all polling slots taken, slow writes, slow database, disk almost full. The same counters exist in Prometheus format: see REST API and audit log.

Measure a machine with the benchmark

adekio bench creates a simulated estate (SNMP devices of a site, with all their interfaces, plus one HTTP sensor per item), polls it with the real engine and the real database, then gives a report. It needs an empty database reserved for it: it refuses a database holding other items and erases its data at the end.

# First create an empty database, for example adekio_bench, with the same account as Adekio's database
.\adekio.exe bench --database "postgres://adekio:<password>@<server>:5432/adekio_bench" --items 25000 --duration 10m
Option Meaning
--items N simulated items (each: one SNMP sensor, about 30 series); 40,000 at most
--extra 0, 1, 2 additional sensors per item: HTTP, then TCP (1 by default)
--interval 60s polling interval
--workers N concurrent polls
--json file report also in JSON

Simulated devices listen over UDP on local ports: nothing leaves the machine. The report gives the polls done against expected, the delays, Adekio’s CPU and memory, and the disk space per day; it ends with "OK" or the list of what does not hold.

Was this page helpful?

Report a problem on this page
↑↓ pour naviguer Entrée pour ouvrir Échap pour fermer