This commit is contained in:
davidnewhall2
2019-12-10 01:19:56 -08:00
parent 65dfedcf27
commit ecd1c64004
8 changed files with 74 additions and 58 deletions

View File

@@ -69,6 +69,9 @@ func descUSG(ns string) *usg {
}
func (u *promUnifi) exportUSG(r report, d *unifi.USG) {
if !d.Adopted.Val || d.Locating.Val {
return
}
labels := []string{d.Type, d.SiteName, d.Name}
infoLabels := []string{d.Version, d.Model, d.Serial, d.Mac, d.IP, d.ID, d.Bytes.Txt, d.Uptime.Txt}
// Gateway System Data.