Page 1 of 1

[Nagios-devel] Antwort: Segfault during pre-flight check

Posted: Wed Jul 05, 2006 1:41 am
by Guest
[email protected] schrieb am 29.06.2006 17:58:10:

> define serviceextinfo {
> hostgroup_name admin,license,public,web
> use generic_service_ext
> name dynamic_service_ext
> register 0
> }
>
> And in services.cfg:
>
> define serviceextinfo {
> host_name nagios.example.com
> service_description HTTP
> use dynamic_service_ext
> }
>
> Then run:
>
> # nagios -v /etc/nagios/nagios.cfg
>
> Nagios 2.4
> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
> Last Modified: 05-31-2006
> License: GPL
>
> Reading configuration data...
>
> Segmentation fault

As far as I can tell, host_name and hostgroup_name "should be" mutually
exclusive. They are not meant to be used together. Obviously Nagios is
crashing while trying to follow the configs, as it does not check
beforehand if only one of them is used.

On the other hand I think to remember that multiple inheritance is
not officially supported either, so expect them to cause severe problems.

But that's just infos from my memory, without having the time to dig up
the infos from the docs, so just take them as hints where to look ;)

regards
Sascha

--
Sascha Runschke
Netzwerk Administration
IT-Services

ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch

Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:[email protected]

http://www.abit.net
http://www.abit-epos.net
---------------------------------
Sicherheitshinweis zur E-Mail Kommunikation /
Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]