Ekalix Radar · install and licence guide

Installed in about ten minutes.

Everything the person installing Ekalix Radar needs: what to have ready, the installer, the setup page, the rights and ports, and the licence. The same guide is in the download as INSTALL.html.

1 · What you need
  • A Windows Server 2016 or later to run Ekalix - or Windows 10 or 11 for a trial. Windows PowerShell 5.1 and the .NET Framework are built in; nothing else is installed - no PowerShell modules, no Python, no agents - here or on the servers you watch.
  • A SQL Server 2016 SP1 or later for the Ekalix database, any edition. With none on the computer, the installer offers SQL Server 2022 Express, free from Microsoft. Allow about 100 MB per monitored SQL Server instance - two years of performance history and two weeks of its busiest queries - and about 30 MB per Windows, IIS or MongoDB server; automatic collection adds about 20 MB a server. Express holds up to 10 GB: enough for about 80 SQL Server instances.
  • One Windows account to run Ekalix, ideally a service account - or Ekalix's own service account, NT SERVICE\Ekalix, which needs no password. It runs everything - the page, the collectors, the recorder and the alerts - so the rights below are all for this one account.
  • Your licence file from your account at ekalix.com. The free 14-day trial licence comes with the download.
  • Edge or Chrome to open the page, signing in with Windows - on the Ekalix server, or from people's own computers when Ekalix is opened to the network.
2 · Install

Unblock and extract

Right-click the downloaded zip, choose Properties, tick Unblock, press OK. Then right-click it again and choose Extract All. It holds one folder, Ekalix. Do not run anything from inside the zip.

Run Ekalix Setup

Double-click Ekalix Setup in that folder and approve the administrator prompt. If Windows says Windows protected your PC, choose More info, then Run anyway. The wizard asks where Ekalix lives, which account runs it, where its data goes - a SQL Server you have, or SQL Server Express installed for you - and who opens the page, and how - over HTTPS with your organisation's certificate, or one Setup makes for a trial; then it installs, showing each step, and checks the page answers. Prefer a command window? Install Ekalix.cmd does the same.

Connect its database

Open the Ekalix shortcut on the desktop, or http://localhost:8100 (https://<the server's name>:8100 when served over HTTPS). On the setup page enter the SQL Server the installer named (for Express, localhost\SQLEXPRESS), press Test, then Create the database. You become the first Owner.

Install your licence

Setup ends by asking for the licence file - nothing is collected until one is installed. Then press Export key file and keep it and its passphrase safe, apart.

Add servers and people

Press Add server for each SQL Server instance or Azure SQL database, Windows or Linux host, IIS, MongoDB or PostgreSQL server - monitoring starts at once, and a new installation collects every server every 15 minutes, so every page stays current without pressing Monitor. Change that in Configuration, Dashboard, Automatic collection: every 2, 5, 10 or 15 minutes, or off. In Administration, Access, give AD groups or people a role; keep at least two Owners.

3 · Rights and ports

What each part needs.

Who or whereNeedsFor
The Ekalix account, on the Ekalix serverAn ordinary user - no administrator rights. The installer gives it Log on as a service (the Windows service Ekalix Radar runs as it, with nobody signed in) and Modify on the Ekalix folder. A service account, a gMSA, or Ekalix's own NT SERVICE\Ekalix - the last two with no password to look after. NT SERVICE\Ekalix is itself on the same computer and the computer's account (DOMAIN\NAME$) on other serversRuns the page, the collectors, the recorder and the alerts
… on the SQL Server for the Ekalix databasedbcreator for setup, or db_owner of an empty database your DBA created; afterwards db_owner of the Ekalix databaseSettings, servers, history, the audit log and the licence
… on each SQL Server you watchThe read-only rights below, or sysadmin. Optional: ALTER ANY EVENT SESSION for the MonitorEx event session. A SQL login per server also works, stored encryptedHealth, jobs, backups, availability groups, waits and queries - read only
… on each Windows or IIS server you watchLocal Administrators group, and WinRM (TCP 5985); without WinRM, a reduced set over DCOMCounters, disks, services, event logs, IIS sites and pools
… on each MongoDB you watchThe read-only monitorex user belowServer, replication and operations - never a document
… on each Azure SQL database you watchA contained user (ekalix_monitor below) with VIEW DATABASE STATE - or, on a managed instance, a login with the SQL Server rights. Signed in to with SQL authentication; the password is stored encryptedResource use against the service tier, storage, geo-replication, tuning, waits - read only
… on each PostgreSQL server you watchThe role monitorex below, a member of pg_monitor - it reads every statistic and can change nothing. Optional: pg_stat_statements for the Statements pageActivity, blocking, replication, vacuum, bloat, indexes and statements - every statement in a read-only transaction
… on each Linux host you watchAn ordinary account (monitorex below) holding the public half of a key kept on the Ekalix server - no sudo. On the Ekalix server, Windows' own OpenSSH clientCPU, memory, file systems, disks, network, failed units and the journal - one fixed, read-only script per visit
An administrator, onceApproves the installer - and, to open the page to colleagues, the page's address and its port in Windows Firewall. The installer can also apply the read-only rights above with that person's own rights on your serversSetting Ekalix up once
People who use the pageA role for AD groups or people: Owner, Administrator, Operator, Auditor or Viewer. Windows sign-in; no rights on the servers watchedWho sees and does what
PortFromTo
TCP 8100 (or the port you set), HTTP or HTTPSPeople's browsersThe Ekalix server - that server only, unless opened to the network
TCP 1433 or the instance's portThe Ekalix serverThe Ekalix database's SQL Server and each SQL Server you watch
TCP 5985 (WinRM), or TCP 135 and the RPC range (DCOM)The Ekalix serverEach Windows or IIS server you watch
TCP 27017The Ekalix serverEach MongoDB member you watch
TCP 1433 (3342 for a managed instance's public endpoint)The Ekalix serverEach Azure SQL database and managed instance you watch
TCP 5432 or the server's portThe Ekalix serverEach PostgreSQL server you watch, or the pooler in front of it
TCP 22 or the port sshd listens onThe Ekalix serverEach Linux host you watch
LDAP (TCP 389, or 3268)The Ekalix serverA domain controller - only for Audit servers, and to name the SPNs to register when a SQL Server's Windows sign-in is refused in a connection test
HTTPS, SMTP or syslog, outboundThe Ekalix serverOnly what you configure: AI explanations, alert channels and single sign-on. Licensing is offline: Ekalix never calls home
4 · Read-only rights on a monitored SQL Server

The installer writes this for your account into config\access\grant-sql.sql, and can run it for you. By hand, on each SQL Server you monitor:

USE master;
CREATE LOGIN [DOMAIN\svc-ekalix] FROM WINDOWS;
GRANT VIEW SERVER STATE, VIEW ANY DEFINITION,
      CONNECT ANY DATABASE TO [DOMAIN\svc-ekalix];
CREATE USER [DOMAIN\svc-ekalix] FOR LOGIN [DOMAIN\svc-ekalix];
GRANT EXECUTE ON sys.xp_readerrorlog TO [DOMAIN\svc-ekalix];
USE msdb;
CREATE USER [DOMAIN\svc-ekalix] FOR LOGIN [DOMAIN\svc-ekalix];
ALTER ROLE SQLAgentReaderRole ADD MEMBER [DOMAIN\svc-ekalix];
ALTER ROLE db_datareader ADD MEMBER [DOMAIN\svc-ekalix];
5 · Read-only rights on a monitored MongoDB

Once per replica set, on its primary, in mongosh. Nothing it is given can change data, and Ekalix never reads a document from your collections.

use admin
db.createUser({
  user: "monitorex",
  pwd: passwordPrompt(),
  roles: [ { role: "clusterMonitor", db: "admin" },
           { role: "read", db: "local" } ]
})
6 · Read-only rights on a monitored PostgreSQL server

As a superuser, once per server, and a line in pg_hba.conf to let the role in from the Ekalix server. pg_monitor reads every statistic and setting and can change nothing.

CREATE ROLE monitorex LOGIN PASSWORD '...';
GRANT pg_monitor TO monitorex;
-- optional, for the Statements page:
-- shared_preload_libraries = 'pg_stat_statements'
CREATE EXTENSION pg_stat_statements;
-- pg_hba.conf, then reload:
hostssl all monitorex <Ekalix server>/32 scram-sha-256
7 · Azure SQL and Linux

In each Azure SQL database Ekalix watches, as its owner; on each Linux host, as root, for a key made on the Ekalix server (the full steps are in INSTALL.html).

-- Azure SQL Database (one Ekalix entry per database)
CREATE USER [ekalix_monitor] WITH PASSWORD = '...';
GRANT VIEW DATABASE STATE TO [ekalix_monitor];

# Linux host: an ordinary account and the key's public half
useradd --create-home --shell /bin/sh monitorex
install -d -m 700 -o monitorex /home/monitorex/.ssh
cat ekalix_ed25519.pub >> /home/monitorex/.ssh/authorized_keys
usermod -aG systemd-journal monitorex   # optional
8 · Your trial and your licence
  • The trial is a licence file that comes with the download from your account - 14 days, every feature, up to 100 units. Until a licence is installed, Ekalix collects nothing.
  • To buy, choose the number of units at checkout in your account. The same licence becomes paid - same id, nothing to reinstall.
  • Units: a SQL Server instance (an Azure SQL database or managed instance too), an application server, a MongoDB member or a PostgreSQL server is 1. A Windows or Linux host is half, or free on the same machine as a monitored SQL Server, application, MongoDB or PostgreSQL server.
  • When a paid licence ends there are 30 days' grace with a warning; a trial simply ends. Everything collected stays readable.
9 · Looking after it
  • Back up the Ekalix database like any other database.
  • Moving to another server: run Ekalix Setup there, connect to the existing database on the setup page, and give it the key file. The licence moves with the database.
  • A new version: back up the database, then run the new version's Ekalix Setup and choose the folder Ekalix is in. It stops Ekalix, replaces its files, keeps its settings and logs, and starts it again. When a version changes the database, an Owner is asked to upgrade it; 15.0 does not - from 14.8 it is Setup alone; from 14.7 back to 12.x the database goes from schema 4 to 5 (it only adds tables) - after Setup, the page asks an Owner to upgrade it once a backup is taken, and collects nothing until then.
  • If the page does not open: Setup's last page says what it found, with the details under Show what Setup did. Ekalix writes each step of its start-up to logs\sqlmon-<date>.log and, started with Windows or at sign-in, everything it prints to logs\console-<date>.log. Ekalix.cmd runs it in a window you can see.
  • Changing or removing it: Settings, Apps, Ekalix Radar - Modify runs the setup wizard again; Uninstall stops Ekalix and removes what starts it (the Windows service Ekalix - or, from a version before 14.0, the scheduled task - or its place in the startup list), its shortcuts and, if you tick them, the folder and the Ekalix database. Deleting the database asks first, takes a backup of it (unless you untick that) and refuses while another Ekalix still uses it. Removing only the folder keeps the database, and its key on this computer: install Ekalix again and Setup finds the database and asks whether to use it, with everything in it - like an upgrade. SQL Server itself is never removed.

Ekalix only reads from the servers it monitors. It installs nothing on them and changes nothing - apart from the optional MonitorEx event session, where you allow it.

Ready to try it?

Fourteen days, every feature, up to 100 servers. Questions: sales@ekalix.com.