Report usage data to F5 (connected)
For disconnected environments, see Report usage data to F5 (disconnected).
In environments where NGINX Instance Manager has internet access but NGINX Plus doesn’t, NGINX Plus sends usage data to NGINX Instance Manager. NGINX Instance Manager automatically sends the usage reports to F5 for verification, or you can send them manually.
If usage reporting fails, NGINX Plus stops processing traffic. Previously reported instances are an exception — see handling outages for details.
Use the steps below to configure NGINX Plus to report usage data to NGINX Instance Manager and submit the report to F5 for verification.
Before submitting usage data to F5, open the required network ports and configure NGINX Plus to report to NGINX Instance Manager.
Open port 443 for https://product.connect.nginx.com/api/nginx-usage/batch.
ImportantThere is no Manual reporting option for connected mode in NGINX Instance Manager 2.22 and later versions (The "licensing page", "Enable Continuous Connection" toggle and "Send Usage to F5" button are not available).
Open port 443 for these URLs:
https://product.apis.f5.com/https://product-s.apis.f5.com/ee
To configure NGINX Plus (R33 and later) to report usage data to NGINX Instance Manager:
-
Allow NGINX Plus instances to connect to NGINX Instance Manager over HTTPS (TCP
443). -
On each NGINX Plus instance, set the
usage_reportdirective in themgmtblock of/etc/nginx/nginx.confto point to your NGINX Instance Manager host:nginx mgmt { usage_report endpoint=<NGINX-INSTANCE-MANAGER-FQDN>; } -
Reload NGINX:
systemctl reload nginx
If you’re using self-signed certificates with NGINX Instance Manager,
see Configure SSL verification for self-signed certificates for additional steps.
When you add your JSON Web Token (JWT) to NGINX Instance Manager, usage reporting is enabled by default. NGINX Instance Manager automatically reports subscription entitlement and usage data to F5.
Usage reporting requirement:Report usage to F5 regularly. If usage isn’t reported for 180 days, NGINX Plus stops processing traffic. See About subscription licenses for details.
To submit usage reports manually:
- Log in to NGINX Instance Manager (
https://<NIM_FQDN>/ui/). - Select the Settings (gear) icon.
- On the Licenses > Overview page, turn off Enable Continuous Connection.
- Select Send Usage to F5.
By default, NGINX Plus sends usage data to F5 every hour in a POST request. The report includes information such as traffic volume, runtime, and instance activity.
Here’s an example of a usage report:
{
"version": "<nginx_version>",
"uuid": "<nginx_uuid>",
"nap": "<active/inactive>", // NGINX App Protect status
"http": {
"client": {
"received": 0, // bytes received
"sent": 0, // bytes sent
"requests": 0 // HTTP requests processed
},
"upstream": {
"received": 0, // bytes received
"sent": 0 // bytes sent
}
},
"stream": {
"client": {
"received": 0, // bytes received
"sent": 0 // bytes sent
},
"upstream": {
"received": 0, // bytes received
"sent": 0 // bytes sent
}
},
"workers": 0, // number of worker processes running
"uptime": 0, // seconds the instance has been running
"reloads": 0, // number of reloads
"start_time": "epoch", // start of data collection
"end_time": "epoch" // end of data collection
}Monitor the NGINX error log, usually at /var/log/nginx/error.log, to identify subscription issues early. The log records problems such as failed usage reports or licenses that are about to expire. Check it regularly to avoid downtime and stay compliant.
You can also use the license API endpoint to check license status programmatically. For details, see the ngx_http_api_module docs.
Examples of log entries:
-
Failed usage reports:
text [error] 36387#36387: server returned 500 for <fqdn>:<port> during usage report [error] 36528#36528: <fqdn>:<port> could not be resolved (host not found) during usage report [error] 36619#36619: connect() failed (111: Connection refused) for <fqdn>:<port> during usage report [error] 38888#88: server returned 401 for <ip_address>:443 during usage report -
License nearing expiration:
[warn] license will expire in 14 days -
License expired:
text [alert] license expiry; grace period will end in 89 days [emerg] license expired
ImportantNGINX Plus stops processing traffic if the license has been expired for more than 90 days.