The event sets a threshold for the metrics sent from the agent and notifies the external.
Events need to be defined for each metric.
- 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,
Here, fill the necessary fields according to the event definition that you want to create.
- 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:
push email if metrics matched the operator.
push webhook(HTTP POST) to external systems if metrics matched the operator.
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:
|<=||Less than equal|
|>=||Greater than equal|
If event fired and notify_type = http,then event status send to post_url as JSON as follows:
"description":"EMAIL & POST",
"status":"value1 was consistent with the threshold. Current:13 = Threshold:13"},