Antwort: Segfault during pre-flight check

srunschke at abit.de srunschke at abit.de
Wed Jul 5 11:40:17 CEST 2006


nagios-devel-bounces at lists.sourceforge.net 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:SRunschke at abit.de

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


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list