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?
Running Nagios along with another web interface
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Running Nagios along with another web interface
I cannot really think of a good way around that myself, which is why we recommend you install nagios on a fresh, minimal installation. I would personally recommend against putting it on the same system as a backuppc hub as well, for hardware usage reasons.
Re: Running Nagios along with another web interface
Yep after some deliberation I'm going to put it on a separate machineslansing wrote:I cannot really think of a good way around that myself, which is why we recommend you install nagios on a fresh, minimal installation. I would personally recommend against putting it on the same system as a backuppc hub as well, for hardware usage reasons.