THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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
Nagios XI - Core Config Manager - How It Works
Viewed 6407 times since Sun, Jul 30, 2017
Nagios Network Analyzer - Adding Reports For Nagios Network Analyzer in Nagios XI
Viewed 9065 times since Thu, Jan 28, 2016
Nagios XI - Core Configuration Mananger Mass Changes
Viewed 9543 times since Tue, Jan 26, 2016
Nagios XI - Introduction to Event Handlers
Viewed 10821 times since Thu, Jan 28, 2016
Nagios XI - Understanding The User Macros Component
Viewed 6018 times since Fri, Apr 28, 2017
Nagios XI - Monitoring A Router Or Switch
Viewed 10437 times since Wed, Jul 19, 2017
Nagios XI - Monitoring Hosts Using NRPE and NRPE Monitoring Wizard
Viewed 14333 times since Thu, Jan 28, 2016
Nagios XI - Receiving SNMP Traps From Nagios Network Analyzer
Viewed 9508 times since Mon, Oct 17, 2016
Nagios XI - Monitoring Using the Full Power of Nagios XI Enterprise - NWC15
Viewed 10638 times since Mon, Feb 8, 2016
Nagios XI - Restoring Default Configuration
Viewed 14145 times since Tue, Jan 26, 2016