Gentoo Archives: gentoo-user

From: Herman Grootaers <herman@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nagios & cgi.cfg
Date: Thu, 16 Feb 2006 10:08:34
Message-Id: 200602161103.14950.herman@grootaers-nl.com
In Reply to: [gentoo-user] nagios & cgi.cfg by "Arnau Bria Ramírez"
1 On Wednesday 15 February 2006 18:20, Arnau Bria Ramírez wrote:
2 > Hi,
3 >
4 > I've installed nagios on my gentoo box and after some time of
5 > configuration I pointed my web-browser to localhost/nagios and found
6 > Error: Could not open CGI config file '/etc/nagios/cgi.cfg' for
7 > reading! error message.
8 >
9 > So I check file permission:
10 >
11 > SrLobo nagios # pwd
12 > /etc/nagios
13 > SrLobo nagios # ls -lsa cgi.cfg
14 > 20 -rw-r--r-- 1 root root 17161 feb 15 16:06 cgi.cfg
15 >
16 > and I think they're ok (I also tried with 777), but I still have the
17 > error message.
18 >
19 > Nagios is ok:
20 >
21 > SrLobo nagios # /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg
22 > [...]
23 >
24 > Total Warnings: 0
25 > Total Errors: 0
26 >
27 > Things look okay - No serious problems were detected during the
28 > pre-flight check
29 >
30 > Could anyone help me, please?
31 >
32
33 You just tested the configuration of nagios. To start it run either the
34 startscript in /etc/init.d, or if it does not exists with the same
35 command replacing the -v with -d. That should start nagios, and start
36 also the output on the webpage.
37
38 Note, that the startup-time for nagios is depending on the number of
39 tests to be done and the time between two successive tests.
40
41 Success.
42 --
43 Herman Grootaers
44
45 --
46 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] nagios & cgi.cfg "Arnau Bria Ramírez" <arnau@×××××××××.net>