Problem
subject
Problem : {HOST.NAME}-{EVENT.NAME}
메세지
<html>
<body style="background-color: #fbe3e3; font-family: Arial, sans-serif; color: #333; padding: 20px; border-radius: 8px;">
<h2 style="color: #cc0000; text-align: center;">Problem Detected</h2>
<p style="font-size: 16px;"><strong>Detected at:</strong> {EVENT.DATE} - {EVENT.TIME} </p>
<p style="font-size: 16px;"><strong>Problem name:</strong> {EVENT.NAME}</p>
<p style="font-size: 16px;"><strong>Host:</strong> {HOST.NAME}</p>
<p style="font-size: 16px;"><strong>Severity:</strong> {EVENT.SEVERITY}</p>
<p style="font-size: 16px;"><strong>Problem ID:</strong> {EVENT.ID}</p>
<p style="font-size: 16px;">
<strong>More details:</strong>
<a href="<http://10.100.100.72:3000/d/edzmwq8i4zxfkd/bsgone-instance?orgId=1&var-Host={HOST.NAME}>" style="color: #0066cc; text-decoration: none;">
grafana url
</a>
</p>
</body>
</html>
Problem recovery
subject:
Resolved : {HOST.NAME}-{EVENT.DURATION}-{EVENT.NAME}
메세지
<html>
<body style="background-color: #e6f7e6; font-family: Arial, sans-serif; color: #333; padding: 20px; border-radius: 8px;">
<h2 style="color: #2d862d; text-align: center;">Problem Resolved</h2>
<p style="font-size: 16px;"><strong>Resolved at:</strong>{EVENT.RECOVERY.DATE} - {EVENT.RECOVERY.TIME} </p>
<p style="font-size: 16px;"><strong>Problem name:</strong> {EVENT.NAME}</p>
<p style="font-size: 16px;"><strong>Duration:</strong> {EVENT.DURATION}</p>
<p style="font-size: 16px;"><strong>Host:</strong> {HOST.NAME}</p>
<p style="font-size: 16px;"><strong>Severity:</strong> {EVENT.SEVERITY}</p>
<p style="font-size: 16px;"><strong>Original problem ID:</strong> {EVENT.ID}</p>
<p style="font-size: 16px;">
<strong>More details:</strong>
<a href="<http://10.100.100.72:3000/d/edzmwq8i4zxfkd/bsgone-instance?orgId=1&var-Host={HOST.NAME}>" style="color: #0066cc; text-decoration: none;">
grafana url
</a>
</p>
</body>
</html>
Problem recovery
subject
Updated problem in {EVENT.AGE}: {EVENT.NAME}
메세지
<html>
<body style="background-color: #fbe3e3; font-family: Arial, sans-serif; color: #333; padding: 20px; border-radius: 8px;">
<h2 style="color: #cc0000; text-align: center;">Problem Update</h2>
<p><strong>Updated by:</strong> {USER.FULLNAME} {EVENT.UPDATE.ACTION} problem at {EVENT.UPDATE.DATE} {EVENT.UPDATE.TIME}.</p>
<p style="font-size: 16px;"><strong>Message:</strong> {EVENT.UPDATE.MESSAGE}</p>
<p style="font-size: 16px;"><strong>Current problem status:</strong> {EVENT.STATUS}</p>
<p style="font-size: 16px;"><strong>Age:</strong> {EVENT.AGE}</p>
<p style="font-size: 16px;"><strong>Acknowledged:</strong> {EVENT.ACK.STATUS}</p>
<p style="font-size: 16px; color: #0066cc;"><strong>More details:</strong> <a href="{TRIGGER.URL}" style="color: #0066cc;">{TRIGGER.URL}</a></p>
</body>
</html>
'Zabbix' 카테고리의 다른 글
Zabbix-mail 연동 (0) | 2024.10.25 |
---|---|
zabbix-slack 연동 (1) | 2024.10.25 |
Zabbix 세팅 (0) | 2024.10.25 |