Skip to content

Commit

Permalink
Changing name of cell provider for Meraki to avoid stomping on the ma…
Browse files Browse the repository at this point in the history
…in provider (#448)
  • Loading branch information
i3149 authored Oct 5, 2022
1 parent 9490539 commit 33594a7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/inputs/snmp/x/meraki/meraki.go
Original file line number Diff line number Diff line change
Expand Up @@ -836,14 +836,14 @@ func (c *MerakiClient) parseUplinks(uplinkMap map[string]deviceUplink) ([]*kt.JC
dst.DeviceName = strings.Join([]string{device.network.Name, uplink.Interface}, ".")

dst.CustomStr = map[string]string{
"network": device.network.Name,
"status": uplink.Status,
"connection_type": uplink.ConnectionType,
"interface": uplink.Interface,
"provider": uplink.Provider,
"signal_type": uplink.SignalType,
"signal_rsrp": uplink.SignalStat.Rsrp,
"signal_rsrq": uplink.SignalStat.Rsrq,
"network": device.network.Name,
"status": uplink.Status,
"connection_type": uplink.ConnectionType,
"interface": uplink.Interface,
"cellular_provider": uplink.Provider,
"signal_type": uplink.SignalType,
"signal_rsrp": uplink.SignalStat.Rsrp,
"signal_rsrq": uplink.SignalStat.Rsrq,
}
dst.CustomInt = map[string]int32{}
dst.CustomBigInt = map[string]int64{}
Expand Down

0 comments on commit 33594a7

Please sign in to comment.