Nagios Problem...

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
cinziny
Posts: 2
Joined: Wed Feb 06, 2013 6:38 am

Nagios Problem...

Post by cinziny »

Hi All,

I am trying to install nagios-3.4.4 on RHEL 6; when I follow the routine steps for instalaltions, it works fine and I can access my Nagios page on http://<ip-address>/nagios.

However, I have multiple instances of apache running on the same server. One Instance is used for, say repository, one for subversion and so on and so forth.

I have installed the apache instance dedicated for nagios @ /opt/apache/nagios and this particular instance seems to be workign fine.
./configure --prefix=/opt/apache/nagios -enable-so -with-included-apr -with-pcre=/usr/local/pcre ; make ; make install

However, I really do not know how to integrate my nagios with this particular apache instance. I am installing nagios as below
./configure --with-nagios-user=nagios --with-nagios-group=nagcmd

My End result is, I should be able to access nagios using the http://nagios.mycompany.com

Can someone please help.

--Thyagu
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Problem...

Post by abrist »

This will most likely be a vhosts issue. What does your nagios apache configuration look like?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cinziny
Posts: 2
Joined: Wed Feb 06, 2013 6:38 am

Re: Nagios Problem...

Post by cinziny »

Hi Abios,

This would not be a vhosts problem, because I am not using any vhosts out here... I am having a dedicated apache instance for nagios. I guess, maybe its not picking the right document root...

I will try and post the httpd.conf here...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Problem...

Post by abrist »

Great, post it when you get a moment.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked