temp_file vs. temp_path
Posted: Tue Oct 13, 2015 9:07 am
Good morning. I just ran my upgrade to NagiosXI 5.2, and was reviewing my nagios.cfg since it was an update to a new major version. I've got a question about two of the keys in nagios.cfg.
I'm using a ramdisk, it was configured by following the XI Utilizing a Ram Disk pdf. While reviewing my settings, I noticed I've got the following
I reviewed the main config file documentation on the difference between these two keys. They sound very similar in function, I'm really not able to tell if these settings are talking about the same temp file, or if they create two different files based on different processes. Should I adjust my temp_file setting to point to the tmp directory on the ramdisk?
Or should I just leave it as is? I've got several nagios.tmp files in /usr/local/nagios/var, but nothing in /ramdisk/tmp. Is my temp_path setting being ignored due to temp_file, or do they serve different purposes?
I'm using a ramdisk, it was configured by following the XI Utilizing a Ram Disk pdf. While reviewing my settings, I noticed I've got the following
Code: Select all
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/ramdisk/tmpCode: Select all
temp_file=/ramdisk/tmp/nagios.tmp
temp_path=/ramdisk/tmp