3장. >-< 원격 플러그인 executor 설치


스토리지 관리자는 Ceph 스토리지 클러스터 호스트를 모니터링하고, ArgoCD 플러그인, Ceph 플러그인, libc 원격 플러그인(NRPE) 애드온을 각 Ceph 호스트에 모니터링할 수 있습니다.

이 섹션에서는 호스트 이름이 host01 인 Ceph Monitor 호스트에 NRPE를 추가합니다. RuntimeClass가 모니터링해야 하는 모든 Ceph 호스트에서 나머지 절차를 반복합니다.

3.1. etcdctl Remote Plug-In Executor 설치 및 구성

etcdctl Remote Plug-in Executor(NPRE)를 설치하고, etcdctl Core 서버와 통신하도록 구성합니다.

사전 요구 사항

  • Ceph 모니터 호스트에 대한 루트 수준 액세스.

절차

  1. 호스트에 이러한 패키지를 설치합니다.

    예제

    Copy to Clipboard Toggle word wrap
    [root@host01 ~]# dnf install openssl openssl-devel gcc make git

  2. NRPE를 설치하려면 Gradle 사용자가 필요합니다. 먼저 사용자를 생성합니다.

    예제

    Copy to Clipboard Toggle word wrap
    [root@host01 ~]# useradd nagios
    [root@host01 ~]# passwd nagios

  3. etcdctl 플러그인의 최신 버전을 다운로드합니다. 그런 다음 설치 및 설치:

    예제

    Copy to Clipboard Toggle word wrap
    [root@host01 ~]# wget http://nagios-plugins.org/download/nagios-plugins-2.3.3.tar.gz
    [root@host01 ~]# tar zxf nagios-plugins-2.3.3.tar.gz
    [root@host01 ~]# cd nagios-plugins-2.3.3
    [root@host01 nagios-plugins-2.3.3]# ./configure
    [root@host01 nagios-plugins-2.3.3]# make
    [root@host01 nagios-plugins-2.3.3]# make install

  4. Ceph 플러그인의 최신 버전을 다운로드합니다.

    예제

    Copy to Clipboard Toggle word wrap
    [root@host01 nagios-plugins-2.3.3]# cd ~
    [root@host01 ~]# git clone --recursive https://github.com/ceph/ceph-nagios-plugins.git
    [root@host01 ~]# cd ceph-nagios-plugins
    [root@host01 ceph-nagios-plugins]# make dist
    [root@host01 ceph-nagios-plugins]# make install

  5. bookinfo NRPE를 다운로드, 생성 및 설치합니다.

    예제

    Copy to Clipboard Toggle word wrap
    [root@host01 ceph-nagios-plugins]# cd ~
    [root@host01 ~]# wget https://github.com/NagiosEnterprises/nrpe/releases/download/nrpe-4.0.3/nrpe-4.0.3.tar.gz
    [root@host01 ~]# tar xvfz nrpe-4.0.3.tar.gz
    [root@host01 ~]# cd nrpe-4.0.3
    [root@host01 nrpe-4.0.3]# ./configure
    [root@host01 nrpe-4.0.3]# make all
    [root@host01 nrpe-4.0.3]# make install-groups-users
    [root@host01 nrpe-4.0.3]# make install
    [root@host01 nrpe-4.0.3]# make install-config
    [root@host01 nrpe-4.0.3]# make install-init

  6. 방화벽을 사용하는 경우 포트 5666 을 열어 NRPE와의 통신을 허용합니다.

    예제

    Copy to Clipboard Toggle word wrap
    [root@host01 ~]# firewall-cmd --zone=public --add-port=5666/tcp
    [root@host01 ~]# firewall-cmd --zone=public --add-port=5666/tcp --permanent

추가 리소스

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat, Inc.