TRINITY logoTRINITYMonitoring

TRINITY Monitoring / Documentation / Device preparation

Reference A. Preparing each device type

What to prepare on each device type before TRINITY monitors it: read-only accounts, API tokens and ports for servers, hypervisors, storage and cloud.

Download the packages
Documentation pages

What to prepare on a device before it is added under Monitoring > Devices & settings > Monitored devices. Until 0.13.0 these notes stood under the form on that page, for some types only; from 0.13.1 they are here, with one section per type, and the form links to the section of the chosen type (link "How to prepare this type"). The table at the end lists every type the form offers, with the port and the account the form asks for.

Common to all types: the portal only reads, so give it a read-only account where the product has one. Secrets and passwords are stored on the portal server encrypted and are never sent back to the browser. "Verify TLS" needs a certificate that the portal server trusts (the self-signed certificate a product creates at installation is not).

Servers

Prepare: Windows server

Agentless: the portal connects to the server over WinRM (Kerberos, port 5985) to the constrained JEA endpoint Trinity and may run only its functions (read metrics and inventory, start Windows updates or a reboot with fixed options). Nothing runs on the server between polls; no token and no password is stored. Once: put the portal's account (the computer account of the portal name, see 14.1) in an AD group and deploy the endpoint with that group - save the server to see the steps (Endpoint setup). Enter the DNS name of the server, not an IP address. Needs Windows PowerShell 5.0 or newer on the server (Windows Server 2016 and newer, or 2012 R2 with WMF 5.1).

Prepare: Linux server

Two ways. Push agent: choose the type Linux server (push agent), save, and run the generated command on the server as root; the agent sends its data to the portal, no inbound port is needed. Agentless: choose Linux server (SSH, agentless), save, and run the generated setup command on the server as root; it creates the monitoring account with the portal's public key. The options of the setup command (updates, power, Docker and others) are described under Server features.

Prepare: OpenVPN server

Choose the type OpenVPN server, save, then run the generated command on the VPN server as root (it installs the Linux agent). Works with OpenVPN Access Server (reads sacli locally) and with the community edition (server configurations and status files in /etc/openvpn); no API account, no inbound port. Shown on the Networking page (licence, subscription, services, connected clients, tunnel traffic). A Linux server that already runs the agent is detected on its own.

Prepare: Server BMC (iDRAC, iLO, XClarity, Supermicro)

A read-only user of the management controller (Redfish), port 443.

Hypervisors and virtualization

Prepare: Proxmox VE

A read-only API token. Run once on a Proxmox node:

pveum user add monitor@pve --comment "Monitoring Portal"
pveum acl modify / --users monitor@pve --roles PVEAuditor
pveum user token add monitor@pve portal --privsep 0

Copy the full token ID (monitor@pve!portal) and the value (the secret, shown only once) into the form. Actions (power, snapshots, backups, VDI) use a second, write credential of the same entry - see the form.

Prepare: Kubernetes / OpenShift

A read-only service account without access to secrets. Apply on the cluster, then copy the token:

kubectl create namespace trinity-monitor
kubectl -n trinity-monitor create serviceaccount trinity-monitor
kubectl create clusterrole trinity-monitor --verb=get,list,watch \
  --resource=nodes,pods,persistentvolumes,persistentvolumeclaims,events,deployments.apps,statefulsets.apps,daemonsets.apps,certificates.cert-manager.io,clusterversions.config.openshift.io,clusteroperators.config.openshift.io
kubectl create clusterrolebinding trinity-monitor --clusterrole=trinity-monitor --serviceaccount=trinity-monitor:trinity-monitor
kubectl -n trinity-monitor create token trinity-monitor --duration=8760h

OpenShift: oc instead of kubectl; resources that do not exist on the cluster are skipped. Address = the API server, port 6443.

Containers

Prepare: Docker and Podman on a Linux server

Nothing to add as an entry: a Linux server that runs Docker or Podman shows its containers on the Containers page and, from collector 1.25.0, on the tab Containers of the server (state, health, CPU and memory, published ports, restart policy and restarts, stack, disk usage of the engine). With the push agent this happens on its own. Over SSH (agentless) tick Docker / Podman containers in the box SSH setup of the entry - the setup command then carries --docker - and run it on the server: the monitoring account joins the group docker. Access to the Docker socket equals root on that server; leave it off where that is not acceptable. The collector only reads: it cannot start or stop a container.

Prepare: Docker Engine

The Engine API of one Docker host, for hosts without the Linux collector and for the actions Start, Stop, Restart and Log. Two ways:

  • TLS with a client certificate, port 2376: switch TLS on for the daemon as Docker describes it (Protect the Docker daemon socket), make a client certificate for the portal, and paste the certificate and its private key, as PEM, one after the other into the field Client certificate and its key. The key must not be encrypted.
  • An API proxy in front of the socket, port 2375 or the URL field, secret empty: a proxy that passes only what is needed - GET on /version, /info, /containers, /images and /volumes, and POST on /containers/ID/start, /stop and /restart when the actions are wanted. Never publish the bare socket: without TLS anyone who reaches the port controls the host.

Whoever can call the whole Engine API is root on that host. The portal itself calls only the paths above, and an action can only name a container the entry listed in its last poll.

Prepare: Portainer

An access token: in Portainer open the user menu > My account > Access tokens > Add access token, and enter the token as the secret. Port 9443. The user of the token decides what the entry sees: every environment that user may see is listed with its state and its last snapshot; of every Docker environment that is up (socket, API, agent, Edge agent) the containers are read through Portainer; Kubernetes environments are listed only. Stacks are listed with their state. Start, Stop, Restart and Log work when that user may operate the containers of the environment.

VDI and end users

Prepare: Citrix on-premises

Host = a Delivery Controller (Monitor Service OData v4, /Citrix/Monitor/OData/v4/Data), port 443 (or 80 for http). Account: an AD user with a read-only Citrix administrator role (Studio > Administrators > Add, role Read Only Administrator, scope All).

Prepare: Citrix Cloud

Citrix Cloud console > Identity and Access Management > API Access > Service principals (or Secure Clients): create one with read-only access; enter the client ID, the secret and the Customer ID shown on that page. Host = the API gateway of your region (api.cloud.com, api.citrixcloud.jp, api.cloud.us).

Prepare: Horizon on-premises

Host = a Connection Server (or the load-balanced name), port 443. Account: DOMAIN\user with the role Administrators (Read only) (Horizon Console > Settings > Administrators).

Prepare: Horizon Cloud (next-gen)

Omnissa Cloud Services console > My Account > API Tokens > Generate token (Horizon Cloud read-only role). Host = your regional API host (for example cloud-sg-eu.horizon.omnissa.com); the Org ID is read from the token.

Network

Prepare: UniFi console / gateway

Create a local read-only admin on the console (UniFi OS > Admins & Users > Create New Admin): tick Restrict to Local Access Only, no 2FA, role View Only for UniFi Network. Port 443, site default. The labels differ a little between UniFi OS versions.

Prepare: SNMP device

SNMP agent on; v2c with a read-only community, or v3 with a user (authentication and privacy). The profile Auto-detect recognises a switch / router / firewall, a server / NAS, a management controller, a UPS and a printer; choose a profile only when the detection is wrong. More: SNMP devices.

Prepare: Cisco Meraki

Dashboard API key of a read-only organization admin (Organization > Settings > API access). Site = the organization ID (empty = the first one).

Prepare: Palo Alto Networks PAN-OS

An admin role with XML API Operational requests (and Export for the configuration backup). Give the API key as the secret, or a user and its password.

Prepare: MikroTik RouterOS 7

Service www-ssl on; a user of a group with the policies read, api, rest-api. Netwatch entries become WAN lines.

Prepare: Sophos Firewall

Add it as SNMP device (SNMP agent on, v2c or v3): disk, memory, HA, IPsec connections and subscriptions are detected.

Prepare: WAN line probe

No account: the portal pings the target 10 times per poll (latency, jitter, loss).

Prepare: Configuration backups of network devices

Operations > Config backups: FortiGate, OPNsense, MikroTik and Palo Alto through their API; switches and routers over SSH.

Storage

One entry per array or cluster, with a read-only account.

Prepare: Synology NAS

DSM > Control Panel > User & Group: create a dedicated user (for example monitor) in the group administrators (DSM has no read-only admin role; the system and storage APIs need it), no 2-step verification, and deny it all shared folders and applications. Port 5001 (HTTPS).

Prepare: Pure Storage FlashArray

The API token of a read-only user.

Prepare: Dell PowerStore / Unity

A local user with a read-only (Operator) role.

Prepare: HPE Nimble / Alletra 5000-6000

A guest user, port 5392.

Prepare: HPE Alletra 9000 / MP, Primera, 3PAR

A browse user; WSAPI started (startwsapi).

Prepare: TrueNAS

An API key.

Prepare: Ceph

On Proxmox VE: a read-only Proxmox API token (user field monitor@pve!portal, port 8006). Otherwise a read-only user of the Ceph Dashboard (port 8443).

Backup

Prepare: Proxmox Backup Server

On the backup server:

proxmox-backup-manager user create monitor@pbs
proxmox-backup-manager user generate-token monitor@pbs portal
proxmox-backup-manager acl update / Audit --auth-id monitor@pbs
proxmox-backup-manager acl update / Audit --auth-id 'monitor@pbs!portal'
proxmox-backup-manager acl update /remote RemoteAudit --auth-id monitor@pbs
proxmox-backup-manager acl update /remote RemoteAudit --auth-id 'monitor@pbs!portal'

User field of the form: monitor@pbs!portal. The role goes to the user and to its token: a token never has more rights than its user, and a token without rights gets empty lists, not an error. RemoteAudit is only needed to see sync jobs.

Prepare: Veeam Backup & Replication

WinRM endpoint (recommended; every edition including Community, and plug-in jobs such as XenServer, Proxmox, Nutanix): add the Veeam server as Windows server, deploy the Trinity endpoint on it, then add this entry and pick that server; the endpoint reads Veeam every 5 minutes with the Veeam PowerShell module. REST API: host = the Veeam server, port 9419, a DOMAIN\user with the role Veeam Backup Viewer (Veeam console > Users and Roles); needs a licence with the REST API (Veeam Universal License or Enterprise Plus).

Prepare: Commvault, Rubrik, Cohesity, NAKIVO

Commvault: a user with View on the CommCell (address of the Web Server). Rubrik: a service account (ReadOnlyAdmin). Cohesity: a Viewer user (DOMAIN\user for AD users). NAKIVO: a Director user. The newest successful backup per VM goes to the Protection page.

Databases

Prepare: Microsoft SQL Server

A read-only monitoring login (SQL authentication):

CREATE LOGIN trinity_monitor WITH PASSWORD = '...';
GRANT VIEW SERVER STATE TO trinity_monitor;
GRANT VIEW ANY DEFINITION TO trinity_monitor;
USE msdb;
CREATE USER trinity_monitor FOR LOGIN trinity_monitor;
ALTER ROLE SQLAgentReaderRole ADD MEMBER trinity_monitor;
GRANT SELECT ON dbo.backupset, dbo.sysjobs, dbo.sysjobhistory TO trinity_monitor;

The msdb part is for backups and SQL Agent jobs. Named instance: host and instance name (the SQL Browser resolves the port, or enter the port). Always On: add each replica, or the listener for the primary. Leave the field Database / Instance empty unless you need a named instance.

Prepare: PostgreSQL

CREATE ROLE trinity_monitor LOGIN PASSWORD '...';
GRANT pg_monitor TO trinity_monitor;

and a pg_hba.conf line for every address the portal connects from (on a cluster: every node and the virtual address). Leave the field Database empty (= postgres). Add each node for replication details (primary: standbys, slots, archiving; standby: lag), or the virtual address / HAProxy port for the primary. Top queries need the extension pg_stat_statements: shared_preload_libraries = 'pg_stat_statements', a restart, then CREATE EXTENSION pg_stat_statements; in the database postgres.

Cloud and identity

Prepare: Microsoft Azure

An app registration (client secret); on each subscription (or the management group) assign Reader and Cost Management Reader to the app. Tenant = the directory ID, user = the application (client) ID. Optional: a filter of subscriptions and a monthly budget (alert when the projected cost of the month is above it).

Prepare: Amazon Web Services

An IAM user with an access key and a read-only policy: ec2:DescribeInstances, ec2:DescribeInstanceStatus, ec2:DescribeVolumes, ce:GetCostAndUsage. Cost Explorer charges USD 0.01 per call - the portal calls it at most every 12 hours.

Prepare: Google Cloud

A service account with Compute Viewer on the project(s); paste the JSON key as the secret. Costs: export Cloud Billing to BigQuery, give the account BigQuery Data Viewer on the dataset and BigQuery Job User on the project, and enter the export table (project.dataset.table).

Prepare: AD FS farm

Add every AD FS server and every Web Application Proxy as Windows server and deploy the Trinity endpoint on it; the endpoint detects the AD FS (adfssrv) or WAP (appproxysvc) service and reads it every 5 minutes with the ADFS / WebApplicationProxy PowerShell modules (no extra account). Then add one entry AD FS farm and tick all its servers. Optional federation service URL: the portal fetches /FederationMetadata/2007-06/FederationMetadata.xml (DNS, load balancer, WAP and certificate end to end). The column probe is http://localhost/adfs/probe on each server (what load balancers use).

Facility and power

Prepare: UPS, PDU and environment sensors

Add UPS, PDUs, NetBotz / NMC sensors, Eaton EMP and APC ATS as SNMP device: PDU load per phase, temperature and humidity probes, dry contacts (water, door, generator) and the source of the transfer switch are detected.

Services and checks

Prepare: Service URL

https://host/path, http://host:8080/ or tcp://host:port (TCP connect only). Checked from the portal server; redirects are not followed (expect 301,302 when the URL redirects). Expected codes: 200, 200,302 or a range 200-399 (the default). Optional keyword = a text that must appear in the first 256 KB of the response.

Every type: port and account

Read from the form of TRINITY 1.2.1: every type the form offers, with the port it proposes and the labels of its fields. An empty cell means the type does not ask for it. For a type with a section above, the section says how to make the account.

Servers

Type Port Address Account Secret
Azure Arc-connected servers (agent status, version, ESU) 443 API host (empty = management.azure.com) Application (client) ID; Directory (tenant) ID Client secret
Linux server (push agent) Server name (hostname or FQDN)
Linux server (SSH, agentless) 22 Server DNS name or IP (the portal connects over SSH) SSH account (created by the setup command)
Server BMC - iDRAC / iLO / XClarity / Supermicro (Redfish) 443 BMC address (iDRAC / iLO / XClarity / BMC) BMC user (read-only) Password
Windows server (WinRM, agentless) Server DNS name (FQDN or host name - not an IP, Kerberos)

Hypervisors and virtualization

Type Port Address Account Secret
HPE Morpheus VM Essentials 443 VM Essentials manager Access token (user menu -> User Settings -> API Access)
KubeVirt / OpenShift Virtualization / SUSE Harvester (Kubernetes API) 6443 Kubernetes API server Service account token (read-only ClusterRole - see the guide)
Microsoft Hyper-V host / cluster node (WinRM) Server DNS name (FQDN or host name - not an IP, Kerberos)
Nutanix (Prism Element / Prism Central) 9440 Cluster VIP (Prism Element) or Prism Central address Prism user (Viewer role) Password
OpenNebula (hosts, datastores, virtual machines; XML-RPC) 2633 Front-end User Password or token
OpenStack (Keystone, Nova, Neutron, Cinder) 5000 Keystone host (or fill in the URL below) User (role reader; user@domain when the domain differs); Project (project@domain) Password
oVirt / Oracle Linux Virtualization Manager / RHV 443 Engine User (user@domain, role ReadOnlyAdmin) Password
Proxmox Datacenter Manager (remotes, nodes, guests) 8443 Datacenter Manager API token ID (user@realm!name) API token secret
Proxmox VE host 8006 Host / IP (one node per cluster is enough) API token ID API token secret
Scale Computing HyperCore 443 Cluster address (any node) User (role Read) Password
VergeOS (nodes, clusters, storage tiers, machines) 443 VergeOS address User (read-only) Password
VMware NSX Manager 443 NSX Manager (cluster VIP or a node) User (role Auditor) Password
VMware vCenter / ESXi host 443 vCenter Server or ESXi host address User with the Read-only role (e.g. monitor@vsphere.local) Password
Xen Orchestra (XCP-ng / XenServer management, backup jobs) 443 Xen Orchestra address Authentication token (of an administrator - Xen Orchestra: user menu -> Authentication tokens -> New token)
XenServer / XCP-ng / Citrix Hypervisor (pool) 443 Pool master (or standalone host) address Pool user (root or Read Only role) Password

Containers and DevOps

Type Port Address Account Secret
Docker Engine (API: containers, images; start / stop / restart, log) 2376 Docker host (Engine API: 2376 with TLS, 2375 for an API proxy) Client certificate and its key (PEM, pasted one after the other; empty for an API proxy)
Gitea / Forgejo (version, runners, repositories) 443 Access token (optional; read:admin for runners and users)
GitHub organisation (runners, workflows, security alerts) 443 API host (empty = api.github.com; Enterprise Server: its host name) Organisation (the name in github.com/) Fine-grained token (read only)
GitLab (runners, pipelines, licence) 443 GitLab host Group (its path; empty = the projects the token is a member of) Access token (scope read_api)
GitOps: Argo CD applications and Flux resources (Kubernetes API) 6443 Kubernetes API server Service account token (read-only ClusterRole - see the guide)
Harbor registry (health, storage, replication, vulnerability scans) 443 User or robot account Password / robot secret
Jenkins (jobs, agents, queue, plugin updates) 443 User API token of the user
Kubernetes / OpenShift cluster (API) 6443 API server address (e.g. api.ocp.acme.local) Service account token
Portainer (environments, stacks, containers; start / stop / restart, log) 9443 Portainer Access token (My account > Access tokens)

VDI and end users

Type Port Address Account Secret
App sign-in check (Citrix StoreFront / RD Web / web form) Test account (DOMAIN\user or UPN - no admin rights) Password of the test account
App Volumes Manager (Horizon) 443 App Volumes Manager Administrator account (DOMAIN\user; a read-only role is enough) Password
Citrix (On-Prem / Cloud) 443 Delivery Controller (Monitor Service) User (DOMAIN\user, read-only Citrix admin) Password
Dell Wyse Management Suite Pro (thin clients) 443 WMS server WMS administrator (WMS API enabled under Portal Administration) Password
IGEL UMS (thin clients, IMI v3) 8443 UMS server UMS administrator (read permission) Password
Jamf Pro (Macs, iPhones, iPads - read only) 443 Jamf Pro host (acme.jamfcloud.com) API client ID (role: Read Computers, Read Mobile Devices) Client secret
Kasm Workspaces (agents, sessions, licence) 443 Kasm address API key API key secret
Parallels RAS (REST API) 20443 Connection Broker with the REST API Administrator account Password
VMware Horizon (On-Prem / Cloud) 443 Connection Server (or load-balanced name) User (DOMAIN\user, read-only Horizon admin) Password

Network

Type Port Address Account Secret
Aruba controller / conductor (ArubaOS 8) 4343 Controller Management user (role read-only) Password
Check Point management server (Management API) 443 Management server Administrator (read-only profile) Password
Cisco Meraki (Dashboard API) Organization ID (empty = the first organization of the key) Dashboard API key
Cisco Secure Firewall Management Center (FMC) 443 Management center User (role Security Analyst, read only - used by the portal alone) Password
Citrix NetScaler (ADC / Gateway) 443 NSIP (management address) - add each HA node User (read-only command policy) Password
F5 BIG-IP (iControl REST) 443 Management address User (role Auditor) Password
FortiGate (REST API) 443 FortiGate management address REST API token
Infoblox NIOS (grid, DNS, DHCP) 443 Grid master User (read-only API access) Password
Juniper Mist (Wi-Fi, switches, gateways) 443 API host (empty = api.mist.com; EU: api.eu.mist.com) Organisation ID (Organization -> Settings) API token (role Observer)
MikroTik RouterOS 7 (REST API) 443 Router address (www-ssl enabled) User (group read, policy rest-api) Password
Netskope (publishers, IPsec tunnels) 443 Tenant host REST API v2 token
OpenVPN server (Access Server / community, Linux agent) OpenVPN server name (hostname or FQDN)
OPNsense (API) 443 OPNsense address API key API secret
Palo Alto Networks PAN-OS (XML API) 443 Firewall / Panorama management address User (empty = the secret is an API key) API key or password
Peplink / Pepwave router (WAN connections, cellular signal) 443 Router (web admin address) User (read-only admin) Password
pfSense (REST API package) 443 pfSense address REST API key
Progress Kemp LoadMaster 443 Management address User with read access (empty = API key) Password or API key
Ruckus SmartZone / Virtual SmartZone 8443 SmartZone Administrator (read-only role) Password
SNMP device (switch, UPS, printer, server, NAS...) 161 Device host / IP Community
SonicWall firewall (SonicOS 7 API) 443 Firewall management address Read-only administrator Password
Teltonika router (RutOS 7: modems, signal, WAN failover) 443 Router User Password
TP-Link Omada controller (Open API) 8043 Controller Client ID; Omada ID (Settings -> Platform Integration -> Open API) Client secret
UniFi console / gateway (all adopted devices) 443 Console / gateway host / IP Local username (read-only); Site Password
WAN line probe (ping from the portal) Target to ping (ISP gateway, branch public IP, 1.1.1.1 ...) Line label (optional, e.g. Bucharest - ISP1 fibre) Password
Zscaler Private Access (App Connectors) 443 API host (empty = config.private.zscaler.com; other clouds: config.zpatwo.net ...) Client ID; ZPA customer ID Client secret

Storage

Type Port Address Account Secret
Brocade Fibre Channel switch (FOS REST) 443 Switch management address User (role user; FOS 8.2 or later) Password
Ceph (Proxmox VE API or Ceph Dashboard) 8006 Proxmox node (Ceph on Proxmox) or Ceph Dashboard address Proxmox API token ID (user@pve!id) or Ceph Dashboard user Token secret / password
Cisco MDS (NX-API) 443 Switch management address (feature nxapi) User (role network-operator) Password
Dell PowerMax (Unisphere) 8443 Unisphere for PowerMax User (role Monitor); Array ID (empty = every local array) Password
Dell PowerScale / Isilon (OneFS) 8080 Cluster address (SmartConnect name or a node) User (role AuditAdmin) Password
Dell PowerStore (REST) 443 PowerStore Manager (cluster) address User (Operator or a read-only role) Password
Dell PowerVault ME4 / ME5, HPE MSA 443 Controller management address User (role monitor) Password
Dell Unity / UnityVSA (REST) 443 Unisphere management address User (Operator or read-only role) Password
Garage object store (admin API) 3903 Any node (admin port) Admin token
Hitachi VSP (Configuration Manager REST API) 443 Controller or Configuration Manager server (port 23451) User (Storage Administrator, view only); Storage device ID or serial number (empty = the first system) Password
HPE Alletra 9000 / MP, Primera, 3PAR (WSAPI) 443 Array address (WSAPI started: startwsapi) User (browse role) Password
HPE Nimble / Alletra 5000-6000 (REST) 5392 Array group management address User (guest role is enough) Password
IBM FlashSystem / Storwize / SVC 7443 Management address User (group Monitor) Password
NetApp ONTAP cluster 443 Cluster management address ONTAP user (readonly role, http application) Password
Pure Storage FlashArray (REST 2.x) 443 Array management address API token
S3 object storage (MinIO, Ceph, AWS S3, Wasabi ...) 443 Endpoint host (or fill in the URL below) Access key ID; Region (MinIO: us-east-1) Secret access key
SeaweedFS (master: topology, volumes, free space) 9333 Master Not used (leave empty)
Synology NAS (DSM) 5001 NAS host / IP DSM username (administrators group) Password
TrueNAS SCALE / CORE (API key) 443 TrueNAS address API key

Backup and recovery

Type Port Address Account Secret
Acronis Cyber Protect Cloud (API client) 443 Data center (e.g. eu2-cloud.acronis.com) API client ID Client secret
Cohesity DataProtect (cluster REST) 443 Cohesity cluster address User ([DOMAIN]user, Viewer role) Password
Commvault (Web Server REST) 443 Web Server / Command Center address User (View on the CommCell) Password
Datto BCDR (Partner Portal API keys) 443 API host (empty = api.datto.com) Public API key Private API key
N-able Cove Data Protection (API user) 443 API host (empty = api.backup.management) API user (e-mail); Partner name (Cove company name) Password
NAKIVO Backup & Replication (Director) 4443 NAKIVO Director address User Password
Proxmox Backup Server (API token) 8007 Proxmox Backup Server address API token ID (user@pbs!tokenname) Token secret
Rubrik CDM (REST) 443 Rubrik cluster address Service account client ID (client/...) or user Secret / password
Veeam Backup & Replication
Veeam Backup for Microsoft 365 (REST API) 4443 VB365 server (REST API) User (DOMAIN\user) Password
VMware Site Recovery Manager / Live Site Recovery 443 SRM appliance vCenter user (role SRM Read-only) Password
Zerto Virtual Manager 443 Zerto Virtual Manager Client ID (appliance) or vCenter user (Windows ZVM) Client secret / password

Databases and middleware

Type Port Address Account Secret
Apache Kafka 9092 Bootstrap broker SASL/PLAIN user (optional - use with TLS) Password
ClickHouse (HTTP interface) 8443 Server (HTTPS interface; plain HTTP: fill in the URL below) User (profile readonly) Password
CloudNativePG - PostgreSQL clusters on Kubernetes 6443 Kubernetes API server Service account token (may list clusters.postgresql.cnpg.io - see the guide)
Elasticsearch / OpenSearch 9200 Node address User (cluster privilege monitor; empty = API key) Password or API key (base64 id:key)
etcd v3 (one entry per member) 2379 Member (HTTPS; plain HTTP: fill in the URL below) User (optional - only with authentication enabled) Password (optional)
InfluxDB 2.x / 1.x 8086 Server (HTTPS; plain HTTP: fill in the URL below) API token (read-only; optional - without it only the health check runs)
Java application (Jolokia agent): JVM, Tomcat, Cassandra 8778 Host (HTTPS on /jolokia; anything else: fill in the URL below) User (optional) Password (optional)
Microsoft SQL Server 1433 SQL Server host (or AG listener / FCI name) Monitoring login (SQL authentication); Instance name (empty = default instance) Password
Milvus vector database 19530 Milvus Token (user:password or API key; empty when authentication is off)
MongoDB 27017 MongoDB server (one member of a replica set) User with the clusterMonitor role (empty = no sign-in) Password
MySQL / MariaDB 3306 MySQL / MariaDB server Monitoring user (PROCESS, REPLICATION CLIENT, SELECT on performance_schema; MariaDB: SLAVE MONITOR) Password
NATS server (monitoring port: connections, JetStream) 8222 NATS server (monitoring port) Not used (leave empty)
Oracle Database (listener + ORDS) 1521 Database host (TNS listener) ORDS user (SQL Administrator role, optional) Password
Patroni PostgreSQL cluster (REST API) 8008 Patroni member(s) - host or IP, several comma-separated REST API user (only if restapi.authentication protects GET - usually empty) REST API password (optional)
PostgreSQL 5432 PostgreSQL host (node, VIP or HAProxy) Monitoring role (member of pg_monitor); Database (empty = postgres) Password
Qdrant vector database 6333 Qdrant API key (read-only; empty when none is set)
RabbitMQ (management API) 15672 Broker address User with the monitoring tag Password
Redis / Valkey 6379 Redis / Valkey server ACL user (optional) Password (optional)

Cloud, SaaS and identity

Type Port Address Account Secret
AD FS farm (WinRM endpoint on AD FS / WAP servers) Password (optional)
AI usage and cost (OpenAI / Anthropic organisation) 443 API host (empty = the provider's) Admin API key of the organisation (read usage and cost)
Amazon Web Services (EC2, costs) Access key ID; Regions (comma-separated, e.g. eu-central-1, us-east-1) Secret access key
Cloudflare (DNS, certificates, WAF - API token) 443 API host (empty = api.cloudflare.com) Zones (optional, comma-separated - empty = all) API token (Zone, DNS, SSL, Analytics, Audit Logs: Read)
Google Cloud (Compute, costs) Billing export table (optional, project.dataset.table - for costs) Service account JSON key (paste the whole file)
Google Workspace (logins to the SIEM, service account) Host Administrator to act as (admin@acme.com) Service account JSON key (domain-wide delegation)
Microsoft 365 / Entra ID (Graph) Application (client) ID; Tenant (directory ID or contoso.onmicrosoft.com) Client secret
Microsoft Azure (subscriptions, costs) Application (client) ID; Tenant (directory ID or contoso.onmicrosoft.com) Client secret
Nextcloud (status, updates, free space, active users) 443 Admin user (empty when the serverinfo token is used) serverinfo token, or the app password of the admin user
Okta (sign-ins to the SIEM, API token) 443 Okta domain (acme.okta.com) API token (read-only administrator)

Security

Type Port Address Account Secret
Attack surface (open ports on public IPs) Label / first target Extra ports to check (comma-separated, optional)
Bitdefender GravityZone (EDR, API key) 443 Console host (empty = cloud.gravityzone.bitdefender.com) API key (Network + Incidents APIs)
Cisco Umbrella (roaming computers, virtual appliances) 443 API host (empty = api.umbrella.com) API key Key secret
CrowdStrike Falcon (EDR, API client) 443 API host (api.crowdstrike.com, api.us-2.crowdstrike.com, api.eu-1.crowdstrike.com) API client ID (Hosts: Read, Alerts: Read) Client secret
DNSFilter (networks, roaming clients) 443 API host (empty = api.dnsfilter.com) API key (read only)
ESET PROTECT Hub / ESET Connect (EDR) 443 Region (eu, us, de, ca, jpn) API user (ESET Business Account, Integrations) Password
Kaspersky Security Center (OpenAPI) 13299 Administration Server User (role Auditor; DOMAIN\user for a domain account) Password
Leaked credentials - Have I Been Pwned (domain search, API key) API host (empty = haveibeenpwned.com) Domains (comma-separated, verified in HIBP) HIBP API key (a subscription; verify the domains in the HIBP dashboard)
Microsoft Defender for Endpoint (EDR, Entra app) API host (empty = api.securitycenter.microsoft.com; EU: eu.api.security.microsoft.com) Application (client) ID (WindowsDefenderATP Machine.Read.All + Alert.Read.All); Tenant (directory ID or contoso.onmicrosoft.com) Client secret
Mimecast (API 2.0, targeted threat protection) 443 API host (empty = api.services.mimecast.com) Client ID Client secret
Proofpoint Targeted Attack Protection 443 API host (empty = tap-api-v2.proofpoint.com) Service principal Secret
Proxmox Mail Gateway (services, queue, mail flow, cluster) 8006 Mail Gateway (any node) User (user@pmg or user@pam, role Auditor) Password
Qualys VMDR (findings import) 443 API server of your platform API user Password
Rapid7 InsightVM console (findings import) 3780 Security console User (read only) Password
SentinelOne (EDR, API token) 443 Management console (acme.sentinelone.net) API token (service user, Viewer)
Sophos Central (EDR, tenant API credential) 443 API host (empty = api.central.sophos.com) Client ID (tenant API credential, Service Principal Read-Only) Client secret
SSH cryptography inventory (key exchange, ciphers, post-quantum) 22 First server (more below) Not used (leave empty)
Tenable Vulnerability Management (findings import) 443 API host (empty = cloud.tenable.com) Access key Secret key
TLS and cryptography inventory (protocol versions, post-quantum key exchange, certificate keys) 443 First target (filled in from the list) (not used)
Trellix ePolicy Orchestrator (on-premises) 8443 ePO server User (queries and System Tree, read only) Password
Trend Vision One (Workbench alerts, endpoints) 443 API host (empty = api.xdr.trendmicro.com; EU: api.eu.xdr.trendmicro.com) API key (role Auditor)
Wazuh manager (API) 55000 Wazuh manager API user (role readonly) Password

Telephony

Type Port Address Account Secret
3CX phone system (V20 configuration API) 443 3CX FQDN (add the port when it is not 443) Client ID of the service principal API key (client secret)
Asterisk / FreePBX (REST interface: endpoints, channels) 8089 ARI user (read_only = yes) Password
AudioCodes SBC / Mediant (REST API) 443 SBC management address User (level Monitor) Password
SIP check (OPTIONS ping: PBX, SBC, trunk)

Facility, power and industrial

Type Port Address Account Secret
BACnet/IP device (building automation) 47808 Device address
Deye / Sunsynk hybrid inverter behind its data logger (solar, battery, grid, load - read only) 8899 Address of the logger (port 502 = newer logger with Link2 set to Modbus Tcp; port 8899 = older stick) Logger serial number - only for the older stick on port 8899 (empty = TRINITY asks the stick). Port 502: leave empty Not used (leave empty)
Deye inverters through the Deye Cloud developer API (solar, battery, grid, load - read only; updates every few minutes) 443 API host of the account's region (empty = eu1-developer.deyecloud.com) Account e-mail App secret (Deye Cloud developer portal)
DNP3 outstation (class 0 read - read only) 20000 Outstation Outstation address / master address Not used (leave empty)
EtherNet/IP device (identity, status - read only) 44818 Device Not used (leave empty)
EV chargers - OCPP 1.6 listener (the chargers connect to the portal; Linux edition) 443 Name of the site (free text) Key in the chargers' address: 16 or more characters of A-Z a-z 0-9 - _ . ~
Home Assistant (state, updates, batteries, problem sensors) 8123 Long-lived access token
IEC 60870-5-104 station (general interrogation - read only) 2404 Station Common address of the station (ASDU address) Not used (leave empty)
KNX IP interface / router (description, programming mode) 3671 KNX IP interface Not used (leave empty)
LoRaWAN network server (ChirpStack / The Things Stack) 443 API key
Modbus TCP device (generator, cooling, UPS, inverter, meter) 502 Device or gateway address Unit ID (0 - 255)
MQTT broker (connect, $SYS statistics, watched topics) 8883 Broker User (optional) Password (optional)
OPC UA server (endpoints, certificate, server state, nodes) 4840 Server (not used)
Shelly device (Gen 1 - Gen 4: state, power, temperature, update) 80 Device User (only when the device asks for a sign-in; usually admin) Password (only when set on the device)
Siemens S7 controller (CPU state, module, firmware - read only) 102 Controller Rack / slot (S7-300/400: 0/2; S7-1200/1500: 0/1) Not used (leave empty)
SunSpec inverter / meter / battery (Modbus TCP) 502 Inverter or its gateway Modbus unit ID (often 1; SMA 126, Fronius 1, SolarEdge 1) Not used (leave empty)

Services and checks

Type Port Address Account Secret
Custom check (plugin script) 443 Target host (passed as {host} / WSP_HOST) User (optional, {user} / WSP_USER) Secret (optional, only in the environment: WSP_SECRET)
Domain (registration, DNS, SPF / DKIM / DMARC, blocklists) Domain (acme.com)
JSON API (generic) - any device or service that answers with JSON 443 Host (taken from the URL) User (optional - with a secret: Basic sign-in) Secret (optional - alone: Bearer token)
OpenTelemetry / Prometheus (OTLP or remote_write push) service.name (as the SDK / Collector sends it - entries are also created automatically on first data) Secret (optional - alone: Bearer token)
Prometheus exporter (scrape /metrics) Basic auth user (optional) Bearer token or password (optional)
Service URL Service URL (http://, https://, tcp://host:port, dns://server/name?type=A, dhcp://server) Bearer token or password (optional)

Names, addresses and accounts in the examples (corp.example.com, 10.0.x.x, CORP\…) are examples: use your own. TRINITY 1.2.1, December 2026.