KB-1901585

Compare RADIUS authentication and accounting counters

Read sampled counters, distinguish missing samples from zeros and investigate a stale statistics feed.

7 views

Pick the right counter and time window

Select Global → Dashboard. RADIUS Auth Server shows Requests, Accepts, Rejects, Challenges, Duplicates, Malformed and Dropped; RADIUS Acct Server shows Requests, Responses, Duplicates, Malformed and Dropped. These are server statistics rather than totals for the service tenant selected in another tab. A RADIUS authentication acceptance is not an accounting response, so compare each type with the corresponding workflow. The Dashboard reads GET /api/radius/stats; without explicit dates the calculation uses roughly the last 24 hours of snapshots, with a preceding baseline when available.

Worked example: a fresh authentication event, but old counter data

A known approved login appears as Accept in the tenant’s Auth Logs, yet the Global authentication counters have not changed. Use API Docs → API Tester in Global to read GET /api/radius/stats with a blank body. The response contains auth, acct, uptimeSeconds and acceptRate; inspect auth.collected_at or acct.collected_at for the relevant stream when that object exists. Wait for another collection interval and repeat the read. If collected_at advances, compare counter movement rather than equating one UI event with an immediate increment. Busy nodes, retries, window boundaries and daemon counter resets complicate a one-to-one comparison.

Follow the symptom to the collector

No data yet corresponds to missing snapshots for that stream, while Not available points to a non-successful API response. A 403 requires Global super admin and the appropriate Reports grant. If samples exist but are stale, use Global → Settings → System Health & Containers → View Logs on radius_api and look for a [RadiusStats] auth poll failed, acct poll failed or DB write failed message, as applicable. Also confirm radius_server state independently. A dashboard chart is not an alert or proof of protocol availability.

Leave API and FreeRADIUS debug off for these checks. If verbose logging was previously approved, disable it from Global → Settings → General Configuration and account for the restart when saving. Preserve the sampled timestamp, counter type, delta and redacted error; do not share request attributes or private addresses.

References

  1. RadiusStack official wiki
  2. RFC 2865: RADIUS
  3. RadiusStack application API and RADIUS statistics