Technical Tip: How to register/re-register a collector (updated for FortiSIEM v5.2+ / v7.x)
| Description | This article describes how to register or re-register a FortiSIEM Collector to a Supervisor using the supported CLI method. |
| Scope | FortiSIEM v5.2.x and later (including v6.x/v7.x). |
| Solution | Before registering the Collector, confirm:
On Supervisor GUI:
Recommended:
Procedure A: Register a Collector (Enterprise/Single Organization).
Step 1: SSH to the Collector. Log in via SSH as a root user.
Step 2: Run the registration command. Use the phProvisionCollector utility:
phProvisionCollector --add <User> '<Password>' <Supervisor_IP_or_FQDN> <Organization> <Collector_Name>
Example (Enterprise default org 'super'):
phProvisionCollector --add admin '<P@ssw0rd>' X.X.X.X super COLLECTOR01
Parameters explained:
Step 3: Confirm status in the GUI. On Supervisor:
Procedure B: Re-register/update an existing Collector. If the Collector was previously registered but lost connection (after redeploy, IP change, cert issues, or corrupted registration), use:
phProvisionCollector --update <User> '<Password>' <Supervisor_IP_or_FQDN> <Organization> <Collector_Name>
Example:
phProvisionCollector --update admin '<P@ssw0rd>' X.X.X.X super COLLECTOR01
When to use '--update':
Procedure C: Register the Collector (Service Provider/Multi-Tenant). For multi-tenant environments, use the correct Organization.
Step 1: Confirm the Organization exists.
In the Supervisor GUI:
Step 2: Create the Collector under that Organization:
In the supervisor GUI:
Step 3: Register using the tenant context.
phProvisionCollector --add <OrgUser> '<Password>' <Supervisor_IP_or_FQDN> <Organization> <Collector_Name>
Example:
phProvisionCollector --add exampleadmin '<P@ssw0rd>' siem-supervisor.example.com CustomerA COL-EXAMPLE-01
Verification checklist:
After running the command, verify the following:
In the supervisor GUI:
On the Collector (CLI):
Using the CLI, verify that the Natural ID matches on both the Supervisor and the Collector.
On Supervisor:
psql -U phoenix -d phoenixdb -c "select cust_org_id, name, ip_addr, eps, natural_id, collector_id from ph_sys_collector;"
On Collector:
cat /sys/class/dmi/id/product_uuid
Note: The legacy method using the Collector Web UI (port 5480) was applicable to older releases and is not used in current versions. |
