EM7 Provider
EM7 Provider is a class that is used to receive events from EM7 (ScienceLogic), a comprehensive infrastructure monitoring platform. EM7 provides unified monitoring across physical, virtual, and cloud environments, offering real-time visibility into network performance, server health, and application availability. This provider integration requires no additional installation and seamlessly processes alerts from the ScienceLogic EM7 monitoring system.
Request API ¶
/alerts/event/em7
Request Method ¶
POST
Request Body ¶
single event
{
"title": "Low Disk Space",
"type": "event alert",
"event_id": "Disk space is below 20% ond en01wx005adc01.",
"description": "Disk space is below 20% on den01wx005adc01.",
"device": "den01wx005adc01",
"organization": "WX005",
"severity": "3",
"policy_id": "1234567891",
"stack": "WXCCE"
}
Body validation ¶
- title: required, part of alert name.
- event_id: required, part of alert name, aslo used for default deduplication.
- description: required, description of the alert.
- severity: required, must be one of "P1", "P2", "P3", "P4" or "P5" or "0~4".
- policy_id: required, used for default deduplication.
Note: You can add the additional fields anywhere in the request body, but to avoid the conflict of some default fields, we highly recommend you add additional fields as in the above sample.
Severity Map ¶
{
"P5": AlertSeverity.LOW,
"P4": AlertSeverity.INFO,
"P3": AlertSeverity.WARNING,
"P2": AlertSeverity.HIGH,
"P1": AlertSeverity.CRITICAL,
"0": AlertSeverity.LOW,
"1": AlertSeverity.INFO,
"2": AlertSeverity.WARNING,
"3": AlertSeverity.HIGH,
"4": AlertSeverity.CRITICAL,
}
Default Deduplicate Rule ¶
policy_id + alert_id