Page 1 of 1

RAM Disk config deleted after 5.3.2 Upgrade.

Posted: Mon Nov 14, 2016 2:48 pm
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

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Posted: Mon Nov 14, 2016 3:15 pm
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.

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Posted: Mon Nov 14, 2016 3:22 pm
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.

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Posted: Mon Nov 14, 2016 3:28 pm
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

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Posted: Mon Nov 14, 2016 3:32 pm
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.

Re: RAM Disk config deleted after 5.3.2 Upgrade.

Posted: Mon Nov 14, 2016 3:48 pm
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.