[Nagios-devel] Config listed twice

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Config listed twice

Post by Guest »

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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked