Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yseto committed Jul 6, 2024
1 parent a8172db commit 476a838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yaml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ custom-mibs:
# - display-name: uptime
# unit: integer
# mibs:
# - display-name: uptime
# - metric-name: uptime
# mib: 1.3.6.1.2.1.1.3.0
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type CustomMIB struct {
}

type MIBwithDisplayName struct {
DisplayName string `yaml:"display-name"`
MetricName string `yaml:"metric-name,omitempty"`
DisplayName string `yaml:"display-name,omitempty"`
MetricName string `yaml:"metric-name"`
MIB string `yaml:"mib"`
}

Expand Down

0 comments on commit 476a838

Please sign in to comment.