New Installation - Ubuntu 11.10: nagios.cfg error
Posted: Fri Apr 27, 2012 3:41 pm
I am very new at this, and the fix to my issue is simple.
I have just installed Ubuntu 11.10 on an Intel base PC. I have installed the LAMP server components. I have installed Nagios Core 3.3.1 and Nagios Plugins 1.4.15. I believe all of these components are correctly installed.
My issues is verfying the "nagios.cfg". I issue the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and get the following response.
Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 465 (Check result path is not a valid directory)
Line 465 is as follows: check_result_path=/usr/local/nagios/var/spool/checkresults
The directory "/spool/checkresults" does not exist. I tried creating these directory and re-verifying, but then I run into permission errors.
I am hoping someone, can point me in the right direction. I did search the support forum, but didn't find this issue.
I have just installed Ubuntu 11.10 on an Intel base PC. I have installed the LAMP server components. I have installed Nagios Core 3.3.1 and Nagios Plugins 1.4.15. I believe all of these components are correctly installed.
My issues is verfying the "nagios.cfg". I issue the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and get the following response.
Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 465 (Check result path is not a valid directory)
Line 465 is as follows: check_result_path=/usr/local/nagios/var/spool/checkresults
The directory "/spool/checkresults" does not exist. I tried creating these directory and re-verifying, but then I run into permission errors.
I am hoping someone, can point me in the right direction. I did search the support forum, but didn't find this issue.