Sample alert for Opsview

Snapshot of the entity when an event occurs in Opsview.

The sample alert becomes available after you generate the webhook.

{ 
    "alert_title": "opsview Unix Memory", 
    "alert_state": "WARNING", 
    "metric_name": "Unix Memory", 
    "output": "Usage: real 47% (3752/7982 MB), buffer: 0 MB, cache: 3226 MB, swap: 0% (2/3968 MB)", 
    "long_output": "", 
    "type": "Service check", 
    "is_bsm_notification": "false", 
    "alert_type": "PROBLEM", 
    "service_desc": "Unix Memory", 
    "host_address": "localhost", 
    "host_name": "opsview", 
    "host_group_name": "Monitoring Servers", 
    "host_state_type": "HARD", 
    "last_host_check": "1660898094", 
    "last_host_up": null, 
    "service_notes": "OS - Base Unix Agent:Checks Memory Utilisation", 
    "service_state_type": "HARD", 
    "last_service_check": "1660898361", 
    "last_service_ok": "1660897881", 
    "host_duration": "2d 22h 37m 56s", 
    "service_duration": "0d 0h 2m 1s", 
    "service_ack_comment": "", 
    "service_ack_author": null, 
    "host_ack_comment": "", 
    "host_ack_author": "", 
    "contact_name": "admin", 
    "last_service_state_change": "1660898241", 
    "last_host_state_change": "1660644086", 
    "contact_alias": null, 
    "timet": "1660898362", 
    "long_date_time": "Fri Aug 19 08:39:22 UTC 2022", 
    "short_date_time": "2022-08-19 08:39:22", 
    "contact_pager": null, 
    "contact_email": null, 
    "contact_group_list": null, 
    "host_alias": "Opsview Master Server", 
    "host_attempt": "1", 
    "host_down_time": "0", 
    "host_group_alias": "Monitoring Servers", 
    "host_notification_number": "1", 
    "host_problem_id": "", 
    "host_state_id": "0", 
    "last_host_down": null, 
    "last_host_problem_id": "", 
    "last_host_state": "UP", 
    "last_host_unreachable": null, 
    "last_service_critical": "1660898361", 
    "last_service_problem_id": "", 
    "last_service_state": "WARNING", 
    "last_service_warning": "1660898181", 
    "last_state_change": "1660898241", 
    "notification_author": "", 
    "notification_comment": "", 
    "notification_number": "1", 
    "service_attempt": "3", 
    "service_down_time": "0", 
    "service_notification_number": "1", 
    "service_problem_id": "4**********************************7", 
    "service_state_id": "1" 
}

Opsview alert payload for Business Service Monitoring (BSM) alerts:

{ 
  "is_bsm_notification": "true", 
  "opsview_name": "Lighstep BSM", 
  "opsview_output": "PROBLEM: 1 of 1 components failed: Business service Lighstep BSM is Offline, 55.324% availability", 
  "opsview_state_text": "OFFLINE", 
  "opsview_object_type": "BSMService", 
  "opsview_type": null, 
  "opsview_availability_threshold": "99.999", 
  "opsview_notification_number": "1", 
  "opsview_long_date_time": "Sun Aug 21 14:59:25 UTC 2022", 
  "opsview_detail": null, 
  "opsview_notes": "", 
  "opsview_contact_name": "plgqe", 
  "opsview_contact_email": null, 
  "opsview_contact_pager": null, 
  "opsview_timet": "1661093965", 
  "opsview_id": "bsmservicestate_4", 
  "opsview_notification_type": "PROBLEM", 
  "opsview_short_date_time": "2022-08-21 14:59:25", 
  "opsview_last_state": "0", 
  "opsview_availability": "55.324" 
}