イベントはデバイスから送出されるストリームに対してしきい値を設定し、外部への通知を行います。
イベントはストリーム毎(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
- Start the servwatch, log in to its management console,select Event -> Manage events and click Create New Event.
- Enter details in the form that appears and click the Create New Event button at the end of the form.For example,
- 最後に Create New Event ボタンをクリックしてイベント定義を完了します。. Event Management ページを開きます。 イベントを削除したい時は Delete チェックボックスをチェックしApplyボタンをクリックします。
...
Notify_type | Description |
---|---|
ストリームが演算子の条件と一致した場合にemailがプッシュされる。 | |
http | ストリームが演算子の条件と一致した場合に外部システムへHTTP POSTによりプッシュされる。 |
Warning |
---|
"email"オプションはテスト用です。本番環境で利用しないでください。本番環境では"http"ウェブフックオプションを利用してください。 |
現時点で演算子は以下の通りです。
= | Equal(等しい) |
< | Less than(小さい) |
> | Greater than(大きい) |
<= | Less than equal(以下) |
>= | Greater than equal(以上) |
!= | Not equal(等しくない) |
...