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 14:37:10 +0100 [thread overview]
Message-ID: <200602161437.11941.herman@grootaers-nl.com> (raw)
In-Reply-To: <20060216112620.228de842@SrLobo.emergetux.net>
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
> <1917919003.1140085158@afrodita>] [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
next prev parent reply other threads:[~2006-02-16 13:42 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
2006-02-16 11:26 ` Arnau Bria Ramírez
2006-02-16 13:37 ` Herman Grootaers [this message]
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=200602161437.11941.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