This is a cache of https://support.nagios.com/kb/article/nagios-xi-upgrading-the-linux-nrpe-agent-750.html. It is a snapshot of the page at 2025-05-14T00:10:59.405+0000.
Nagios <strong>xi</strong> - Upgrading The Linux NRPE Agent
Home » Categories » Multiple Categories

Nagios xi - Upgrading The Linux NRPE Agent

Overview

This KB article explains how to upgrade the Linux NRPE Agent for Nagios xi that has been previously installed following these instructions.

Documentation - Installing The Linux Agent

 

Upgrade Steps

An upgrade to NRPE v3.x is completed by running the fullinstall script explained in the documentation linked above. The fullinstall script will save a copy of the following existing config files:

/usr/local/nagios/etc/nrpe.cfg as /usr/local/nagios/etc/nrpe.cfg.saved

/usr/local/nagios/etc/nrpe/asterisk.cfg as /usr/local/nagios/etc/nrpe/asterisk.cfg.saved

/usr/local/nagios/etc/nrpe/common.cfg as /usr/local/nagios/etc/nrpe/common.cfg.saved

 

The fullinstall script will replace the existing config files with the default files that come with the installer. These saved copies will allow you to take any custom commands you have defined and add them back into the running configuration.

 

Recommendations

If you are affected by the upgrade due to your custom commands being replaced, you can future proof this from happening again when a newer version of NRPE is installed. They key to this is with the following directive defined in the nrpe.cfg file:

include_dir=/usr/local/nagios/etc/nrpe

 

Any file in this directory that has the .cfg extension will be read by NRPE when it starts. This allows you to have a file that contains your custom commands and will not be touched by the NRPE installer script script in the future.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
NRPE - Configuring NRPE Commands To Accept Arguments
Viewed 63836 times since Sun, Oct 15, 2017
Nagios xi - Accessing And Utilizing The Core Config Manager
Viewed 5866 times since Wed, Jul 19, 2017
Monitoring Office 365 Subscription Services
Viewed 10879 times since Fri, Dec 4, 2020
Nagios xi - Changing The Check Interval Of A Service
Viewed 7738 times since Wed, Jul 19, 2017
Nagios xi - Introduction: Getting Started with Nagios xi - NWC14
Viewed 5484 times since Thu, Feb 4, 2016
Nagios xi - MultiTech MTR API Integration
Viewed 3718 times since Thu, Nov 29, 2018
Nagios xi - License Maintenance Status Check
Viewed 11693 times since Thu, Feb 25, 2016
Nagios xi - How to Use the NSCA Addon
Viewed 8550 times since Thu, Jan 28, 2016
Nagios xi - How To Monitor A Websensor EM08
Viewed 6219 times since Thu, Jan 28, 2016
Nagios xi - How To Monitor Apache Tomcat
Viewed 6198 times since Mon, Apr 29, 2019