Skip to content

Commit

Permalink
Merge pull request #31 from yseto/fix-dry-run
Browse files Browse the repository at this point in the history
fix type
  • Loading branch information
yseto committed Mar 15, 2023
2 parents 046a3d1 + d33f633 commit 3c0fb6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ mib:
MIBファイルはベンダー各社から提供されています。

- Red Hat Enterprise Linuxやその派生ディストリビューションの場合は、net-snmp-libsパッケージをインストールすると、`/usr/share/snmp/mibs/`フォルダーに`SNMPv2-MIB``IF-MIB`などのMIBファイルが置かれます。
- Debian GNU/Linux・Ubuntuの場合は、snmp-mibs-downloaderパッケージ(non-freeセクション)をインストールすると、`/var/lib/mibs/ietf/`フォルダーに`SNMPv2-MIB``IF-MIB`などのMIBファイルが置かれます。
- Debian GNU/Linux・Ubuntuの場合は、snmp-mibs-downloaderパッケージ(non-freeセクション)をインストールすると、`/var/lib/snmp/mibs/ietf/`フォルダーに`SNMPv2-MIB``IF-MIB`などのMIBファイルが置かれます。

### SNMP Trap捕捉メッセージの設定

Expand Down
2 changes: 1 addition & 1 deletion trap.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func main() {
}
}

var client *mackerel.Client
var client notification.Client
var hostid string
if !conf.DryRun {
client, err = checkMackerelConfig(conf.Mackerel)
Expand Down

0 comments on commit 3c0fb6d

Please sign in to comment.