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

1๊ฐœ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ  ๋ฐ›๊ธฐ

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

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

ALERT-ID ๋กœ ์‹๋ณ„๋œ ๊ฒฝ๊ณ  ํ•˜๋‚˜๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ๊ณผ ๊ฐ™์€ ํ• ๋‹น๋œ ์—ญํ• ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ด ์—”๋“œํฌ์ธํŠธ๋ฅผ ์„ฑ๊ณต์ ์œผ๋กœ ํ˜ธ์ถœํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • Global Owner

  • Global Monitoring Admin

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

GET /globalAlerts/{ALERT-ID}
์ด๋ฆ„
์œ ํ˜•
์„ค๋ช…

ALERT-ID

๋ฌธ์ž์—ด

์กฐํšŒํ•˜๋ ค๋Š” ๊ฒฝ๊ณ ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.

์ด๋ฆ„
์œ ํ˜•
ํ•„์š”์„ฑ
์„ค๋ช…
๊ธฐ๋ณธ๊ฐ’

pretty

๋ถ€์šธ

์˜ต์…˜

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

false

envelope

๋ถ€์šธ

์˜ต์…˜

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

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

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

์ด๋ฆ„
์„ค๋ช…

status

HTTP ์‘๋‹ต ์ฝ”๋“œ

content

์˜ˆ์ƒ๋˜๋Š” ์‘๋‹ต ๋ณธ๋ฌธ

false

์ด ์—”๋“œํฌ์ธํŠธ๋Š” HTTP ์š”์ฒญ ๋ณธ๋ฌธ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์ด๋ฆ„
์œ ํ˜•
์„ค๋ช…

acknowledgedUntil

๋ฌธ์ž์—ด

ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ๊ฒฝ๊ณ ๊ฐ€ ์Šน์ธ๋œ UTC ์˜ ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ์ด ๊ฒฝ๊ณ ๋ฅผ ํ™•์ธํ•œ ๊ฒฝ์šฐ MongoDB Ops Manager์— ์ด ํ•„๋“œ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

acknowledgementComment

๋ฌธ์ž์—ด

์ด ๊ฒฝ๊ณ ๋ฅผ ์Šน์ธํ•œ ์‚ฌ์šฉ์ž๊ฐ€ ๋‚จ๊ธด ๋Œ“๊ธ€์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ์ด ๊ฒฝ๊ณ ๋ฅผ ํ™•์ธํ•œ ๊ฒฝ์šฐ Ops Manager์— ์ด ํ•„๋“œ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

acknowledgingUsername

๋ฌธ์ž์—ด

๊ฒฝ๊ณ ๋ฅผ ์Šน์ธํ•œ ์‚ฌ์šฉ์ž์˜ Ops Manager ์‚ฌ์šฉ์ž ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๊ฐ€ ์ด ๊ฒฝ๊ณ ๋ฅผ ํ™•์ธํ•œ ๊ฒฝ์šฐ Ops Manager์— ์ด ํ•„๋“œ๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

alertConfigId

๋ฌธ์ž์—ด

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

clusterId

๋ฌธ์ž์—ด

์ด ๊ฒฝ๊ณ ๊ฐ€ ์ ์šฉ๋˜๋Š” ํด๋Ÿฌ์Šคํ„ฐ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” ๋‹ค์Œ ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

clusterName

๋ฌธ์ž์—ด

Name the cluster to which this alert applies. Ops Manager๋Š” ๋‹ค์Œ ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

created

๋ฌธ์ž์—ด

ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ๊ฒฝ๊ณ ๊ฐ€ ์ƒ์„ฑ๋œ ์‹œ์ ์˜ UTC ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹์ž…๋‹ˆ๋‹ค.

currentValue

๊ฐ์ฒด

๊ฒฝ๊ณ ๋ฅผ ํŠธ๋ฆฌ๊ฑฐํ•œ ๋ฉ”ํŠธ๋ฆญ์˜ ํ˜„์žฌ ๊ฐ’์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” ํ˜ธ์ŠคํŠธ ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

currentValue.number

์ˆซ์ž

์ง€ํ‘œ์˜ ํ˜„์žฌ ๊ฐ’์ž…๋‹ˆ๋‹ค.

currentValue.units

๋ฌธ์ž์—ด

currentValue.number ์˜ ๋‹จ์œ„์ž…๋‹ˆ๋‹ค. ๋‹จ์œ„๋Š” ๋ฉ”ํŠธ๋ฆญ ์œ ํ˜•์— ๋”ฐ๋ผ ๋‹ค๋ฆ…๋‹ˆ๋‹ค.

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

  • RAW

  • BITS

  • BYTES

  • KILOBITS

  • KILOBYTES

  • MEGABITS

  • MEGABYTES

  • GIGABITS

  • GIGABYTES

  • TERABYTES

  • PETABYTES

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

์˜ˆ๋ฅผ ์˜ˆ์‹œ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋ฅผ ์ธก์ •ํ•˜๋Š” ์ง€ํ‘œ์—๋Š” BYTES, ์‹œ๊ฐ„์„ ์ธก์ •ํ•˜๋Š” ์ง€ํ‘œ์—๋Š” HOURS ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

eventTypeName

๋ฌธ์ž์—ด

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

๊ฒฝ๊ณ ๋ฅผ ์ƒ์„ฑํ•˜๋Š” ์ด๋ฒคํŠธ ์œ ํ˜•์„ ๊ฒ€ํ† ํ•˜๋ ค๋ฉด ๊ฒฝ๊ณ  ์œ ํ˜•์„ ์ฐธ์กฐํ•˜์„ธ์š”.

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

groupId

๋ฌธ์ž์—ด

์ด ๊ฒฝ๊ณ ๊ฐ€ ์—ด๋ฆฐ ํ”„๋กœ์ ํŠธ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.

hostId

๋ฌธ์ž์—ด

Unique identifier of the host to which the metric pertains. Ops Manager๋Š” ๋‹ค์Œ ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

hostnameAndPort

๋ฌธ์ž์—ด

๊ฒฝ๊ณ ๊ฐ€ ์ ์šฉ๋˜๋Š” ๊ฐ ํ˜ธ์ŠคํŠธ์˜ ํ˜ธ์ŠคํŠธ ์ด๋ฆ„ ๋ฐ ํฌํŠธ์ž…๋‹ˆ๋‹ค. ํ˜ธ์ŠคํŠธ ์ด๋ฆ„์€ ํ˜ธ์ŠคํŠธ ์ด๋ฆ„, FQDN, IPv4 ์ฃผ์†Œ ๋˜๋Š” IPv6 ์ฃผ์†Œ๋งŒ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. Ops Manager๋Š” ๋‹ค์Œ ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

id

๋ฌธ์ž์—ด

๊ฒฝ๊ณ ์˜ ๊ณ ์œ  ์‹๋ณ„์ž์ž…๋‹ˆ๋‹ค.

lastNotified

๋ฌธ์ž์—ด

ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ์ด ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ๋งˆ์ง€๋ง‰์œผ๋กœ ์•Œ๋ฆผ์„ ๋ณด๋‚ธ ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹(UTC )์ž…๋‹ˆ๋‹ค. MongoDB Ops Manager๊ฐ€ ์•Œ๋ฆผ์„ ๋ณด๋‚ธ ๊ฒฝ์šฐ MongoDB Ops Manager๊ฐ€ ์ด๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

metricName

๋ฌธ์ž์—ด

๊ฐ’์ด ์ž„๊ณ„๊ฐ’์„ ๋ฒ—์–ด๋‚œ ์ธก์ •๊ฐ’์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. "eventTypeName" : "OUTSIDE_METRIC_THRESHOLD" ์ธ ๊ฒฝ์šฐ Ops Manager๊ฐ€ ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๊ฐ’ ์€ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์˜ ์ธก์ • ์œ ํ˜•์„ ์ฐธ์กฐํ•˜์„ธ์š”.

replicaSetName

๋ฌธ์ž์—ด

๋ณต์ œ๋ณธ ์„ธํŠธ์˜ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” ๋‹ค์Œ ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€๋กœ๋ฒŒ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

resolved

๋ฌธ์ž์—ด

ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ๊ฒฝ๊ณ ๊ฐ€ ์ข…๋ฃŒ๋œ ์‹œ์ ์˜ UTC ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹์ž…๋‹ˆ๋‹ค. MongoDB Ops Manager๋Š” "status" : "CLOSED" ์ธ ๊ฒฝ์šฐ ์ „์—ญ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

sourceTypeName

๋ฌธ์ž์—ด

๋ฐฑ์—…๋˜๋Š” ํ˜ธ์ŠคํŠธ ์œ ํ˜•์ž…๋‹ˆ๋‹ค. Ops Manager๋Š” backup ์นดํ…Œ๊ณ ๋ฆฌ์˜ ์ „์—ญ ๊ฒฝ๊ณ ์— ๋Œ€ํ•ด ์ด ํ•„๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๋ฐ˜ํ™˜๋  ์ˆ˜ ์žˆ๋Š” ๊ฐ€๋Šฅํ•œ ๊ฐ’์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • REPLICA_SET

  • SHARDED_CLUSTER

  • CONFIG_SERVER

status

๋ฌธ์ž์—ด

๊ฒฝ๊ณ ์˜ ํ˜„์žฌ ์ƒํƒœ์ž…๋‹ˆ๋‹ค. ๋ฐ˜ํ™˜๋  ์ˆ˜ ์žˆ๋Š” ๊ฐ€๋Šฅํ•œ ๊ฐ’์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

TRACKING

๊ฒฝ๊ณ  ์กฐ๊ฑด์ด ์กด์žฌํ•˜์ง€๋งŒ ๊ฒฝ๊ณ ๋ฅผ ํŠธ๋ฆฌ๊ฑฐํ•  ๋งŒํผ ์ถฉ๋ถ„ํžˆ ์˜ค๋žซ๋™์•ˆ ์ง€์†๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.

OPEN

๊ฒฝ๊ณ ๊ฐ€ ์—ด๋ ค ์žˆ์Šต๋‹ˆ๋‹ค.

CLOSED

๊ฒฝ๊ณ ๊ฐ€ ๋‹ซํž™๋‹ˆ๋‹ค.

CANCELLED

๊ฒฝ๊ณ ๊ฐ€ ์ทจ์†Œ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

tags

๋ฌธ์ž์—ด ๋ฐฐ์—ด

์ด ๊ฒฝ๊ณ ์™€ ๊ด€๋ จ๋œ ํƒœ๊ทธ์ž…๋‹ˆ๋‹ค.

typeName

๋ฌธ์ž์—ด

์ด ํ•„๋“œ๋Š” ๋” ์ด์ƒ ์‚ฌ์šฉ๋˜์ง€ ์•Š์œผ๋ฉฐ ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.

updated

๋ฌธ์ž์—ด

ISO 8601 ์˜ ํƒ€์ž„์Šคํƒฌํ”„ ์ด ๊ฒฝ๊ณ ๊ฐ€ ๋งˆ์ง€๋ง‰์œผ๋กœ ์—…๋ฐ์ดํŠธ๋œ ๋‚ ์งœ ๋ฐ ์‹œ๊ฐ„ ํ˜•์‹(UTC )์ž…๋‹ˆ๋‹ค.

curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
--header "Accept: application/json" \
--include \
--request GET "https://<OpsManagerHost>:<Port>/api/public/v1.0/globalAlerts/{ALERT-ID}"
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}
1{
2 "alertConfigId": "{ALERT-CONFIG-ID}",
3 "created": "2019-11-30T12:42:31Z",
4 "eventTypeName": "BACKUP_AGENT_DOWN",
5 "groupId": "{PROJECT-ID}",
6 "id": "{ALERT-ID}",
7 "lastNotified": "2020-04-09T20:25:05Z",
8 "links": [
9 ],
10 "status": "OPEN",
11 "tags": [],
12 "typeName": "AGENT",
13 "updated": "2019-11-30T12:42:31Z"
14}

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

๋ชจ๋‘ ๊ฐ€์ ธ์˜ค๊ธฐ