access nagios on my server.

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
gabrielnk
Posts: 4
Joined: Mon Apr 11, 2011 2:58 pm

access nagios on my server.

Post by gabrielnk »

Hello, I successfully installed my Nagios, but when I access from my server through the http://ip/nagios gives the following error:


Not Found

The requested URL /nagios/ was not found on this server.
Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at 184.106.110.18 Port 443

remembering that my web server installed is Xampp for Linux. Thanked now.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: access nagios on my server.

Post by mguthrie »

Could you give us some more details as to what Linux distro you're on and how you installed core? (source, yum apt, etc).

Did you restart apache after installing your webconf file?
gabrielnk
Posts: 4
Joined: Mon Apr 11, 2011 2:58 pm

Re: access nagios on my server.

Post by gabrielnk »

My distro is Centos 5.4 (yum).

and yes, I reseted the LAMPP later. Thanks.
gabrielnk
Posts: 4
Joined: Mon Apr 11, 2011 2:58 pm

Re: access nagios on my server.

Post by gabrielnk »

mguthrie wrote:Could you give us some more details as to what Linux distro you're on and how you installed core? (source, yum apt, etc).

Did you restart apache after installing your webconf file?

My distro is Centos 5.4(yum)

and yes, I reseted the LAMPP later. Thanks.
gabrielnk
Posts: 4
Joined: Mon Apr 11, 2011 2:58 pm

Re: access nagios on my server.

Post by gabrielnk »

my distro is Centos 5.4(yum)

and yes, I reseted the LAMPP later. Thanks.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: access nagios on my server.

Post by tonyyarusso »

So, you're using a XAMPP package rather than the httpd package from the repositories? Does that use a different directory structure for where to put the configuration files? The documentation for CentOS is expecting to put a nagios.conf file in /etc/httpd/conf.d/ , so if you have something else that could explain your issue. Could you also show us what your config file for nagios with your web server looks like?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: access nagios on my server.

Post by niebais »

I don't mean anything rude by this question, I'm just checking, did you follow these steps to set up the nagios webconf?

make install-webconf
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

(Ok I know you already did this one)
Restart Apache to make the new settings take effect.
service httpd restart
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: access nagios on my server.

Post by tonyyarusso »

Any follow-up on this gabrielnk?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked