RAM Disk config deleted after 5.3.2 Upgrade.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

RAM Disk config deleted after 5.3.2 Upgrade.

Post by TBT »

Another potential bug. We are use RAM Disk as per the official Nagios documentation[1] and noticed that after our XI 5.3.2 upgrade that the RAM Disk config was deleted from /etc/sysconfig/nagios

I am looking for confirmation on if this is isolated to our system, or a legit bug. The upgrade was done from CLI using latest Tarball and occurred on all 8 of our XI hosts.

Thank you,


[1] https://assets.nagios.com/downloads/nag ... giosXI.pdf
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Post by avandemore »

What version did you upgrade from?

Are you using the old documented method of Nagios and Ramdisks eg the one utilizing /etc/fstab?

/etc/sysconfig/nagios is only referenced by two Nagios components: The init script and install_ramdisk.sh. There is no logic in any of our tools to remove a ramdisk or the configuration file.
Previous Nagios employee
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Post by TBT »

avandemore wrote:What version did you upgrade from?

Are you using the old documented method of Nagios and Ramdisks eg the one utilizing /etc/fstab?

/etc/sysconfig/nagios is only referenced by two Nagios components: The init script and install_ramdisk.sh. There is no logic in any of our tools to remove a ramdisk or the configuration file.
Upgrade from 5.2.9 to 5.3.2

We did use the old /etc/fstab method in the past, prior to this upgrade.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Post by avandemore »

Ok that would explain it. /etc/sysconfig/nagios was not used or created under the old process.

For reference: Utilizing a RAM Disk in Nagios XI
Previous Nagios employee
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Post by TBT »

avandemore wrote:Ok that would explain it. /etc/sysconfig/nagios was not used or created under the old process.

For reference: Utilizing a RAM Disk in Nagios XI
Perhaps I wasn't clear, we have been using that method you just linked to. I've also linked the same Doc in the initial post.

Very odd how the config file just went missing.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Post by avandemore »

We did use the old /etc/fstab method in the past, prior to this upgrade.
That document link stays the same so if in the past you followed it may have shown a fstab method to install a ramdisk. It never created /etc/sysconfig/nagios so it's not going to exist pre or post upgrade for any version of Nagios XI.
Previous Nagios employee
Locked