control interface: read rate couters doesn't work
the control interfaces for the rate_ctr doesn't works,
because it requires the name of a rate counter have to be in the format of 'foo.bar'.
cd openbsc/openbsc/contrib python2 bsc_control.py -d localhost -g "rate_ctr.per_hour.e1inp.hdlc.abort" -p 4249
produces the error
Got message: ERROR 1 Counter group not found.
because it tries to get the counter group 'e1inp.hdlc' instead of e1inp.
#4 Updated by msuraev over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
Fix sent for review to gerrit: #274.
Note: the proper counter group name have to include index (see rate_ctr_group_alloc() and rate_ctr_group_upd_idx() in rate_ctr.h):
The index is numerical value associated with particular counter (BVCI, TLLI, IMSI...) - by default use 0.