Commit Graph

3 Commits

Author SHA1 Message Date
Reinhard Tartler
aa5ef26ed3 wlansta: Record wifi signal strength
signal-strength-ch0 is only accurate for devices with one antenna. Many
mikrotik devices have two, or even three channels, and just looking at ch0 is
not helpful in those cases.

Instead, look at the property 'signal-strength'. Annoyingly, it is does come as
a string with the negotiated bandwidth attached (e.g.,
signal-strength=-66dBm@HT20-7) which needs to be parsed out.
2020-03-30 06:55:15 -04:00
Jesus Rafael Carrillo
9ceb56fdbf Fix validate that string is not empty before strconv.ParseFloat (#59)
Thanks. I could have sworn I went through already and done this at one point in time, but I guess not.
2019-12-02 22:01:36 -05:00
Robert S. Gerus
25911b4e60 Add wlan station and interface metrics collection. (#14)
* Fix newlines.
* Added wlan metrics.
* Fix WlanSTA collector - return on errors.
2018-09-10 23:30:13 -04:00