Problems with Nagios config

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Feb 27 03:03:04 CET 2003


Dear Sir,

I am writing to thank you for your letter and ask what the preflight 
check reveals about your config 

<path_to_nag>/bin/nagios -v <path_to_nag>/etc/nagios.cfg.

Here's what mine looks like,

tsitc# cd /usr/local/nagios/
tsitc# bin/nagios -v etc/nagios.cfg

Nagios 1.0
Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org)
Last Modified: 11-24-2002
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
        Checked 349 services.
Checking hosts...
        Checked 192 hosts.
Checking host groups...
        Checked 13 host groups.
Checking contacts...
        Checked 39 contacts.
Checking contact groups...
        Checked 14 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking host group escalations...
        Checked 0 host group escalations.
Checking service dependencies...
        Checked 50 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 96 commands.
Checking time periods...
        Checked 13 time periods.
Checking for circular paths between hosts...
Checking for circular service execution dependencies...
Checking global event handlers...
Checking obsessive compulsive service processor command...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the 
pre-flight check
tsitc# 

Have you been using the template method of configuration or the old ?

Since you are starting, I suggest the template method is more likely to
avoid mistakes.

You may be better off to start with _one_ host and _one_ service (even 
then there is quite a lot to configure) of check_ping and expand from 
there once it's working.

This is a superbly documented product but you _need_ to read the 
documents.

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list