Receiving and Detecting SNMPTRAPv1 and v2c with Hinemos

Hello!

In this article, we will introduce you how to monitor and detect SNMPTRAPv1 and v2c using Hinemos.
(Refer to the previous article for how to monitor SNMPTRAPv3)

 

★ Note: Modifying Hinemos Property is required only for detecting  SNMPTRAP v3 and is not required for SNMPTRAPv1 and v2c.

〇 Check 1 . SNMPTRAP v1

●Setup

SNMPTRAP Monitor settings including common MIBs are registered by default to Hinemos ver.6.1.

Therefore, it is possible to start monitoring SNMPTRAPS by simply copying the default monitor setting and modifying few item fields according to your environment.

This time, we will be using the default monitor setting to detect and monitor SNMPTRAPv1.

Set the community name to “hinemos”, allow Hinemos to detect SNMPTRAPS from all registered nodes, and enable the monitor setting.

Use “EVENT_FOR_TRAP” as the notification setting.

 

This time, we used the command to send an SNMPTRAP including an OID for “link_down”. The message and the priority of the notification can be confirmed below.

* “generic_id” and “specific_id” must be specified for SNMPTRAPv1

The SNMPTRAP was sent using the following command.

The SMNPTRAP was detected as shown below.

 


〇 Check 2. SNMPTRAP v2c

●Setup

The following monitor setting and trap definition were created to confirm whether the intended message is notified when detecting an SNMPTRAP including a specified OID.

Check “Notify the receipt trap of unspecified” so priority “unknown” is output when detecting unspecified traps.

      

The SNMPTRAP was sent using the following command.

The SMNPTRAP was detected as shown below.

 

The SNMPTRAP  not included in the defined trap was sent using the following command.

The SMNPTRAP was detected and notified as shown below.

 

That’s it for monitoring and detecting SNMPTRAPS!

Thanks for reading!

 


ご意見やお問い合わせについて

この記事へのご意見やお問い合わせについては、こちら(お問い合わせフォーム)もしくは
Hinemos営業担当【hsd-sales@atomitech.jp】までご連絡ください。

※お問い合わせフォームからご連絡の場合には、お問い合わせ内容で「Hinemosについて」を選択し、
 本文の冒頭に「Hinemos研究日記_【タイトル名】」とご記載ください。
※メールアドレスへご連絡の場合には、件名を「Hinemos研究日記_【タイトル名】」でご連絡ください。