Config listed twice

Bernd Arnold bernd_a at gmx.de
Sun May 4 21:19:46 CEST 2008


Hi,

I've compiled amd installed a fresh Nagios 3.0.1, just to be sure. In the Nagios web interface, the Config page (config.cgi) shows all entries twice (hosts, services, ...). In my fresh installation, there are two lines with "localhost" for example.

I've done some testing, and the error was gone when the line 126 in config.cgi (current version in CVS rev. 1.46 with the call of read_all_object_configuration_data) is set to comment, also the following if-clause of course (lines 127-132).

I think the config is loaded somewhere else before and the read_all_object_configuration_data function loads the config again, so everything is listed twice.

I didn't find this issue in the list, so I thought it's worth posting it.

Please have a look at it.

Thanks a lot.

Regards
Bernd
-- 
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone




More information about the Developers mailing list