Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

イベントはデバイスから送出されるストリームに対してしきい値を設定し、外部への通知を行います。

イベントはストリーム毎(value,value2..)に定義が必要です。作成される全てのイベントはThingScaleのチャネルに紐付けられます。

イベントの作成

...

The event sets a threshold for the metrics sent from the agent and notifies the external.

Events need to be defined for each metric.

Create event

  1. Start the servwatch, log in to its management console,select Event -> Manage events and click Create New Event.
  2. Enter details in the form that appears and click the Create New Event button at the end of the form.For example,
     

  3. 最後に Create New Event ボタンをクリックしてイベント定義を完了します。. Event Management ページを開きます。 イベントを削除したい時は Delete チェックボックスをチェックしApplyボタンをクリックします。 

...

Notify_typeDescription
email

ストリームが演算子の条件と一致した場合にemailがプッシュされる。

http

ストリームが演算子の条件と一致した場合に外部システムへHTTP POSTによりプッシュされる。


Warning

"email"オプションはテスト用です。本番環境で利用しないでください。本番環境では"http"ウェブフックオプションを利用してください。


現時点で演算子は以下の通りです。

=Equal(等しい)
<Less than(小さい)
>Greater than(大きい)
<=Less than equal(以下)
>=Greater than equal(以上)
!=Not equal(等しくない)

...