Docs Menu
Docs Home
/
MongoDB Ops Manager
/ / / /

๊ฒฝ๊ณ  ๊ตฌ์„ฑ ๋งŒ๋“ค๊ธฐ

์ด ํŽ˜์ด์ง€์˜ ๋‚ด์šฉ

  • Resource
  • ์š”์ฒญ ๊ฒฝ๋กœ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์š”์ฒญ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์š”์ฒญ ๋ณธ๋ฌธ ๋งค๊ฐœ๋ณ€์ˆ˜
  • ์‘๋‹ต
  • ์š”์ฒญ ์˜ˆ์‹œ
  • ์‘๋‹ต ์˜ˆ์‹œ
  • ์‘๋‹ต ํ—ค๋”
  • ์‘๋‹ต ๋ณธ๋ฌธ

์ฐธ๊ณ 

๊ทธ๋ฃน๊ณผ ํ”„๋กœ์ ํŠธ๋Š” ๋™์˜์–ด์ž…๋‹ˆ๋‹ค. {PROJECT-ID}๋Š” ํ”„๋กœ์ ํŠธ ID์™€ ๋™์ผํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ์กด ๊ทธ๋ฃน์˜ ๊ฒฝ์šฐ, ๊ทธ๋ฃน/ํ”„๋กœ์ ํŠธ ID๋Š” ๋™์ผํ•˜๊ฒŒ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค. ์ด ํŽ˜์ด์ง€์—์„œ๋Š” ์„ค๋ช…์— ๋Œ€ํ•ด ์–˜๊ธฐํ•  ๋•Œ ๋”์šฑ ์นœ์ˆ™ํ•œ ์šฉ์–ด ๊ทธ๋ฃน์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์—”๋“œํฌ์ธํŠธ๋Š” ๋ฌธ์„œ์— ๋ช…์‹œ๋œ ๋Œ€๋กœ ์œ ์ง€๋ฉ๋‹ˆ๋‹ค.

๊ธฐ๋ณธ URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0

POST /groups/{PROJECT-ID}/alertConfigs

๋ชจ๋“  ์š”์ฒญ ๊ฒฝ๋กœ ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ํ•„์ˆ˜ ์ž…๋‹ˆ๋‹ค.

Parameter
์œ ํ˜•
์„ค๋ช…
ํ”„๋กœ์ ํŠธ ID
๋ฌธ์ž์—ด
์ด ํ”„๋กœ์ ํŠธ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.

๋‹ค์Œ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜๋Š” ์„ ํƒ ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค.

์ด๋ฆ„
์œ ํ˜•
ํ•„์š”์„ฑ
์„ค๋ช…
๊ธฐ๋ณธ๊ฐ’
pretty
๋ถ€์šธ
์˜ต์…˜
์‘๋‹ต ๋ณธ๋ฌธ์ด ํ”„๋ฆฌํ‹ฐํ”„๋ฆฐํŠธ ์— ์žˆ์–ด์•ผ ํ•˜๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. ํ˜•์‹.
false
envelope
๋ถ€์šธ
์˜ต์…˜

์‘๋‹ต์„ ์—”๋ฒจ๋กœํ”„์— ๋ž˜ํ•‘ํ• ์ง€ ์—ฌ๋ถ€๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค.

์ผ๋ถ€ API ํด๋ผ์ด์–ธํŠธ๋Š” HTTP ์‘๋‹ต ํ—ค๋” ๋˜๋Š” ์ƒํƒœ ์ฝ”๋“œ์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๋ ค๋ฉด ์ฟผ๋ฆฌ์—์„œ envelope=true๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

ํ•˜๋‚˜์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ์—”๋“œํฌ์ธํŠธ์˜ ๊ฒฝ์šฐ ์‘๋‹ต ๋ณธ๋ฌธ์—๋Š” ๋‹ค์Œ์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

์ด๋ฆ„
์„ค๋ช…
status
HTTP ์‘๋‹ต ์ฝ”๋“œ
content
์˜ˆ์ƒ๋˜๋Š” ์‘๋‹ต ๋ณธ๋ฌธ
false

์ฐธ๊ณ 

๊ฒฝ๊ณ  ๊ตฌ์„ฑ์€ ๋‹ค์–‘ํ•ฉ๋‹ˆ๋‹ค. ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์—๋Š” ์ด๋Ÿฌํ•œ ์š”์†Œ์˜ ํ•˜์œ„ ์ง‘ํ•ฉ๋งŒ ํฌํ•จ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด๋ฆ„
์œ ํ˜•
์„ค๋ช…
ํ™œ์„ฑํ™”๋จ
๋ถ€์šธ
์ƒ๋žตํ•˜๋ฉด ๊ตฌ์„ฑ์ด ๋น„ํ™œ์„ฑํ™”๋ฉ๋‹ˆ๋‹ค.
eventTypeName
Required.
๋ฌธ์ž์—ด

๊ฒฝ๊ณ ๋ฅผ ํŠธ๋ฆฌ๊ฑฐํ•˜๋Š” ์ด๋ฒคํŠธ ์œ ํ˜•์ž…๋‹ˆ๋‹ค.

๊ฐ’์—๋Š” ๋‹ค์Œ์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

์—์ด์ „ํŠธ

์ž๋™ํ™” ๊ตฌ์„ฑ

๋ฐฑ์—…

BI ์ปค๋„ฅํ„ฐ

ํด๋Ÿฌ์Šคํ„ฐ

์•ก์„ธ์Šคํ•œ ๋ฐ์ดํ„ฐ ํƒ์ƒ‰๊ธฐ

ํ˜ธ์ŠคํŠธ

์กฐ์ง

ํ”„๋กœ์ ํŠธ

๋ณต์ œ๋ณธ ์„ธํŠธ

ํŒ€

์‚ฌ์šฉ์ž

๊ฒฝ๊ณ ๋ฅผ ์ƒ์„ฑํ•˜๋Š” ์ด๋ฒคํŠธ์˜ ์ „์ฒด ๋ชฉ๋ก๊ณผ ํ•ด๋‹น ์„ค๋ช…์„ ๊ฒ€ํ† ํ•˜๋ ค๋ฉด ๊ฒฝ๊ณ  ์œ ํ˜• ์„ ์ฐธ์กฐํ•˜์„ธ์š”. Ops Manager ๊ฐ์‚ฌ ๋กœ๊ทธ์— ํฌํ•จ๋œ ์ด๋ฒคํŠธ์˜ ์ „์ฒด ๋ชฉ๋ก์€ ๊ฐ์‚ฌ ์ด๋ฒคํŠธ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

matchers.fieldName
๋ฌธ์ž์—ด

์ผ์น˜์‹œํ‚ฌ ๋Œ€์ƒ ๊ฐ์ฒด์˜ ํ•„๋“œ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.

  • ํ˜ธ์ŠคํŠธ ๊ฒฝ๊ณ ๋Š” ์ด๋Ÿฌํ•œ ํ•„๋“œ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

    • HOSTNAME

    • PORT

    • HOSTNAME_AND_PORT

    • REPLICA_SET_NAME

    • TYPE_NAME

  • ๋ณต์ œ๋ณธ ์„ธํŠธ ๊ฒฝ๊ณ ๋Š” ์ด๋Ÿฌํ•œ ํ•„๋“œ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

    • REPLICA_SET_NAME

    • SHARD_NAME

    • CLUSTER_NAME

  • Sharded cluster ๊ฒฝ๊ณ ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ•„๋“œ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

    • CLUSTER_NAME

    • SHARD_NAME

๋‹ค๋ฅธ ๋ชจ๋“  ์œ ํ˜•์˜ ๊ฒฝ๊ณ ๋Š” ๋งค์ฒ˜๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

matchers.operator
๋ฌธ์ž์—ด

ํ•„๋“œ ๊ฐ’์„ ํ…Œ์ŠคํŠธํ•˜๋Š” ์—ฐ์‚ฐ์ž์ž…๋‹ˆ๋‹ค. ํ—ˆ์šฉ๋˜๋Š” ๊ฐ’์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • EQUALS

  • NOT_EQUALS

  • CONTAINS

  • NOT_CONTAINS

  • STARTS_WITH

  • ENDS_WITH

  • REGEX

matchers.value
๋ฌธ์ž์—ด

์ง€์ •๋œ ์—ฐ์‚ฐ์ž๋กœ ํ…Œ์ŠคํŠธํ•  ๊ฐ’์ž…๋‹ˆ๋‹ค.

matchers.fieldName ๋กœ ์„ค์ •๋œ TYPE_NAME ๊ฒฝ์šฐ ๋‹ค์Œ ๊ฐ’์„ ์ผ์น˜์‹œํ‚ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • PRIMARY

  • SECONDARY

  • STANDALONE

  • CONFIG

  • MONGOS

matchers
๊ฐ์ฒด ๋ฐฐ์—ด

์ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ๊ณผ ๋น„๊ตํ•˜์—ฌ ๊ฐ์ฒด๋ฅผ ์ผ์น˜์‹œํ‚ฌ ๋•Œ ์ ์šฉํ•  ๊ทœ์น™์ž…๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ๋ชจ๋“  ๊ทœ์น™๊ณผ ์ผ์น˜ํ•˜๋Š” ์—”ํ„ฐํ‹ฐ์— ๋Œ€ํ•ด์„œ๋งŒ ๊ฒฝ๊ณ  ์กฐ๊ฑด์ด ํ™•์ธ๋ฉ๋‹ˆ๋‹ค.

eventTypeName ๊ฐ€ ํ˜ธ์ŠคํŠธ, ๋ณต์ œ๋ณธ ์„ธํŠธ ๋˜๋Š” ์ƒค๋“œ cluster์— ๋Œ€ํ•œ ์ด๋ฒคํŠธ๋ฅผ ์ง€์ •ํ•˜๋Š” ๊ฒฝ์šฐ์—๋งŒ matchers ๋ฐฐ์—ด์„ ์‚ฌ์šฉํ•˜์—ฌ ํ•„ํ„ฐ๋งํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

metricThreshold.metricName
๋ฌธ์ž์—ด
ํ™•์ธํ•  ์ง€ํ‘œ์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. alerts ๋ฆฌ์†Œ์Šค์˜ metricName ํ•„๋“œ์™€ ๋™์ผํ•œ ๊ฐ’์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.
metricThreshold.mode
๋ฌธ์ž์—ด
์ด ์ง€ํ‘œ์˜ ํ‰๊ท ์„ ๊ณ„์‚ฐํ•˜๋ ค๋ฉด AVERAGE ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
metricThreshold.operator
๋ฌธ์ž์—ด

์ž„๊ณ„๊ฐ’๊ณผ ๋น„๊ตํ•˜์—ฌ ํ˜„์žฌ ์ง€ํ‘œ ๊ฐ’์„ ํ™•์ธํ•  ๋•Œ ์ ์šฉํ•  ์—ฐ์‚ฐ์ž์ž…๋‹ˆ๋‹ค. ํ—ˆ์šฉ๋˜๋Š” ๊ฐ’์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • GREATER_THAN

  • LESS_THAN

metricThreshold.threshold
์ˆซ์ž
์ด ๊ฐ’์„ ๋ฒ—์–ด๋‚˜๋ฉด ๊ฒฝ๊ณ ๊ฐ€ ํŠธ๋ฆฌ๊ฑฐ๋˜๋Š” ์ž„๊ณ„๊ฐ’์ž…๋‹ˆ๋‹ค.
metricThreshold.units
๋ฌธ์ž์—ด

์ž„๊ณ„๊ฐ’์˜ ๋‹จ์œ„์ž…๋‹ˆ๋‹ค. ์ง€ํ‘œ ์œ ํ˜•์— ๋”ฐ๋ผ ๋‹ค๋ฆ…๋‹ˆ๋‹ค.

์˜ˆ๋ฅผ ์˜ˆ์‹œ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฉ”ํŠธ๋ฆญ์—๋Š” ๋ฐ”์ดํŠธ ์ธก์ •์ด ์žˆ๊ณ  ์‹œ๊ฐ„์„ ์ธก์ •ํ•˜๋Š” ๋ฉ”ํŠธ๋ฆญ์—๋Š” ์‹œ๊ฐ„ ๋‹จ์œ„๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ—ˆ์šฉ๋˜๋Š” ๊ฐ’์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • RAW

  • BITS

  • BYTES

  • KILOBITS

  • KILOBYTES

  • MEGABITS

  • MEGABYTES

  • GIGABITS

  • GIGABYTES

  • TERABYTES

  • PETABYTES

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

metricThreshold
๊ฐ์ฒด
๊ฒฝ๊ณ ๊ฐ€ ํŠธ๋ฆฌ๊ฑฐ๋˜๋Š” ์ž„๊ณ„๊ฐ’์ž…๋‹ˆ๋‹ค. "eventTypeName" : "OUTSIDE_METRIC_THRESHOLD" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.apiToken
๋ฌธ์ž์—ด

Slack API ํ† ํฐ ๋˜๋Š” ๋ด‡ ํ† ํฐ. "notifications.typeName" : "SLACK" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค. ๋‚˜์ค‘์— ํ† ํฐ์ด ์œ ํšจํ•˜์ง€ ์•Š๊ฒŒ ๋˜๋ฉด Ops Manager๋Š” ํ”„๋กœ์ ํŠธ ์†Œ์œ ์ž์—๊ฒŒ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ด๊ณ  ๊ฒฐ๊ตญ ํ† ํฐ์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

์•Œ๋ฆผ.channelName
๋ฌธ์ž์—ด
Slack ์ฑ„๋„ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "SLACK" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.datadogApiKey
๋ฌธ์ž์—ด

DataDog API ํ‚ค. DataDog ๋Œ€์‹œ๋ณด๋“œ์— ์žˆ์Šต๋‹ˆ๋‹ค. "notifications.typeName" : "DATADOG" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

์•Œ๋ฆผ.delayMin
์ˆซ์ž
๊ฒฝ๊ณ  ์กฐ๊ฑด์ด ๊ฐ์ง€๋œ ํ›„ ์ฒซ ๋ฒˆ์งธ ์•Œ๋ฆผ์„ ๋ณด๋‚ด๊ธฐ ์ „์— ๋Œ€๊ธฐํ•  ์‹œ๊ฐ„(๋ถ„)์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.์ด๋ฉ”์ผ ์ฃผ์†Œ
๋ฌธ์ž์—ด
์•Œ๋ฆผ์„ ๋ณด๋‚ผ ์ด๋ฉ”์ผ ์ฃผ์†Œ์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "EMAIL" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
alerts.emailEnabled
๋ถ€์šธ

์ด๋ฉ”์ผ ์•Œ๋ฆผ์„ ๋ณด๋‚ผ์ง€ ์—ฌ๋ถ€๋ฅผ ๊ฒฐ์ •ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.

  • "notifications.typeName" : "GROUP"

  • "notifications.typeName" : "USER"

alerts.intervalMin
์ˆซ์ž
ํ•ด๊ฒฐ๋˜์ง€ ์•Š์€ ์Šน์ธ๋˜์ง€ ์•Š์€ ๊ฒฝ๊ณ ์— ๋Œ€ํ•œ ์—ฐ์† ์•Œ๋ฆผ ์‚ฌ์ด์— ๋Œ€๊ธฐํ•  ์‹œ๊ฐ„(๋ถ„)์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.webhookSecret
๋ฌธ์ž์—ด

์•Œ๋ฆผ์„ ์ˆ˜๋ฝํ•˜๊ณ  ์ „๋‹ฌํ•˜๋Š” Webhook์œผ๋กœ ์ธ์ฆํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋˜๋Š” ๊ฐ’์ž…๋‹ˆ๋‹ค. ๋‹ค์Œ ๋‘ ๊ฐ€์ง€๊ฐ€ ๋ชจ๋‘ ํฌํ•จ๋œ ์š”์ฒญ์—์„œ๋งŒ ์‹œํฌ๋ฆฟ์„ ๋ช…์‹œ์ ์œผ๋กœ ์„ ์–ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • notifications.typeName WEBHOOK

  • ๋ช…์‹œ์ ์œผ๋กœ ์„ ์–ธ๋œ notifications.webhookURL

ํ†ตํ•ฉ ํŽ˜์ด์ง€ ๋˜๋Š” ํ†ตํ•ฉ API๋ฅผ ํ†ตํ•ด์„œ๋งŒ ๊ธฐ๋ณธ webhookURL ์— ๋Œ€ํ•œ webhookSecret ๋ฅผ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

webhookSecret webhookURL ๋ฅผ ๋ช…์‹œ์ ์œผ๋กœ ์„ ์–ธํ•˜๋ ค๋ฉด ์ด ํ•„๋“œ๋ฅผ ์ƒ๋žตํ•ฉ๋‹ˆ๋‹ค.

์›นํ›… ์•Œ๋ฆผ์„ ์ƒ์„ฑํ•œ ํ›„ ๊ฒฝ๊ณ  ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•  ๋•Œ URL ์ด ๋ถ€๋ถ„์ ์œผ๋กœ ์ˆ˜์ •๋˜๊ณ  ์‹œํฌ๋ฆฟ์€ ์™„์ „ํžˆ ์ˆ˜์ •๋ฉ๋‹ˆ๋‹ค.

์•Œ๋ฆผ.webhookUrl
๋ฌธ์ž์—ด

์ด ์•Œ๋ฆผ์„ Atlas Triggers ์›นํ›…์˜ URL ์ž…๋‹ˆ๋‹ค. webhookUrl ๋ฅผ ๋ช…์‹œ์ ์œผ๋กœ ์„ ์–ธํ•˜์ง€ ์•Š์œผ๋ฉด ์š”์ฒญ์€ ํ†ตํ•ฉ ํŽ˜์ด์ง€ ๋˜๋Š” ํ†ตํ•ฉ API์™€ ํ•จ๊ป˜ ์„ค์ •๋œ ๊ธฐ๋ณธ webhookUrl ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

์›นํ›… ์•Œ๋ฆผ์„ ์ƒ์„ฑํ•œ ํ›„ ๊ฒฝ๊ณ  ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•  ๋•Œ URL ์ด ๋ถ€๋ถ„์ ์œผ๋กœ ์ˆ˜์ •๋˜๊ณ  ์‹œํฌ๋ฆฟ์€ ์™„์ „ํžˆ ์ˆ˜์ •๋ฉ๋‹ˆ๋‹ค.

์•Œ๋ฆผ.microsoftTeamsWebhookUrl
๋ฌธ์ž์—ด

Microsoft ํŒ€ ์ฑ„๋„ ์ˆ˜์‹  ์›นํ›… URL์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "MICROSOFT_TEAMS" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.

์›นํ›„ํฌ ์•Œ๋ฆผ์— ๋Œ€ํ•œ ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•  ๋•Œ URL์€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋˜๊ณ  ๋น„๋ฐ€๋ฒˆํ˜ธ๋Š” ์™„์ „ํžˆ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

์•Œ๋ฆผ.๋ชจ๋ฐ”์ผ ๋ฒˆํ˜ธ
๋ฌธ์ž์—ด
SMS ๋ฉ”์‹œ์ง€๋ฅผ ๋ณด๋‚ผ ํœด๋Œ€ํฐ ๋ฒˆํ˜ธ์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "SMS" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.notificationToken
๋ฌธ์ž์—ด

HipChat API ํ† ํฐ์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "HIP_CHAT" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค. ๋‚˜์ค‘์— ํ† ํฐ์ด ์œ ํšจํ•˜์ง€ ์•Š๊ฒŒ ๋˜๋ฉด Ops Manager๋Š” ํ”„๋กœ์ ํŠธ ์†Œ์œ ์ž์—๊ฒŒ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ด๊ณ  ๊ฒฐ๊ตญ ํ† ํฐ์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

alerts.role
๋ฌธ์ž์—ด
ํ˜„์žฌ ํ”„๋กœ์ ํŠธ์˜ ์šด์˜ ๊ด€๋ฆฌ์ž ์—ญํ• ์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "GROUP" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.roomName
๋ฌธ์ž์—ด
HipChat ์ฑ„ํŒ…๋ฐฉ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "HIP_CHAT" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.serviceKey
๋ฌธ์ž์—ด

PagerDuty ํ†ตํ•ฉ ํ‚ค์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "PAGER_DUTY" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

์•Œ๋ฆผ.smsEnabled
๋ถ€์šธ

SMS ์•Œ๋ฆผ์„ ์ „์†กํ•ด์•ผ ํ•จ์„ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.

  • "notifications.typeName" : "GROUP"

  • "notifications.typeName" : "USER"

์•Œ๋ฆผ.teamId
๋ฌธ์ž์—ด
ํŒ€์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.
์•Œ๋ฆผ.typeName
๋ฌธ์ž์—ด

๊ฒฝ๊ณ  ์•Œ๋ฆผ์˜ ์œ ํ˜•์ž…๋‹ˆ๋‹ค. ํ—ˆ์šฉ๋˜๋Š” ๊ฐ’์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • DATADOG

  • EMAIL

  • GROUP (ํ”„๋กœ์ ํŠธ)

  • HIPCHAT

  • ORG

  • PAGER_DUTY

  • SLACK

  • SMS (Twilio ํ†ตํ•ฉ ์„ ๊ตฌ์„ฑํ•ด์•ผ ํ•จ)

  • USER

  • WEBHOOK

์•Œ๋ฆผ.์‚ฌ์šฉ์ž ์ด๋ฆ„
๋ฌธ์ž์—ด
์•Œ๋ฆผ์„ ๋ณด๋‚ผ Ops Manager ์‚ฌ์šฉ์ž์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์„ ์†Œ์œ ํ•œ ํ”„๋กœ์ ํŠธ์˜ ์‚ฌ์šฉ์ž๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. "notifications.typeName" : "USER" ์ธ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.
notifications
Required
๊ฐ์ฒด ๋ฐฐ์—ด
๊ฒฝ๊ณ  ์กฐ๊ฑด์ด ๊ฐ์ง€๋˜๋ฉด ์ „์†กํ•  ์•Œ๋ฆผ์ž…๋‹ˆ๋‹ค.
์ž„๊ณ„๊ฐ’.์—ฐ์‚ฐ์ž
๋ฌธ์ž์—ด

์ž„๊ณ„๊ฐ’๊ณผ ๋น„๊ตํ•˜์—ฌ ํ˜„์žฌ ์ง€ํ‘œ ๊ฐ’์„ ํ™•์ธํ•  ๋•Œ ์ ์šฉํ•  ์—ฐ์‚ฐ์ž์ž…๋‹ˆ๋‹ค.

  • GREATER_THAN

  • LESS_THAN

์ž„๊ณ„๊ฐ’.์ž„๊ณ„๊ฐ’
์ˆซ์ž
์ด ๊ฐ’์„ ๋ฒ—์–ด๋‚˜๋ฉด ๊ฒฝ๊ณ ๊ฐ€ ํŠธ๋ฆฌ๊ฑฐ๋˜๋Š” ์ž„๊ณ„๊ฐ’์ž…๋‹ˆ๋‹ค.
์ž„๊ณ„๊ฐ’
๊ฐ์ฒด

๊ฒฝ๊ณ ๊ฐ€ ํŠธ๋ฆฌ๊ฑฐ๋˜๋Š” ์ž„๊ณ„๊ฐ’์ž…๋‹ˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ•„์ˆ˜์ž…๋‹ˆ๋‹ค.

  • "eventTypeName" : "TOO_FEW_HEALTHY_MEMBERS"

  • "eventTypeName" : TOO_MANY_UNHEALTHY_MEMBERS

์‘๋‹ต์—๋Š” ๊ฒฝ๊ณ  ๊ตฌ์„ฑ ์„ธ๋ถ€ ์ •๋ณด๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ 

๊ฒฝ๊ณ  ๊ตฌ์„ฑ์€ ๋‹ค์–‘ํ•ฉ๋‹ˆ๋‹ค. ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์—๋Š” ์ด๋Ÿฌํ•œ ์š”์†Œ์˜ ํ•˜์œ„ ์ง‘ํ•ฉ๋งŒ ํฌํ•จ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด๋ฆ„
์œ ํ˜•
์„ค๋ช…
์ƒ์„ฑ๋จ
๋ฌธ์ž์—ด
ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ์ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์ด ์ƒ์„ฑ๋œ ์‹œ์ ์˜ UTC ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹์ž…๋‹ˆ๋‹ค.
ํ™œ์„ฑํ™”๋จ
๋ถ€์šธ
์ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์ด ํ™œ์„ฑํ™”๋˜์—ˆ์Œ์„ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค.
eventTypeName
๋ฌธ์ž์—ด
Atlas Triggers ์ด๋ฒคํŠธ ์œ ํ˜•์ž…๋‹ˆ๋‹ค.
groupId
๋ฌธ์ž์—ด
์ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์„ ์†Œ์œ ํ•œ ํ”„๋กœ์ ํŠธ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.
id
๋ฌธ์ž์—ด
๊ฒฝ๊ณ  ๊ตฌ์„ฑ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.
๋งํฌ
๊ฐ์ฒด ๋ฐฐ์—ด

ํ•˜์œ„ ๋ฆฌ์†Œ์Šค ๋ฐ/๋˜๋Š” ๊ด€๋ จ ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ํ•˜๋‚˜ ์ด์ƒ์˜ ๋งํฌ์ž…๋‹ˆ๋‹ค. URL ๊ฐ„์˜ ๊ด€๊ณ„ ์œ ํ˜•์€ ์›น ๋งํฌ ์‚ฌ์–‘ ์— ์„ค๋ช…๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. .

matchers
๊ฐ์ฒด ๋ฐฐ์—ด
์ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ๊ณผ ๋น„๊ตํ•˜์—ฌ ๊ฐ์ฒด๋ฅผ ์ผ์น˜์‹œํ‚ฌ ๋•Œ ์ ์šฉํ•  ๊ทœ์น™์ž…๋‹ˆ๋‹ค.
matchers
.[n].fieldName
๋ฌธ์ž์—ด
์ด ๊ตฌ์„ฑ๊ณผ ์ผ์น˜์‹œํ‚ค๋ ค๋Š” ๋Œ€์ƒ ๊ฐ์ฒด์˜ ํ•„๋“œ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค.
matchers
.[n].operator
๋ฌธ์ž์—ด
matcher.[n].value ์— ๋Œ€ํ•ด ํ˜„์žฌ ์ง€ํ‘œ ๊ฐ’์„ ํ™•์ธํ•  ๋•Œ ์ ์šฉํ•  ๋น„๊ต ์—ฐ์‚ฐ์ž์ž…๋‹ˆ๋‹ค.
matchers
.[n].value
๋ฌธ์ž์—ด
matchers.[n].operator ์„(๋ฅผ) ์‚ฌ์šฉํ•˜์—ฌ ์ผ์น˜ํ•˜๊ฑฐ๋‚˜ ์ดˆ๊ณผํ•˜๋Š” ๊ฐ’์ž…๋‹ˆ๋‹ค.
metricThreshold
๊ฐ์ฒด
๊ฒฝ๊ณ ๋ฅผ ํŠธ๋ฆฌ๊ฑฐํ•˜๋Š” ๊ฐ’๊ณผ ๋น„๊ต ์ˆ˜๋‹จ์ž…๋‹ˆ๋‹ค.
metricThreshold
.metricName
๋ฌธ์ž์—ด
ํ™•์ธํ•  ์ง€ํ‘œ์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. alerts ๋ฆฌ์†Œ์Šค์˜ metricName ํ•„๋“œ์™€ ๋™์ผํ•œ ๊ฐ’์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.
metricThreshold
.mode
๋ฌธ์ž์—ด
์ด ์ง€ํ‘œ์˜ ํ‰๊ท ๊ฐ’์ž…๋‹ˆ๋‹ค.
metricThreshold
.operator
๋ฌธ์ž์—ด
Ops Manager๊ฐ€ ์ž„๊ณ„๊ฐ’๊ณผ ๋น„๊ตํ•˜์—ฌ ํ˜„์žฌ ๋ฉ”ํŠธ๋ฆญ ๊ฐ’์„ ํ™•์ธํ•  ๋•Œ ์ ์šฉํ•œ ๋น„๊ต ์—ฐ์‚ฐ์ž์ž…๋‹ˆ๋‹ค.
metricThreshold
.threshold
์ˆซ์ž
Atlas Triggers ์‹œ ๊ฒฝ๊ณ ๋ฅผ ์ดˆ๊ณผํ•˜๋Š” metricThreshold.metricName ๊ฐ’์ž…๋‹ˆ๋‹ค.
metricThreshold
.units
๋ฌธ์ž์—ด
metricThreshold.threshold ์˜ ๋ฒ”์œ„๋ฅผ ์ •์˜ํ•˜๋Š” ์šฉ๋Ÿ‰ ๋˜๋Š” ์‹œ๊ฐ„ ๋‹จ์œ„์ž…๋‹ˆ๋‹ค.
notifications
๊ฐ์ฒด ๋ฐฐ์—ด
๊ฒฝ๊ณ  ์กฐ๊ฑด์ด ๊ฐ์ง€๋˜๋ฉด Ops Manager๊ฐ€ ์•Œ๋ฆผ์„ ๋ณด๋‚ผ ํ•˜๋‚˜ ์ด์ƒ์˜ ๋Œ€์ƒ์ž…๋‹ˆ๋‹ค.
notifications.[n]
.apiToken
๋ฌธ์ž์—ด

Slack API ํ† ํฐ ํ† ํฐ. notifications.[n].typeName ์„ SLACK ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.channelName
๋ฌธ์ž์—ด
Slack ์ฑ„๋„ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ์„ SLACK ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.datadogApiKey
๋ฌธ์ž์—ด

DataDog API ํ‚ค. notifications.[n].typeName ์„ DATADOG ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.delayMin
์ˆซ์ž
๊ฒฝ๊ณ  ์กฐ๊ฑด์ด ๊ฐ์ง€๋œ ํ›„ ์ฒซ ๋ฒˆ์งธ ์•Œ๋ฆผ์„ ๋ณด๋‚ด๊ธฐ ์ „์— ๋Œ€๊ธฐํ•  ์‹œ๊ฐ„(๋ถ„)์ž…๋‹ˆ๋‹ค.
notifications.[n]
.emailAddress
๋ฌธ์ž์—ด
์•Œ๋ฆผ์„ ๋ณด๋‚ผ ์ด๋ฉ”์ผ ์ฃผ์†Œ์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ์„ EMAIL ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.emailEnabled
๋ถ€์šธ
์ด๋ฉ”์ผ ์•Œ๋ฆผ์„ ๋ณด๋‚ด์•ผ ํ•จ์„ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” notifications.[n].typeName ์„ ORG, GROUP ๋˜๋Š” USER ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.intervalMin
์ˆซ์ž
ํ•ด๊ฒฐ๋˜์ง€ ์•Š์€ ์Šน์ธ๋˜์ง€ ์•Š์€ ๊ฒฝ๊ณ ์— ๋Œ€ํ•œ ์—ฐ์† ์•Œ๋ฆผ ์‚ฌ์ด์— ๋Œ€๊ธฐํ•  ์‹œ๊ฐ„(๋ถ„)์ž…๋‹ˆ๋‹ค.
notifications.[n]
.microsoftTeamsWebhookUrl
๋ฌธ์ž์—ด

Microsoft ํŒ€ ์ฑ„๋„ ์ˆ˜์‹  ์›นํ›… URL์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ์„ MICROSOFT_TEAMS ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์›นํ›„ํฌ ์•Œ๋ฆผ์— ๋Œ€ํ•œ ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•  ๋•Œ URL์€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋˜๊ณ  ๋น„๋ฐ€๋ฒˆํ˜ธ๋Š” ์™„์ „ํžˆ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

notifications.[n]
.mobileNumber
๋ฌธ์ž์—ด
๊ฒฝ๊ณ  ์•Œ๋ฆผ์ด ์ „์†ก๋  ํœด๋Œ€ํฐ ๋ฒˆํ˜ธ์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ์„ SMS ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.notificationToken
๋ฌธ์ž์—ด

HipChat API ํ† ํฐ. notifications.[n].typeName ์„ HIP_CHAT ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

๋‚˜์ค‘์— ํ† ํฐ์ด ์œ ํšจํ•˜์ง€ ์•Š๊ฒŒ ๋˜๋ฉด MongoDB Atlas๋Š” Project Owner (์œผ)๋กœ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ด๊ณ  ๊ฒฐ๊ตญ ํ† ํฐ์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.opsGenieApiKey
๋ฌธ์ž์—ด

OpsGenie ๊ฒฝ๊ณ  API ํ‚ค. MongoDB Ops Manager๋Š” notifications.[n].typeName ๋ฅผ OPS_GENIE ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.opsGenieRegion
๋ฌธ์ž์—ด
์‚ฌ์šฉํ•  API URL ์„ ๋‚˜ํƒ€๋‚ด๋Š” ๋ฆฌ์ „์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ๋ฅผ OPS_GENIE ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.roles
๋ฌธ์ž์—ด ๋ฐฐ์—ด
ํ˜„์žฌ ํ”„๋กœ์ ํŠธ ๋˜๋Š” ์กฐ์ง์˜ Ops Manager ์—ญํ• . notifications.[n].typeName ์„ ORG ๋˜๋Š” GROUP ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.roomName
๋ฌธ์ž์—ด
HipChat ์ฑ„ํŒ…๋ฐฉ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. "notifications.typeName" : "HIP_CHAT ์ธ ๊ฒฝ์šฐ Ops Manager๊ฐ€ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.serviceKey
๋ฌธ์ž์—ด

PagerDuty ์„œ๋น„์Šค ํ‚ค์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ์„ PAGER_DUTY ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.smsEnabled
๋ถ€์šธ
ํ…์ŠคํŠธ ์•Œ๋ฆผ์„ ๋ณด๋‚ด์•ผ ํ•จ์„ ๋‚˜ํƒ€๋‚ด๋Š” ํ”Œ๋ž˜๊ทธ์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” notifications.[n].typeName ์„ ORG, GROUP ๋˜๋Š” USER ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.teamId
๋ฌธ์ž์—ด
์ด ์•Œ๋ฆผ์„ ์ˆ˜์‹ ํ•˜๋Š” ํŒ€์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.
notifications.[n]
.teamName
๋ฌธ์ž์—ด
์ด ์•Œ๋ฆผ์„ ์ˆ˜์‹ ํ•˜๋Š” ํŒ€์˜ ๋ ˆ์ด๋ธ”์ž…๋‹ˆ๋‹ค.
notifications.[n]
.typeName
๋ฌธ์ž์—ด
Ops Manager๊ฐ€ ๊ฒฝ๊ณ ์— ๋Œ€ํ•œ ์•Œ๋ฆผ์„ ๋ณด๋‚ด๋„๋ก ํ•˜๋Š” ์ˆ˜๋‹จ์ž…๋‹ˆ๋‹ค.
notifications.[n]
.username
๋ฌธ์ž์—ด
์•Œ๋ฆผ์„ ๋ณด๋‚ผ Ops Manager ์‚ฌ์šฉ์ž์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. notifications.[n].typeName ์„ USER ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
notifications.[n]
.victorOpsApiKey
๋ฌธ์ž์—ด

VictorOps API ํ‚ค์ž…๋‹ˆ๋‹ค.

๋‚˜์ค‘์— ํ‚ค๊ฐ€ ์œ ํšจํ•˜์ง€ ์•Š๊ฒŒ ๋˜๋ฉด MongoDB Atlas๋Š” Project Owner (์œผ)๋กœ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ด๊ณ  ๊ฒฐ๊ตญ ํ‚ค๋ฅผ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

notifications.[n].typeName ์„ VICTOR_OPS ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

API ๋˜๋Š” ํ†ตํ•ฉ ํ‚ค๊ฐ€ ํ•„์š”ํ•œ ํƒ€์‚ฌ ํ†ตํ•ฉ์„ ์ƒ์„ฑํ•œ ํ›„ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ฒฝ์šฐ ํ‚ค๊ฐ€ ๋ถ€๋ถ„์ ์œผ๋กœ ํŽธ์ง‘๋œ ์ƒํƒœ๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

  • UI๋ฅผ ํ†ตํ•ด ๊ฒฝ๊ณ ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค.

  • API ๋ฅผ ํ†ตํ•ด ํƒ€์‚ฌ ํ†ตํ•ฉ ์„ค์ •์„ ์ฟผ๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.victorOpsRoutingKey
๋ฌธ์ž์—ด

VictorOps ๋ผ์šฐํŒ… ํ‚ค์ž…๋‹ˆ๋‹ค.

๋‚˜์ค‘์— ํ‚ค๊ฐ€ ์œ ํšจํ•˜์ง€ ์•Š๊ฒŒ ๋˜๋ฉด MongoDB Atlas๋Š” Project Owner (์œผ)๋กœ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ด๊ณ  ๊ฒฐ๊ตญ ํ‚ค๋ฅผ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

notifications.[n].typeName ์„ VICTOR_OPS ๋กœ ์„ค์ •ํ•œ ๊ฒฝ์šฐ Ops Manager๋Š” ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

notifications.[n]
.webhookSecret
๋ฌธ์ž์—ด

์•Œ๋ฆผ์„ ์ˆ˜๋ฝํ•˜๊ณ  ์ „๋‹ฌํ•˜๋Š” Webhook์œผ๋กœ ์ธ์ฆํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋˜๋Š” ๊ฐ’์ž…๋‹ˆ๋‹ค.

Ops Manager๋Š” notifications.[n].typeName ์„(๋ฅผ) WEBHOOK (์œผ)๋กœ ์„ค์ •ํ•˜๊ฑฐ๋‚˜ ๋‹ค์Œ ์ค‘ ํ•˜๋‚˜์— ํ•ด๋‹นํ•˜๋Š” ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

  • notification.[n].webhookSecret ์„(๋ฅผ) ๋น„์–ด ์žˆ์ง€ ์•Š์€ ๋ฌธ์ž์—ด๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ํ†ตํ•ฉ ํŽ˜์ด์ง€ ๋˜๋Š” ํ†ตํ•ฉ API๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ webhookSecret ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

์›นํ›… ์•Œ๋ฆผ์„ ์ƒ์„ฑํ•œ ํ›„ ๊ฒฝ๊ณ  ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•  ๋•Œ URL ์ด ๋ถ€๋ถ„์ ์œผ๋กœ ์ˆ˜์ •๋˜๊ณ  ์‹œํฌ๋ฆฟ์€ ์™„์ „ํžˆ ์ˆ˜์ •๋ฉ๋‹ˆ๋‹ค.

notifications.[n]
.webhookUrl
๋ฌธ์ž์—ด

์ด ์•Œ๋ฆผ์„ Atlas Triggers ์›นํ›…์˜ URL ์ž…๋‹ˆ๋‹ค.

Ops Manager๋Š” notifications.[n].typeName ์„(๋ฅผ) WEBHOOK (์œผ)๋กœ ์„ค์ •ํ•˜๊ฑฐ๋‚˜ ๋‹ค์Œ ์ค‘ ํ•˜๋‚˜์— ํ•ด๋‹นํ•˜๋Š” ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

  • notification.[n].webhookURL ์„(๋ฅผ) ๋น„์–ด ์žˆ์ง€ ์•Š์€ ๋ฌธ์ž์—ด๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

  • ํ†ตํ•ฉ ํŽ˜์ด์ง€ ๋˜๋Š” ํ†ตํ•ฉ API๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ webhookUrl ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

์›นํ›… ์•Œ๋ฆผ์„ ์ƒ์„ฑํ•œ ํ›„ ๊ฒฝ๊ณ  ๋ฅผ ๋ณด๊ฑฐ๋‚˜ ํŽธ์ง‘ํ•  ๋•Œ URL ์ด ๋ถ€๋ถ„์ ์œผ๋กœ ์ˆ˜์ •๋˜๊ณ  ์‹œํฌ๋ฆฟ์€ ์™„์ „ํžˆ ์ˆ˜์ •๋ฉ๋‹ˆ๋‹ค.

์ž„๊ณ„๊ฐ’
๊ฐ์ฒด
๊ฒฝ๊ณ ๋ฅผ ํŠธ๋ฆฌ๊ฑฐํ•˜๋Š” ์ž„๊ณ„๊ฐ’์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” eventTypeName ์ด OUTSIDE_METRIC_THRESHOLD ์ด์™ธ์˜ ๊ฐ’์ธ ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
threshold
.operator
๋ฌธ์ž์—ด
Ops Manager๊ฐ€ ์ž„๊ณ„๊ฐ’๊ณผ ๋น„๊ตํ•˜์—ฌ ํ˜„์žฌ ๋ฉ”ํŠธ๋ฆญ ๊ฐ’์„ ํ™•์ธํ•  ๋•Œ ์ ์šฉํ•œ ๋น„๊ต ์—ฐ์‚ฐ์ž์ž…๋‹ˆ๋‹ค.
threshold
.threshold
์ˆซ์ž
์ดˆ๊ณผ ์‹œ Ops Manager๊ฐ€ Atlas Triggersํ•˜๋Š” ๊ฐ’์ž…๋‹ˆ๋‹ค.
threshold
.units
๋ฌธ์ž์—ด
threshold.threshold ์˜ ๋ฒ”์œ„๋ฅผ ์ •์˜ํ•˜๋Š” ์šฉ๋Ÿ‰ ๋˜๋Š” ์‹œ๊ฐ„ ๋‹จ์œ„์ž…๋‹ˆ๋‹ค.
typeName
๋ฌธ์ž์—ด
์ด ํ•„๋“œ๋Š” ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฉฐ ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.
Updated
๋ฌธ์ž์—ด
ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ์ด ๊ฒฝ๊ณ  ๊ตฌ์„ฑ์ด ๋งˆ์ง€๋ง‰์œผ๋กœ ์—…๋ฐ์ดํŠธ๋œ ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹(UTC )์ž…๋‹ˆ๋‹ค.
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--include \
--request POST "https://<ops-manager-host>/api/public/v1.0/groups/{PROJECT-ID}/alertConfigs" \
--data '
{
"eventTypeName" : "RESYNC_REQUIRED",
"enabled" : true,
"notifications" : [ {
"typeName" : "GROUP",
"intervalMin" : 5,
"delayMin" : 0,
"smsEnabled" : false,
"emailEnabled" : true
} ]
}'
HTTP/1.1 401 Unauthorized
Content-Type: application/json;charset=ISO-8859-1
Date: {dateInUnixFormat}
WWW-Authenticate: Digest realm="MMS Public API", domain="", nonce="{nonce}", algorithm=MD5, op="auth", stale=false
Content-Length: {requestLengthInBytes}
Connection: keep-alive
HTTP/1.1 200 OK
Vary: Accept-Encoding
Content-Type: application/json
Strict-Transport-Security: max-age=300
Date: {dateInUnixFormat}
Connection: keep-alive
Content-Length: {requestLengthInBytes}
X-MongoDB-Service-Version: gitHash={gitHash}; versionString={ApplicationVersion}
{
"created" : "2014-04-23T14:29:18Z",
"enabled" : true,
"groupId" : "{PROJECT-ID}",
"id" : "{ALERT-CONFIG-ID}",
"links" : [],
"matchers" : [ ],
"notifications" : [ {
"delayMin" : 0,
"emailEnabled" : true,
"intervalMin" : 5,
"smsEnabled" : false,
"typeName" : "GROUP"
} ],
"updated" : "2014-04-23T14:29:18Z"
}

๋Œ์•„๊ฐ€๊ธฐ

ํ”„๋กœ์ ํŠธ์— ๋Œ€ํ•œ ๋ชจ๋“  ๊ฒฝ๊ณ  ๊ตฌ์„ฑ ๊ฐ€์ ธ์˜ค๊ธฐ