AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.

복제 상태가 있는 호스트를 가져옵니다.

The v2.0 versions of the three Get Host endpoints return everything the v1.0 endpoints return. They add two fields that report a replica set member's replication health. Use these endpoints to detect a member that is too stale to catch up and to read its replication error.

Adding fields to an existing response can break clients that validate the schema strictly. The v1.0 endpoints are unchanged and never return these fields.

Before you use the v2.0 Get Host resources, review the following requirements.

참고

그룹과 프로젝트는 동의어입니다. {PROJECT-ID}는 프로젝트 ID와 동일합니다. 기존 그룹의 경우, 그룹/프로젝트 ID가 동일하게 유지됩니다. 이 페이지에서는 설명에 대해 얘기할 때 더욱 친숙한 용어 그룹을 사용합니다. 엔드포인트는 문서에 명시된 대로 유지됩니다.

기본 URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v2.0

To use the v2.0 Get Host resources, you must be an Ops Manager user with at least the Project Read Only role.

Your deployment must run Ops Manager 8.0.28 or 9.0.2 or later. Monitoring must be enabled for the project. If monitoring is disabled, Ops Manager omits the new fields.

The following table lists the endpoints available for the v2.0 Get Host resources. The paths match the v1.0 endpoints under the v2.0 base URL.

메서드
엔드포인트
설명

GET

고유 식별자를 사용하여 호스트 하나를 반환합니다.

GET

호스트 이름과 포트 번호를 사용하여 호스트 하나를 반환합니다.

GET

프로젝트에 있는 모든 호스트를 반환합니다.

The v2.0 endpoints return the following fields in addition to the v1.0 response fields.

이름
유형
설명

너무 오래됐어

부울

true 이 멤버가 oplog 윈도우를 따라잡지 못하고 있다면 초기 동기화가 필요합니다.

lastReplError

문자열

The member's last replication error, from the errmsg field of rs.status().

Both fields describe this host's own member entry in its replica set. Ops Manager omits them for hosts that aren't replica set members, and omits lastReplError when the member reports no error.

1
2

If tooStale is true, the member cannot catch up from the replica set's oplog and requires an initial sync.

3

lastReplError 멤버의 복제 오류 메시지를 포함합니다.