On Thursday 16 February 2006 12:26, Arnau Bria Ramírez wrote:
> El Thu, 16 Feb 2006 11:03:12 +0100
>
> Herman Grootaers dijo:
> > 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.
>
> SrLobo nagios # /etc/init.d/nagios status
>  * Caching service
> dependencies ...                                                     
>     [ ok ] * status:  started
>
> Sorry, I had to copy this output too.
>
> > Note, that the startup-time for nagios is depending on the number
> > of tests to be done and the time between two successive tests.
>
> Well, I think Nagios "itself" is working fine:
>
> SrLobo nagios # cat nagios.log
> [1140048000] LOG ROTATION: DAILY
> [1140051357] Auto-save of retention data completed successfully.
> [1140054957] Auto-save of retention data completed successfully.
> [1140058557] Auto-save of retention data completed successfully.
> [1140062157] Auto-save of retention data completed successfully.
> [1140065757] Auto-save of retention data completed successfully.
> [1140069357] Auto-save of retention data completed successfully.
> [1140072957] Auto-save of retention data completed successfully.
> [1140076557] Auto-save of retention data completed successfully.
> [1140079834] Caught SIGTERM, shutting down...
> [1140079835] Nagios 1.3 starting... (PID=10161)
> [1140079835] Successfully shutdown... (PID=7217)
> [1140079835] Finished daemonizing... (New PID=10162)
> [1140083435] Auto-save of retention data completed successfully.
> [1140087035] Auto-save of retention data completed successfully.
>
> SrLobo nagios # cat status.log
> # Nagios 1.3 Status File
> [1140089030] PROGRAM;1140079835;10162;1;0;0;1;1;1;1;0;0;1;0
> [1140089030]
> HOST;Afrodita;UP;1140079902;1140022624;0;57211;0;0;0;0;1;1;1;1;0;0.00
>;0;1;1;(Host assumed to be up) [1140089030]
> SERVICE;Afrodita;HTTP;OK;1/3;HARD;1140088903;1140089203;ACTIVE;1;1;1;
>1140022624;0;OK;57211;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;HTTP OK
> HTTP/1.1 200 OK - 798 bytes in 0.003 seconds [1140089030]
> SERVICE;Afrodita;PING;OK;1/3;HARD;1140088971;1140089271;ACTIVE;1;1;1;
>1140022692;0;OK;57143;0;0;0;0;0;1;0;4;1;0;0.00;0;1;1;1;PING OK -
> Packet loss = 0%, RTA = 0.33 ms [1140089030]
> SERVICE;Afrodita;POP3;OK;1/3;HARD;1140088737;1140089037;ACTIVE;1;1;1;
>1140022759;0;OK;57076;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;POP OK - 0,017
> second response time on port 110 [+OK afrodita Cyrus POP3
> v2.1.18-IPv6-Debian-2.1.18-3 server ready
> <[EMAIL PROTECTED]>] [1140089030]
> SERVICE;Afrodita;SMTP;OK;1/3;HARD;1140088925;1140089105;ACTIVE;1;1;1;
>1140022827;0;OK;57008;0;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;SMTP OK - 0,054
> sec. response time
>

So Nagios is started correctly.

Now another question: is apache running and if so is there an entry in 
the apache-configuration for the nagios web-site?

You must realize that the output of nagios does have to be parsed to a 
webserver, before you can see it on the screen with your browser.

I hope this helped.
-- 
Herman Grootaers

-- 
gentoo-user@gentoo.org mailing list

Reply via email to