3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

強化mibのSNMPtrapの飛ばし方

Posted at

監視設定の追加要件でSNMPtrapの受信設定をすることが多々あるけど、先日依頼された拡張mibのトラップ設定で、Variable Bind値のoidの指定があって、トラップの送受信テストをするのに苦労したのでメモっときます。

コマンド

 snmptrap

コマンド全文

 snmptrap -v [バージョン] -c [コミュニティ文字列] [トラップ受信ホスト] '' [拡張mib値] [強化mib値] [強化mib値の型] [強化mib値の型の値]

記述サンプル

 snmptrap -v 2c -c mycommunity host-hoge '' 1.3.6.1.4.1.9.9.13.3.0.9 1.3.6.1.4.1.9.9.13.1.5.1.3 i 4

参考

それではまた〜

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?