From: Herman Grootaers <herman@grootaers-nl.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nagios & cgi.cfg
Date: Thu, 16 Feb 2006 11:03:12 +0100 [thread overview]
Message-ID: <200602161103.14950.herman@grootaers-nl.com> (raw)
In-Reply-To: <20060215172032.28c4b0db@SrLobo.emergetux.net>
On Wednesday 15 February 2006 18:20, Arnau Bria Ramírez wrote:
> Hi,
>
> I've installed nagios on my gentoo box and after some time of
> configuration I pointed my web-browser to localhost/nagios and found
> Error: Could not open CGI config file '/etc/nagios/cgi.cfg' for
> reading! error message.
>
> So I check file permission:
>
> SrLobo nagios # pwd
> /etc/nagios
> SrLobo nagios # ls -lsa cgi.cfg
> 20 -rw-r--r-- 1 root root 17161 feb 15 16:06 cgi.cfg
>
> and I think they're ok (I also tried with 777), but I still have the
> error message.
>
> Nagios is ok:
>
> SrLobo nagios # /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg
> [...]
>
> Total Warnings: 0
> Total Errors: 0
>
> Things look okay - No serious problems were detected during the
> pre-flight check
>
> Could anyone help me, please?
>
You just tested the configuration of nagios. To start it run either the
startscript in /etc/init.d, or if it does not exists with the same
command replacing the -v with -d. That should start nagios, and start
also the output on the webpage.
Note, that the startup-time for nagios is depending on the number of
tests to be done and the time between two successive tests.
Success.
--
Herman Grootaers
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-02-16 10:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 17:20 [gentoo-user] nagios & cgi.cfg Arnau Bria Ramírez
2006-02-16 10:03 ` Herman Grootaers [this message]
2006-02-16 11:26 ` Arnau Bria Ramírez
2006-02-16 13:37 ` Herman Grootaers
2006-02-16 16:46 ` Arnau Bria Ramírez
2006-02-17 10:29 ` [gentoo-user] nagios & cgi.cfg SOLVED Arnau Bria Ramírez
2006-02-17 13:53 ` Herman Grootaers
2006-02-20 9:19 ` Arnau Bria Ramírez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200602161103.14950.herman@grootaers-nl.com \
--to=herman@grootaers-nl.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox