Segmentation Fault

Carlos Vicente cvicente at network-services.uoregon.edu
Wed Jun 15 00:57:38 CEST 2005


Hi,

I just wanted to report a possible bug in the code that pre-checks the
configuration.  There was a circular path caused by an incorrect parent
definition, and I could see the nagios process using up 99% CPU for
about a minute before segfaulting.  I would have expected a more
graceful failure output than a core dump.  ;-)

Here's the output.  I can send the core file off the list if anyone
wants it.

cv

# bin/nagios -v etc/nagios.cfg

Nagios 2.0b3
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 04-03-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
        Checked 3241 services.
Checking hosts...
        Checked 1595 hosts.
Checking host groups...
        Checked 104 host groups.
Checking service groups...
        Checked 13 service groups.
Checking contacts...
        Checked 61 contacts.
Checking contact groups...
        Checked 26 contact groups.
Checking service escalations...
        Checked 1587 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 1564 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 46 commands.
Checking time periods...
        Checked 9 time periods.
Checking extended host info definitions...
        Checked 0 extended host info definitions.
Checking extended service info definitions...
        Checked 1566 extended service info definitions.
Checking for circular paths between hosts...
Segmentation fault (core dumped)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click




More information about the Developers mailing list