{"id":11512,"date":"2019-03-14T10:23:48","date_gmt":"2019-03-14T10:23:48","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11512"},"modified":"2019-03-14T10:23:48","modified_gmt":"2019-03-14T10:23:48","slug":"how-to-add-linux-host-to-nagios-monitoring-server-using-nrpe-plugin","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/how-to-add-linux-host-to-nagios-monitoring-server-using-nrpe-plugin\/","title":{"rendered":"How to Add Linux Host to Nagios Monitoring Server Using NRPE Plugin"},"content":{"rendered":"<p>In our first part of this article, we\u2019ve explained in detail on how to install and configure latest\u00a0<strong>Nagios Core 4.2.0<\/strong>on\u00a0<strong>CentOS 7.2<\/strong>\u00a0server. In this article we will show you how to add\u00a0<strong>Remote Linux<\/strong>\u00a0machine and it\u2019s services to\u00a0<strong>Nagios Monitoring<\/strong>\u00a0host using\u00a0<strong>NRPE<\/strong>\u00a0agent.<\/p>\n<p>We hope you already having\u00a0<strong>Nagios<\/strong>\u00a0installed and running properly. If not, please use the following installation guide to install it on the system.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/install-nagios-in-linux\/\" target=\"_blank\" rel=\"noopener\">Nagios 4.2.0 Installation Guide on RHEL\/CentOS 7.x\/6.x\/5.x &amp; Fedora 24-19<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/how-to-add-windows-host-to-nagios-monitoring-server\/\" target=\"_blank\" rel=\"noopener\">How to Add Windows Host to Nagios Monitoring Server<\/a><\/li>\n<\/ol>\n<p>Once you\u2019ve installed, you can proceed further to install\u00a0<strong>NRPE<\/strong>\u00a0agent on your\u00a0<strong>Remote Linux<\/strong>\u00a0host. Before heading further, let us give you a short description about\u00a0<strong>NRPE<\/strong>.<\/p>\n<h3>What is NRPE?<\/h3>\n<p>The\u00a0<strong>NRPE<\/strong>\u00a0(<strong>Nagios Remote Plugin Executor<\/strong>) plugin allows you to monitor any remote\u00a0<strong>Linux<\/strong>\/<strong>Unix<\/strong>\u00a0services or network devices. This\u00a0<strong>NRPE<\/strong>\u00a0add-on allows\u00a0<strong>Nagios<\/strong>\u00a0to monitor any local resources like\u00a0<strong>CPU load<\/strong>,\u00a0<strong>Swap<\/strong>,\u00a0<strong>Memory usage<\/strong>,\u00a0<strong>Online users<\/strong>, etc. on remote Linux machines. After all, these local resources are not mostly exposed to external machines, an\u00a0<strong>NRPE<\/strong>\u00a0agent must be installed and configured on the remote machines.<\/p>\n<p><strong>Note<\/strong>: The\u00a0<strong>NRPE<\/strong>\u00a0addon requires that\u00a0<strong>Nagios Plugins<\/strong>\u00a0must be installed on the remote Linux machine. Without these, the\u00a0<strong>NRPE<\/strong>\u00a0daemon will not work and will not monitor anything.<\/p>\n<h3>Installation of NRPE Plugin<\/h3>\n<p>To use the\u00a0<strong>NRPE<\/strong>, you will need to do some additional tasks on both the\u00a0<strong>Nagios Monitoring Host<\/strong>\u00a0and\u00a0<strong>Remote Linux Host<\/strong>\u00a0that the NRPE installed on. We will be covering both the installation parts separately.<\/p>\n<p>We assume that you are installing the\u00a0<strong>NRPE<\/strong>\u00a0on a host that supports\u00a0<strong>TCP wrappers<\/strong>\u00a0and\u00a0<strong>Xinted<\/strong>\u00a0daemon installed on it. Today, most of the modern Linux distributions have these two installed by default. If not, we will install it later during the installation when required.<\/p>\n<h4>On Remote Linux Host<\/h4>\n<p>Please use the below instructions to install\u00a0<strong>Nagios Plugins<\/strong>\u00a0and\u00a0<strong>NRPE<\/strong>\u00a0daemon on the\u00a0<strong>Remote Linux Host<\/strong>.<\/p>\n<h5>Step 1: Install Required Dependencies<\/h5>\n<p>We need to install required libraries like\u00a0<strong>gcc<\/strong>,\u00a0<strong>glibc<\/strong>,\u00a0<strong>glibc-common<\/strong>\u00a0and\u00a0<strong>GD<\/strong>\u00a0and its development libraries before installing.<\/p>\n<pre>[root@tecmint]# <strong>yum install -y gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel<\/strong>\r\n\r\n-------------- <strong>On Fedora 22+ Onwards<\/strong> --------------\r\n[root@tecmint]# <strong>dnf install -y gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel<\/strong>\r\n<\/pre>\n<h5>Step 2: Create Nagios User<\/h5>\n<p>Create a new nagios user account and set a password.<\/p>\n<pre>[root@tecmint]# useradd nagios\r\n[root@tecmint]# passwd nagios<\/pre>\n<h5>Step 3: Install the Nagios Plugins<\/h5>\n<p>Create a directory for installation and all its future downloads.<\/p>\n<pre>[root@tecmint]# cd \/root\/nagios<\/pre>\n<p>Now download latest\u00a0<strong>Nagios Plugins 2.1.2<\/strong>\u00a0package with\u00a0<strong>wget<\/strong>\u00a0command.<\/p>\n<pre>[root@tecmint nagios~]# wget https:\/\/www.nagios-plugins.org\/download\/nagios-plugins-2.1.2.tar.gz<\/pre>\n<h5>Step 4: Extract Nagios Plugins<\/h5>\n<p>Run the following\u00a0<strong>tar<\/strong>\u00a0command to extract the source code tarball.<\/p>\n<pre>[root@tecmint nagios~]# tar -xvf nagios-plugins-2.1.2.tar.gz<\/pre>\n<p>After, extracting one new folder will appear in that directory.<\/p>\n<pre>[root@tecmint nagios ~]# ls -l\r\n\r\ntotal 2640\r\ndrwxr-xr-x. 15 root root    4096 Aug  1 21:58 <strong>nagios-plugins-2.1.2<\/strong>\r\n-rw-r--r--.  1 root root 2695301 Aug  1 21:58 nagios-plugins-2.1.2.tar.gz\r\n<\/pre>\n<h5>Step 5: Compile and Install Nagios Plugins<\/h5>\n<p>Next, compile and install using following commands<\/p>\n<pre>[root@tecmint nagios]# cd nagios-plugins-2.1.2\r\n[root@tecmint nagios-plugins-2.1.2]# .\/configure \r\n[root@tecmint nagios-plugins-2.1.2]# make\r\n[root@tecmint nagios-plugins-2.1.2]# make install\r\n<\/pre>\n<p>Set the permissions on the plugin directory.<\/p>\n<pre>[root@tecmint nagios-plugins-2.1.2]# chown nagios.nagios \/usr\/local\/nagios\r\n[root@tecmint nagios-plugins-2.1.2]# chown -R nagios.nagios \/usr\/local\/nagios\/libexec<\/pre>\n<h5>Step 6: Install Xinetd<\/h5>\n<p>Most of the systems, its by default installed. If not, install\u00a0<strong>xinetd<\/strong>\u00a0package using following\u00a0<strong>yum<\/strong>\u00a0command.<\/p>\n<pre>[root@tecmint nagios-plugins-2.1.2]# yum install xinetd\r\n\r\n-------------- <strong>On Fedora 22+ Onwards<\/strong> --------------\r\n[root@tecmint nagios-plugins-2.1.2]# dnf install xinetd\r\n<\/pre>\n<h5>Step 7: Install NRPE Plugin<\/h5>\n<p>Download latest\u00a0<strong>NRPE Plugin 3.2<\/strong>\u00a0packages with\u00a0<strong>wget<\/strong>\u00a0command.<\/p>\n<pre>[root@tecmint nagios-plugins-2.1.2]# cd \/root\/nagios\r\n[root@tecmint nagios]# wget https:\/\/github.com\/NagiosEnterprises\/nrpe\/releases\/download\/nrpe-3.2.1\/nrpe-3.2.1.tar.gz\r\n<\/pre>\n<p>Unpack the NRPE source code tarball.<\/p>\n<pre>[root@tecmint nagios]# tar xzf nrpe-3.2.1.tar.gz\r\n[root@tecmint nrpe-3.2]# cd nrpe-3.2\r\n<\/pre>\n<p>Compile and install the NRPE addon.<\/p>\n<pre>[root@tecmint nrpe-3.2]# .\/configure\r\n[root@tecmint nrpe-3.2]# make all<\/pre>\n<p>Next, install the NRPE plugin daemon, and sample daemon config file.<\/p>\n<pre>[root@tecmint nrpe-3.2]# make install-plugin\r\n[root@tecmint nrpe-3.2]# make install-daemon\r\n[root@tecmint nrpe-3.2]# make install-daemon-config<\/pre>\n<p>Install the NRPE daemon under xinetd as a service.<\/p>\n<pre>[root@tecmint nrpe-3.2]# make install-xinetd\r\nOR\r\n[root@tecmint nrpe-3.2]# make install-inetd\r\n<\/pre>\n<p>Now open\u00a0<strong>\/etc\/xinetd.d\/nrpe<\/strong>\u00a0file and add the\u00a0<strong>localhost<\/strong>\u00a0and\u00a0<strong>IP address<\/strong>\u00a0of the\u00a0<strong>Nagios Monitoring Server<\/strong>.<\/p>\n<pre>only_from = 127.0.0.1 <strong>localhost<\/strong> <strong>&lt;nagios_ip_address&gt;<\/strong><\/pre>\n<p>Next, open<strong>\u00a0\/etc\/services<\/strong>\u00a0file add the following entry for the\u00a0<strong>NRPE<\/strong>\u00a0daemon at the bottom of the file.<\/p>\n<pre>nrpe            5666\/tcp                 NRPE<\/pre>\n<p>Restart the xinetd service.<\/p>\n<pre>[root@tecmint]# service xinetd restart<\/pre>\n<h5>Step 8: Verify NRPE Daemon Locally<\/h5>\n<p>Run the following command to verify the NRPE daemon working correctly under xinetd.<\/p>\n<pre>[root@tecmint]# netstat -at | grep nrpe\r\n\r\ntcp        0      0 *:nrpe                      *:*                         LISTEN<\/pre>\n<p>If you get output similar to above, means it working correctly. If not, make sure to check the following things.<\/p>\n<ol>\n<li>Check you\u2019ve added nrpe entry correctly in\u00a0<strong>\/etc\/services<\/strong>\u00a0file<\/li>\n<li>The\u00a0<strong>only_from<\/strong>\u00a0contains an entry for \u201c<strong>nagios_ip_address<\/strong>\u201d in the\u00a0<strong>\/etc\/xinetd.d\/nrpe<\/strong>\u00a0file.<\/li>\n<li>The\u00a0<strong>xinetd<\/strong>\u00a0is installed and started.<\/li>\n<li>Check for the errors in the\u00a0<strong>system log<\/strong>\u00a0files for about\u00a0<strong>xinetd<\/strong>\u00a0or<strong>\u00a0nrpe<\/strong>\u00a0and fix those problems.<\/li>\n<\/ol>\n<p>Next, verify the NRPE daemon is functioning properly. Run the \u201c<strong>check_nrpe<\/strong>\u201d command that was installed earlier for testing purposes.<\/p>\n<pre>[root@tecmint]# \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost<\/pre>\n<p>You will get a following string on the screen, it shows you what version of NRPE is installed:<\/p>\n<pre>NRPE v3.2<\/pre>\n<h5>Step 9: Configure Firewall Rules<\/h5>\n<p>Make sure that the\u00a0<strong>Firewall<\/strong>\u00a0on the local machine will allow the\u00a0<strong>NRPE<\/strong>\u00a0daemon to be accessed from remote servers. To do this, run the following iptables command.<\/p>\n<pre>-------------- <strong>On RHEL\/CentOS 6\/5 and Fedora<\/strong> --------------\r\n[root@tecmint]# iptables -A INPUT -p tcp -m tcp --dport 5666 -j ACCEPT\r\n\r\n-------------- <strong>On RHEL\/CentOS 7 and Fedora 19 Onwards<\/strong> --------------\r\n[root@tecmint]# firewall-cmd --permanent --zone=public --add-port=5666\/tcp\r\n<\/pre>\n<p>Run the following command to Save the new iptables rule so it will survive at system reboots.<\/p>\n<pre>-------------- <strong>On RHEL\/CentOS 6\/5 and Fedora<\/strong> --------------\r\n[root@tecmint]# service iptables save\r\n<\/pre>\n<h5>Step 10: Customize NRPE commands<\/h5>\n<p>The default NRPE configuration file that got installed has several command definitions that will be used to monitor this machine. The sample configuration file located at.<\/p>\n<pre>[root@tecmint]# vi \/usr\/local\/nagios\/etc\/nrpe.cfg<\/pre>\n<p>The following are the default command definitions that are located at the bottom of the configuration file. For the time being, we assume you are using these commands. You can check them by using the following commands.<\/p>\n<pre># \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost -c check_users\r\n\r\nUSERS OK - 1 users currently logged in |users=1;5;10;0<\/pre>\n<pre># \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost -c check_load\r\n\r\nOK - load average: 3.90, 4.37, 3.94|load1=3.900;15.000;30.000;0; load5=4.370;10.000;25.000;0; load15=3.940;5.000;20.000;0;<\/pre>\n<pre># \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost -c check_hda1\r\n\r\nDISK OK - free space: \/boot 154 MB (84% inode=99%);| \/boot=29MB;154;173;0;193<\/pre>\n<pre># \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost -c check_total_procs\r\n\r\nPROCS CRITICAL: 297 processes<\/pre>\n<pre># \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost -c check_zombie_procs\r\n\r\nPROCS OK: 0 processes with STATE = Z<\/pre>\n<p>You can edit and add new command definitions by editing the NRPE config file. Finally, you\u2019ve successfully installed and configured NRPE agent on the\u00a0<strong>Remote Linux Host<\/strong>. Now it\u2019s time to install a\u00a0<strong>NRPE<\/strong>\u00a0component and add some services on your\u00a0<strong>Nagios Monitoring Server<\/strong>\u2026<\/p>\n<h4>On Nagios Monitoring Server<\/h4>\n<p>Now login into your\u00a0<strong>Nagios Monitoring Server<\/strong>. Here you will need to do following things:<\/p>\n<ol>\n<li>Install the\u00a0<strong>check_nrpe<\/strong>\u00a0plugin.<\/li>\n<li>Create a\u00a0<strong>Nagios command definition<\/strong>\u00a0using the\u00a0<strong>check_nrpe<\/strong>\u00a0plugin.<\/li>\n<li>Create\u00a0<strong>Nagios host<\/strong>\u00a0and\u00a0<strong>add service definitions<\/strong>\u00a0for monitoring the\u00a0<strong>remote Linux host<\/strong>.<\/li>\n<\/ol>\n<h5>Step 1: Install NRPE Plugin<\/h5>\n<p>Go to the nagios download directory and download latest\u00a0<strong>NRPE Plugin<\/strong>\u00a0with\u00a0<strong>wget<\/strong>\u00a0command.<\/p>\n<pre>[root@tecmint]# cd \/root\/nagios\r\n[root@tecmint]# wget https:\/\/github.com\/NagiosEnterprises\/nrpe\/releases\/download\/nrpe-3.2.1\/nrpe-3.2.1.tar.gz<\/pre>\n<p>Unpack the NRPE source code tarball.<\/p>\n<pre>[root@tecmint]# tar xzf nrpe-3.2.1.tar.gz\r\n[root@tecmint]# cd nrpe-3.2<\/pre>\n<p>Compile and install the NRPE addon.<\/p>\n<pre>[root@tecmint]# .\/configure\r\n[root@tecmint]# make all\r\n[root@tecmint]# make install-daemon<\/pre>\n<h5>Step 2: Verify NRPE Daemon Remotely<\/h5>\n<p>Make sure that the\u00a0<strong>check_nrpe<\/strong>\u00a0plugin can communicate with the\u00a0<strong>NRPE<\/strong>\u00a0daemon on the remote\u00a0<strong>Linux<\/strong>\u00a0host. Add the\u00a0<strong>IP address<\/strong>\u00a0in the command below with the IP address of your R<strong>emote Linux<\/strong>\u00a0host.<\/p>\n<pre>[root@tecmint]# \/usr\/local\/nagios\/libexec\/check_nrpe -H <strong>&lt;remote_linux_ip_address&gt;<\/strong><\/pre>\n<p>You will get a string back that shows you what version of NRPE is installed on the remote host, like this:<\/p>\n<pre>NRPE v3.0<\/pre>\n<p>If your receive a plugin time-out error, then check the following things.<\/p>\n<ol>\n<li>Make sure your firewall isn\u2019t blocking the communication between the\u00a0<strong>remote host<\/strong>\u00a0and the\u00a0<strong>monitoring host<\/strong>.<\/li>\n<li>Make sure that the\u00a0<strong>NRPE<\/strong>\u00a0daemon is installed correctly under\u00a0<strong>xinetd<\/strong>.<\/li>\n<li>Make sure that the r<strong>emote Linux<\/strong>\u00a0host firewall rules blocking the\u00a0<strong>monitoring server<\/strong>\u00a0from communicating to the\u00a0<strong>NRPE<\/strong>\u00a0daemon.<\/li>\n<\/ol>\n<h3>Adding Remote Linux Host to Nagios Monitoring Server<\/h3>\n<p>To add a remote host you need to create a two new files \u201c<strong>hosts.cfg<\/strong>\u201d and \u201c<strong>services.cfg<\/strong>\u201d under \u201c<strong>\/usr\/local\/nagios\/etc\/<\/strong>\u201d location.<\/p>\n<pre>[root@tecmint]# cd \/usr\/local\/nagios\/etc\/\r\n[root@tecmint]# touch hosts.cfg\r\n[root@tecmint]# touch services.cfg<\/pre>\n<p>Now add these two files to main Nagios configuration file. Open\u00a0<strong>nagios.cfg<\/strong>\u00a0file with any editor.<\/p>\n<pre>[root@tecmint]# vi \/usr\/local\/nagios\/etc\/nagios.cfg<\/pre>\n<p>Now add the two newly created files as shown below.<\/p>\n<pre># You can specify individual object config files as shown below:\r\ncfg_file=\/usr\/local\/nagios\/etc\/hosts.cfg\r\ncfg_file=\/usr\/local\/nagios\/etc\/services.cfg<\/pre>\n<p>Now open\u00a0<strong>hosts.cfg<\/strong>\u00a0file and add the\u00a0<strong>default host template name<\/strong>\u00a0and\u00a0<strong>define remote hosts<\/strong>\u00a0as shown below. Make sure to replace\u00a0<strong>host_name<\/strong>,\u00a0<strong>alias<\/strong>\u00a0and\u00a0<strong>address<\/strong>\u00a0with your remote host server details.<\/p>\n<pre>[root@tecmint]# vi \/usr\/local\/nagios\/etc\/hosts.cfg<\/pre>\n<pre>## Default Linux Host Template ##\r\ndefine host{\r\nname                            linux-box               ; Name of this template\r\nuse                             generic-host            ; Inherit default values\r\ncheck_period                    24x7        \r\ncheck_interval                  5       \r\nretry_interval                  1       \r\nmax_check_attempts              10      \r\ncheck_command                   check-host-alive\r\nnotification_period             24x7    \r\nnotification_interval           30      \r\nnotification_options            d,r     \r\ncontact_groups                  admins  \r\nregister                        0                       ; DONT REGISTER THIS - ITS A TEMPLATE\r\n}\r\n\r\n## Default\r\ndefine host{\r\nuse                             linux-box               ; Inherit default values from a template\r\n<strong>host_name                       tecmint\t\t        ; The name we're giving to this server<\/strong>\r\n<strong>alias                           CentOS 6                ; A longer name for the server<\/strong>\r\n<strong>address                         5.175.142.66            ; IP address of Remote Linux host<\/strong>\r\n}<\/pre>\n<p>Next open\u00a0<strong>services.cfg<\/strong>\u00a0file add the following services to be monitored.<\/p>\n<pre>[root@tecmint]# vi \/usr\/local\/nagios\/etc\/services.cfg<\/pre>\n<pre>define service{\r\n        use                     generic-service\r\n        host_name               tecmint\r\n        service_description     CPU Load\r\n        check_command           check_nrpe!check_load\r\n        }\r\n\r\ndefine service{\r\n        use                     generic-service\r\n        host_name               tecmint\r\n        service_description     Total Processes\r\n        check_command           check_nrpe!check_total_procs\r\n        }\r\n\r\ndefine service{\r\n        use                     generic-service\r\n        host_name               tecmint\r\n        service_description     Current Users\r\n        check_command           check_nrpe!check_users\r\n        }\r\n\r\ndefine service{\r\n        use                     generic-service\r\n        host_name               tecmint\r\n        service_description     SSH Monitoring\r\n        check_command           check_nrpe!check_ssh\r\n        }\r\n\r\ndefine service{\r\n        use                     generic-service\r\n        host_name               tecmint\r\n        service_description     FTP Monitoring\r\n        check_command           check_nrpe!check_ftp\r\n        }<\/pre>\n<p>Now NRPE command definition needs to be created in\u00a0<strong>commands.cfg<\/strong>\u00a0file.<\/p>\n<pre>[root@tecmint]# vi \/usr\/local\/nagios\/etc\/objects\/commands.cfg<\/pre>\n<p>Add the following NRPE command definition at the bottom of the file.<\/p>\n<pre>###############################################################################\r\n# NRPE CHECK COMMAND\r\n#\r\n# Command to use NRPE to check remote host systems\r\n###############################################################################\r\n\r\ndefine command{\r\n        command_name check_nrpe\r\n        command_line $USER1$\/check_nrpe -H $HOSTADDRESS$ -c $ARG1$\r\n        }<\/pre>\n<p>Finally, verify Nagios Configuration files for any errors.<\/p>\n<pre>[root@tecmint]# \/usr\/local\/nagios\/bin\/nagios -v \/usr\/local\/nagios\/etc\/nagios.cfg\r\n\r\nTotal Warnings: 0\r\nTotal Errors:   0<\/pre>\n<p>Restart Nagios:<\/p>\n<pre>[root@tecmint]# service nagios restart<\/pre>\n<p>That\u2019s it. Now go to\u00a0<strong>Nagios Monitoring Web<\/strong>\u00a0interface at \u201c<strong>http:\/\/Your-server-IP-address\/nagios<\/strong>\u201d or \u201c<strong>http:\/\/FQDN\/nagios\u201d<\/strong>\u00a0and Provide the username \u201c<strong>nagiosadmin<\/strong>\u201d and\u00a0<strong>password<\/strong>. Check that the\u00a0<strong>Remote Linux Host<\/strong>\u00a0was added and is being monitored.<\/p>\n<div id=\"attachment_4683\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/11\/Add-Linux-Host-to-Nagios.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4683\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/11\/Add-Linux-Host-to-Nagios-620x387.jpeg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/11\/Add-Linux-Host-to-Nagios-620x387.jpeg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/11\/Add-Linux-Host-to-Nagios.jpeg 1024w\" alt=\"Nagios Remote Host Monitoring\" width=\"620\" height=\"387\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Nagios Remote Host Monitoring<\/p>\n<\/div>\n<p>That\u2019s it! for now, in our my up-coming article I will show you how to add\u00a0<strong>Windows host<\/strong>\u00a0to\u00a0<strong>Nagios monitoring Server<\/strong>. If you\u2019re facing any difficulties while adding remote host to\u00a0<strong>Nagios<\/strong>. Please do comment your queries or problem via comment section, till then stay tuned to\u00a0<strong>Tecmint.com<\/strong>\u00a0for more such valuable articles.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/how-to-add-linux-host-to-nagios-monitoring-server\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our first part of this article, we\u2019ve explained in detail on how to install and configure latest\u00a0Nagios Core 4.2.0on\u00a0CentOS 7.2\u00a0server. In this article we will show you how to add\u00a0Remote Linux\u00a0machine and it\u2019s services to\u00a0Nagios Monitoring\u00a0host using\u00a0NRPE\u00a0agent. We hope you already having\u00a0Nagios\u00a0installed and running properly. If not, please use the following installation guide to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/how-to-add-linux-host-to-nagios-monitoring-server-using-nrpe-plugin\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Add Linux Host to Nagios Monitoring Server Using NRPE Plugin&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11512","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11512"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11512\/revisions"}],"predecessor-version":[{"id":11514,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11512\/revisions\/11514"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}