이 콘텐츠는 선택한 언어로 제공되지 않습니다.

17.2. Installing Nagios


The Nagios monitoring system is used to provide monitoring and alerts for the Red Hat Gluster Storage network and infrastructure. Installing Nagios installs the following components.
nagios
Core program, web interface and configuration files for Nagios server.
python-cpopen
Python package for creating sub-process in simple and safe manner.
python-argparse
Command line parser for python.
libmcrypt
Encryptions algorithm library.
rrdtool
Round Robin Database Tool to store and display time-series data.
pynag
Python modules and utilities for Nagios plugins and configuration.
check-mk
General purpose Nagios-plugin for retrieving data.
mod_python
An embedded Python interpreter for the Apache HTTP Server.
nrpe
Monitoring agent for Nagios.
nsca
Nagios service check acceptor.
nagios-plugins
Common monitoring plug-ins for nagios.
gluster-nagios-common
Common libraries, tools, configurations for Gluster node and Nagios server add-ons.
nagios-server-addons
Gluster node management add-ons for Nagios.

17.2.1. Installing Nagios Server

Use the following command to install Nagios server:
# yum install nagios-server-addons
Copy to Clipboard Toggle word wrap
You must install Nagios on the node which would be used as the Nagios server.

17.2.2. Configuring Red Hat Gluster Storage Nodes for Nagios

Configure all the Red Hat Gluster Storage nodes, including the node on which the Nagios server is installed.

Note

If SELinux is configured, the sebooleans must be enabled on all Red Hat Gluster Storage nodes and the node on which Nagios server is installed.
Enable the following sebooleans on Red Hat Enterprise Linux node if Nagios server is installed.
# setsebool -P logging_syslogd_run_nagios_plugins on
# setsebool -P nagios_run_sudo on
Copy to Clipboard Toggle word wrap
To configure the nodes, follow the steps given below:
  1. In /etc/nagios/nrpe.cfg file, add the central Nagios server IP address as shown below:
    allowed_hosts=127.0.0.1, NagiosServer-HostName-or-IPaddress
    Copy to Clipboard Toggle word wrap
  2. Restart the NRPE service using the following command:
    # service nrpe restart
    Copy to Clipboard Toggle word wrap

    Note

    • The host name of the node is used while configuring Nagios server using auto-discovery. To view the host name, run hostname command.
    • Ensure that the host names are unique.
  3. Start the glusterpmd service using the following command:
    # service glusterpmd start
    Copy to Clipboard Toggle word wrap
    To start glusterpmd service automatically when the system reboots, run chkconfig --add glusterpmd command.
    You can start the glusterpmd service using service glusterpmd start command and stop the service using service glusterpmd stop command.
    The glusterpmd service is a Red Hat Gluster Storage process monitoring service running in every Red Hat Gluster Storage node to monitor glusterd, self heal, smb, quotad, ctdbd and brick services and to alert the user when the services go down. The glusterpmd service sends its managing services detailed status to the Nagios server whenever there is a state change on any of its managing services.
    This service uses /etc/nagios/nagios_server.conf file to get the Nagios server name and the local host name given in the Nagios server. The nagios_server.conf is configured by auto-discovery.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

Theme

© 2025 Red Hat