add mroe fields to rogue ap
This commit is contained in:
parent
ec36ef6c78
commit
ff5b52e142
|
|
@ -16,14 +16,16 @@ func (u *InfluxUnifi) batchRogueAP(r report, s *unifi.RogueAP) {
|
|||
r.send(&metric{
|
||||
Table: "uap_rogue",
|
||||
Tags: map[string]string{
|
||||
"ap_mac": s.ApMac,
|
||||
"site_name": s.SiteName,
|
||||
"source": s.SourceName,
|
||||
"name": s.Essid,
|
||||
"mac": s.Bssid,
|
||||
"security": s.Security,
|
||||
"oui": s.Oui,
|
||||
"band": s.Band,
|
||||
"ap_mac": s.ApMac,
|
||||
"site_name": s.SiteName,
|
||||
"source": s.SourceName,
|
||||
"name": s.Essid,
|
||||
"mac": s.Bssid,
|
||||
"security": s.Security,
|
||||
"radio": s.Radio,
|
||||
"radio_name": s.RadioName,
|
||||
"oui": s.Oui,
|
||||
"band": s.Band,
|
||||
},
|
||||
Fields: map[string]interface{}{
|
||||
"age": s.Age.Val,
|
||||
|
|
|
|||
Loading…
Reference in New Issue