rename table

This commit is contained in:
David Newhall II 2021-03-21 22:05:08 -07:00
parent cb788ec274
commit ec36ef6c78
1 changed files with 3 additions and 2 deletions

View File

@ -14,12 +14,13 @@ func (u *InfluxUnifi) batchRogueAP(r report, s *unifi.RogueAP) {
} }
r.send(&metric{ r.send(&metric{
Table: "rogue_ap", Table: "uap_rogue",
Tags: map[string]string{ Tags: map[string]string{
"mac": s.ApMac, "ap_mac": s.ApMac,
"site_name": s.SiteName, "site_name": s.SiteName,
"source": s.SourceName, "source": s.SourceName,
"name": s.Essid, "name": s.Essid,
"mac": s.Bssid,
"security": s.Security, "security": s.Security,
"oui": s.Oui, "oui": s.Oui,
"band": s.Band, "band": s.Band,