mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:00 -04:00
adds in UBB & UCI support
This commit is contained in:
@@ -20,6 +20,7 @@ func (u *promUnifi) exportUBB(r report, d *unifi.UBB) {
|
||||
infoLabels := []string{d.Version, d.Model, d.Serial, d.Mac, d.IP, d.ID}
|
||||
// Shared data (all devices do this).
|
||||
u.exportBYTstats(r, labels, d.TxBytes, d.RxBytes)
|
||||
|
||||
if d.SysStats != nil && d.SystemStats != nil {
|
||||
u.exportSYSstats(r, labels, *d.SysStats, *d.SystemStats)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user