As per the recommendation, to increase nagiosXI performance have enabled ram disk in our environment. Though, I gave (800MB) more than the value where script recommends during installation, but now it got filled 100%.
So please guide us to resolve the issue.
Code: Select all
[root@usa0300lv6348 libexec]# cat /etc/sysconfig/nagios
USE_RAMDISK=1
RAMDISK_DIR=/var/nagiosramdisk
RAMDISK_SIZE=800
if [ "`mount |grep "${RAMDISK_DIR} type tmpfs"`"X == "X" ]; then
mount -t tmpfs -o size=${RAMDISK_SIZE}m tmpfs ${RAMDISK_DIR}
fi
mkdir -p -m 775 ${RAMDISK_DIR} ${RAMDISK_DIR}/tmp ${RAMDISK_DIR}/spool ${RAMDISK_DIR}/spool/checkresults ${RAMDISK_DIR}/spool/xidpe ${RAMDISK_DIR}/spool/perfdata
chown -R nagios:nagios ${RAMDISK_DIR}
[root@usa0300lv6348 libexec]#
[root@usa0300lv6348 libexec]# df -h /var/nagiosramdisk
Filesystem Size Used Avail Use% Mounted on
tmpfs 800M 800M 0 100% /var/nagiosramdisk
[root@usa0300lv6348 libexec]#Regards,
A.Thanigaivel