Accessing Nagios for the first time
Tim Tompson
tt.rexplay at gmail.com
Thu Mar 11 04:59:47 CET 2010
My nagios.conf:
## BEGIN APACHE CONFIG SNIPPET - NAGIOS.CONF
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthType Digest
AuthName "Nagios Access"
AuthUserFile /usr/local/nagios/etc/.digest_pw
Require valid-user
</Directory>
Alias /nagios "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthType Digest
AuthName "Nagios Access"
AuthUserFile /usr/local/nagios/etc/.digest_pw
Require valid-user
</Directory>
## END APACHE CONFIG SNIPPETS
I followed the instructions at:
http://nagios.sourceforge.net/docs/3_0/cgisecurity.html -- to secure my
install, and thats where I got the above .conf file.
Its set to "Allow from all", shouldn't that work?
On Wed, Mar 10, 2010 at 10:28 PM, Stuart Browne <
stuart.browne at ausregistry.com.au> wrote:
> > From: Tim Tompson [mailto:tt.rexplay at gmail.com]
> >
> > Ok, really dumb question.
> >
> > I have successfully configured and installed Nagios, according to:
> > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html on my
> > webserver. No problems at all throughout the process.
> >
> > My problem comes at step 9.
> > 9) Login to the Web Interface
> >
> > You should now be able to access the Nagios web interface at the URL
> > below. You'll be prompted for the username (nagiosadmin) and password
> > you specified earlier.
> >
> > http://localhost/nagios/
> >
> >
> > I installed everything on my server via SSH command line, but now I
> > need to access localhost, but can't since all I use to connect to my
> > server is command line driven (ssh). I tried accessing my
> > serveripaddress/nagios, and no luck - but wouldn't expect that to work
> > either.
> >
> > Anyone know what I should do at this point? Thanks.
>
> Look at the apache config (probably /etc/httpd/conf.d/nagios.conf).
>
> This will have a 'limit' so that it can only be accessed by '127.0.0.1'.
> Open that up (i.e. remove the line or add your local subnet). Bounce your
> httpd.
>
> Stuart
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100310/8fd8eeec/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list