Hi,
We are running Nagios XI 5.5.2. Currently we are facing a bug with notifications, which exists in Nagios Core 4.4.1, and seems to be fixed in 4.4.2 (from what I understand).
This is the bug: https://github.com/NagiosEnterprises/na ... issues/550
My question is this: would it be possible to upgrade the underlying Nagios core on our Nagios XI machine?
Just follow standard upgrade instructions for Nagios core?
Thanks for the help,
Edward
Possibility to upgrade Nagios core to 4.4.2
-
edwardvanhaute
- Posts: 13
- Joined: Wed Aug 01, 2018 3:46 am
Re: Possibility to upgrade Nagios core to 4.4.2
After taking all of the precautionary measures (backups, snapshots, etc.), you can do the following:
1. Go to the /tmp/nagiosxi/subcomponents/nagioscore directory:
2. Download the Nagios Core 4.4.2 tarball:
3. Modify the upgrade file in a text editor by changing this line:
to this:
Save and exit.
4. Modify the apply-patches file in a text editor by commenting out the last three patches:
Save and exit.
5. Run the upgrade script:
Let us know if this helped.
1. Go to the /tmp/nagiosxi/subcomponents/nagioscore directory:
Code: Select all
cd /tmp/nagiosxi/subcomponents/nagioscoreCode: Select all
wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.4.2.tar.gzCode: Select all
pkgname="nagios-4.4.1"Code: Select all
pkgname="nagios-4.4.2"4. Modify the apply-patches file in a text editor by commenting out the last three patches:
Code: Select all
# fix check_interval and retry_interval bug in Core 4.4.1
#patch "$pkgname/base/checks.c" < patches/fix_check_interval_retry_interval.patch
# fix passive checks sending recovery email when host was previously UP
#patch "$pkgname/base/checks.c" < patches/passive_sends_recovery_when_prev_state_was_up.patch
# fix flexible downtime in Core 4.4.1
#patch "$pkgname/base/checks.c" < patches/flexible-downtime-fix.patch5. Run the upgrade script:
Code: Select all
./upgradeBe sure to check out our Knowledgebase for helpful articles and solutions!
-
edwardvanhaute
- Posts: 13
- Joined: Wed Aug 01, 2018 3:46 am
Re: Possibility to upgrade Nagios core to 4.4.2
Hi
I have performed the suggested procedure. (after performing a full backup ofcourse)
No problems were found.
The notification bug is also gone now.
Thank you very much for the help!
Edward
I have performed the suggested procedure. (after performing a full backup ofcourse)
No problems were found.
The notification bug is also gone now.
Thank you very much for the help!
Edward
Re: Possibility to upgrade Nagios core to 4.4.2
I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!