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 - Oracle Services Critical After Nagios XI Upgrade

Problem Description

After upgrading Nagios XI, Oracle based services start failing with errors similar to this:

The following error message is produced:

CRITICAL - cannot connect to fprnt. install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.12.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoa    

 

Explanation

During the upgrade, the customized commands are overwritten with the default commands included with the wizard.

 

Resolving The Problem

The old commands can be retrieved as they would have been kept in a backup.

If you did the upgrade via the XI web interface, the following file is created:

/store/backups/nagiosxi/autoupgrade_backup..tar.gz

Follow these steps in an SSH or console session on your Nagios XI host:

mkdir /tmp/restore/
cd /tmp/restore/
tar zxf /store/backups/nagiosxi/autoupgrade_backup..tar.gz -C /tmp/restore/
tar zxf /tmp/restore/autoupgrade_backup./nagios.tar.gz usr/local/nagios/etc/commands.cfg --strip-components 4

 
This last step will show you what the commands were defined as before the upgrade:

grep oracle /tmp/restore/commands.cfg


Using that information you will be able to go into CCM and update the commands accordingly following this original guide on page 2 and 3:

Documentation - How to Install & Configure the Oracle Client & Plugins

 

When you are done, delete the extracted files:

cd /tmp
rm -rf restore


 

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!

2.33 (3)
Article Rating (3 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 - Installing The Solaris Agent
Viewed 9036 times since Wed, Jan 27, 2016
Nagios XI - STRICT_TRANS_TABLES
Viewed 11219 times since Thu, Nov 16, 2017
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 10334 times since Thu, Feb 25, 2016
Active Directory / LDAP - Troubleshooting Authentication Integration
Viewed 23452 times since Mon, Jun 26, 2017
Nagios XI - Some BPI Checks Show "Unknown BPI Group Index" After Upgrade
Viewed 5954 times since Wed, Sep 18, 2019
Nagios XI - SNMP MIB Upload Problems
Viewed 11938 times since Mon, Apr 10, 2017
Nagios XI - Folder Watch Wizard
Viewed 19698 times since Tue, Mar 3, 2015
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 30396 times since Tue, Jan 26, 2016
Web Browser Reports 330 Error Content Encoding
Viewed 10370 times since Tue, Mar 7, 2017
Nagios XI - How To Monitor Jetty JMX
Viewed 4836 times since Mon, Apr 29, 2019