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


It's just web that doesn't work...

Thanks for your help!
> Success.
> -- 
> Herman Grootaers
Cheers!
-- 
Arnau Bria

Si no me sube el sueldo, le diré a los demás que me lo ha subido
-- 
gentoo-user@gentoo.org mailing list

Reply via email to