So all the changes made for the ram disk optimisation was gone.
Excerpt from Nagios Utilising_A_RAM_Disk_In_NagiosXI.pdf
Code: Select all
Update the Nagios init script so that the required directories exist.
Add the following lines to the top of /etc/init.d/nagios just under the comments:
mkdir -p -m 775 /var/nagiosramdisk
mkdir -p -m 775 /var/nagiosramdisk/tmp
mkdir -p -m 775 /var/nagiosramdisk/spool
mkdir -p -m 775 /var/nagiosramdisk/spool/checkresults
chown -R nagios.nagios /var/nagiosramdisk
Update the NPCD init script to ensure the required directories exist.
Add the following lines to the top of /etc/init.d/npcd just under the comments:
mkdir -p -m 775 /var/nagiosramdisk
mkdir -p -m 775 /var/nagiosramdisk/spool
mkdir -p -m 775 /var/nagiosramdisk/spool/xidpe
mkdir -p -m 775 /var/nagiosramdisk/spool/perfdata
chown -R nagios.nagios /var/nagiosramdisk
Please ensure things like this don't happen again. We were following your official document.