Skip to content

Commit

Permalink
fix PRTG expects lower case channelid
Browse files Browse the repository at this point in the history
  • Loading branch information
JanErik Keller committed Oct 24, 2017
1 parent c42081c commit ebf6364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type SensorResult struct {
// SensorChannel represents a PRTG sensor channel
type SensorChannel struct {
Name string `json:"channel,omitempty"`
ChannelID *int `json:",omitempty"`
ChannelID *int `json:"channelid,omitempty"`
Value float64 ``

// Options
Expand Down

0 comments on commit ebf6364

Please sign in to comment.