Versions Compared

Key

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

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

...

  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,
    Image Removed 
    最後に Create New Event ボタンをクリックしてイベント定義を完了します。. Event Management ページを開きます。 イベントを削除したい時は Delete チェックボックスをチェックしApplyボタンをクリックします。 

通知タイプと演算子

...

  1. Image Added 
    Here, fill the necessary fields according to the event definition that you want to create.
  2. Finally, Click the Create New Event button to add the event definition to the Servwatch. Then Manage events page will open. To delete event stream, check the Delete checkbox and Apply.  

Notify types and operators

event types are currently available as follows:

Notify_typeDescription
email

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

http

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

Warning

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

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

Equal(等しい)
=

push webhook(HTTP POST) to external systems if metrics matched the operator.


Warning

The email option assumes about 50 emails per day.

If transmission exceeding this limit, email transmission may be stopped without notice.


operators are currently available as follows:

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


Tip
titleNOTE

イベントが発火し通知タイプ(If event fired and notify_type )がhttpの場合、イベントステータスがpost_url要素で指定されたURIにJSONペイロードの形でプッシュされます= http,then event status send to post_url as JSON as follows:


Code Block
languagejs
titlePOSTed payload
{
  "event_id":26,
  "description":"EMAIL & POST",
  "mapped_ch":1,
  "channel_name":"NEW_CH1_HOGEHOGE",
  "source":"value1",
  "status":"value1 was consistent with the threshold. Current:13 = Threshold:13"},
  "current":13,
  "threshold":"13"
}

...