Running Nagios along with another web interface
Posted: Tue Oct 14, 2014 3:08 pm
I would like to run Nagios off the same box as my BackupPC server. After installing Nagios on the server where BackupPC was successfully running I noticed that a bunch of permission issues existed in the Nagios CGI especially when trying to use certain functions. After some testing it looks like its due to BackupPC which requires the user in the httpd.conf file to be changed from "apache" to "backuppc" which apparently is required to run their CGI:
"As mentioned, the BackupPC user created on the system when installing the RPM has to run Apache in order for everything to work properly with the CGIs and mod_perl. Go ahead and setup the appropriate values in httpd.conf. "
Of course when I change the user back to "apache" Nagios runs fine but of course it breaks the BackupPC CGI as they noted.
Any easy way to work around this?
"As mentioned, the BackupPC user created on the system when installing the RPM has to run Apache in order for everything to work properly with the CGIs and mod_perl. Go ahead and setup the appropriate values in httpd.conf. "
Of course when I change the user back to "apache" Nagios runs fine but of course it breaks the BackupPC CGI as they noted.
Any easy way to work around this?