rename table
This commit is contained in:
		
							parent
							
								
									cb788ec274
								
							
						
					
					
						commit
						ec36ef6c78
					
				|  | @ -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, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue