← Back to list

How To Monitor Your Linux Server Using NRPE Agent — Techoism.com

Nagios XI is Network Monitoring tools which frequently check all of your network resources and send’ s email alerts before it’ s downtime…

Anuket Jain · 2020-04-04 19:24 · 0 claps · 3.3 min read
#nagios #monitoring-tools #nrpe #centos #monitoring
Open on Medium ↗
Wiki topics: AGT · AI Agents 🔓 · Open Source

How To Monitor Your Linux Server Using NRPE Agent — Techoism.com

Nagios XI is Network Monitoring tools which frequently check all of your network resources and send’ s email alerts before it’ s downtime and much more. Nagios XI provides organizations with many benefits:

  • Comprehensive IT Infrastructure Monitoring
  • Advanced Graphs & Visualizations
  • Advanced Infrastructure Management Capabilities
  • Monitoring Wizard
  • Easily and Advanced User Management

Step 1: Download and Extract NRPE Agent

Download the NRPE agent on the Linux server you want to monitor. Use mention command to download the agent.

# cd /opt
# wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz

Extract the archive file.

# tar -zxvf linux-nrpe-agent.tar.gz

Step 2: Install NRPE Agent

After extracting the NRPE agent file, you need to execute the wrapper script using the root user.

# cd /opt/linux-nrpe-agent
# ./fullinstall

This will automatically take care of a number of things for you, including:

  • Modifying the distro’s package manager repositories
  • Installing prerequisite packages
  • Creating required users and groups
  • Defining services for xinetd
  • Compiling and installing the agent and plugins
  • Configuring the firewall
  • Configuring the agent

The script will stop and will ask for the IP address(es) for your monitoring servers.

Step 3: Configure Linux Server to Monitor

You have successfully installed and configured the monitoring agent on Linux Server. You need to run the Linux server configuration wizard using Nagios XI web interface.

# http://IP-Address/nagiosxi

Now click on Configure and choose Configuration Wizard.

Now you need to choose a Linux Server wizard.

Now provide the Linux Server information which you want to monitor using Nagios XI.

Provide the Linux server details and select the services which you want to monitor.

Define the basic parameters that determine how the host and services should be monitored.

Define basic parameters that determine how the notification should be sent for the host and services.

Select host and service group If created any.

Click “Apply” to finish the configuration.

Now, Server has been configured successfully.

Step 4: Start NRPE Agent

You can start NRPE Agent using mention command.

For CentOS/RHEL 7
# systemctl start xinetd
# systemctl enable xinetd
For CentOS/RHEL 6
# service xinetd start
# chkconfig xinetd on

Step 5: Verify Configuration

Now you can verify the configuration by checking host and group status.

Host Status:

Service Status:

After a period of time, you can need to see graphs like this which is the Current-Load.

Enjoy it!

Originally published at https://www.techoism.com on April 4, 2020.


메타데이터
post_id
99e80ea4d3cf
slug
how-to-monitor-your-linux-server-using-nrpe-agent-techoism-com-99e80ea4d3cf
url
https://medium.com/@anuketjain007/how-to-monitor-your-linux-server-using-nrpe-agent-techoism-com-99e80ea4d3cf
canonical_url
https://medium.com/@anuketjain007/how-to-monitor-your-linux-server-using-nrpe-agent-techoism-com-99e80ea4d3cf
author_url
https://medium.com/@anuketjain007
status
ok
fetched_at
2026-07-29 04:51:17