centreon / centreon-engine

Extremely fast monitoring scheduler, forked from Nagios
GNU General Public License v2.0
42 stars 17 forks source link

Unsupported configuration options in centengine.cfg are silently ignored #116

Open StefThomas opened 5 years ago

StefThomas commented 5 years ago

If I put an unsupported option in /etc/centreon-engine/centengine.cfg it’s silently ignored, even with _loglevel=-1


BUG REPORT INFORMATION

Centreon Web 18.10.2 Centreon Engine 1.8.1 Centreon Broker 18.10.1 CentOS 7.6.1810 VMWare VM

Steps to reproduce the issue:

  1. Add a an option with a bogus name and set log_level to -1
  2. Restart centengine
  3. Open the log file and the debug file

Describe the results you received: No message about an unsupported option in log file nor in debug file

Describe the results you expected: A warning message about the presence of an unsupported option (which should be even visible from _loglevel=2)

I take advantage of this issue to ask the following question : Is the _host_down_disable_servicechecks option supported in Centreon Engine? It is in Nagios Core and in Naemon Core, I expect it to be also available in Centreon Engine.

SylvestreG commented 4 years ago

Hi,

Thanks for your feedback and sorry for the delay without answers...

host_down_disable_service_checks is not supported yet in centreon-engine. There is another issue in GitHub referring to this option : host_down_disable_service_checks

@lpinsivy, @cgagnaire can we plan the resolution of #48 and #116 for 19.10.x or 20.04.x ?

tphakala commented 1 year ago

just voting this issue here, host_down_disable_service_checks option really should be added