Closed mgumz closed 3 years ago
Another, topic related commit in the branch: https://github.com/travelping/capwap/commit/7b1ee9413768eb3ac1f7e6f364df002c6e9279a9
configuration problem.
filling the WTP metrics is driven by the Acct-Interim-Interval
of the attached AAA session and that session simply has no such setting.
Change the static settings in the Default
service to include a sensible interim interval and it will work
Branch: feature/ituma-specific-behaviour Commit: 5548406606b21402c86a5406cca89032b7f13bf5
Description
The Influxdb integration allows capwap-cp to report the observed traffic into a Influxdb instance. However, the reported values are always 0 for the WTP related traffic counters:
Remarks
The handle_join() code initialises the exomete-data with proper zeros (L435-L438). These are the zeros which are reported to Influxdb.
At the end of the same function, the session-timers are launched (L#446):
When following the
start_session_timers/1
function, pattern matching takes place and, based upon the existence oftimers
in the data, a bunch of timers are started. Iftimers
do not exist, no timers are started. Once a time expires, handle_session_timer() is called, which calls handle_session_timer_ev() which in turns calls accounting_update]() which updates the counters.I have checked the counters of a running WTP association by applying the same code as in accounting_update() to the session data: The counters as part of the session data are ok and are updated. For now I conclude that accounting_update() is never called and thus the Exometer values are not updated which in turn leaves the value in Influxdb at 0.
The capwap-dp data (which is also exposed by capwap-cp) looks ok: