Running Nagios along with another web interface

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
xpac
Posts: 54
Joined: Mon Aug 25, 2014 3:43 pm

Running Nagios along with another web interface

Post by xpac »

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?
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

Post by slansing »

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.
xpac
Posts: 54
Joined: Mon Aug 25, 2014 3:43 pm

Re: Running Nagios along with another web interface

Post by xpac »

slansing 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.
Yep after some deliberation I'm going to put it on a separate machine :D
Locked