centreon-clapi icon indicating copy to clipboard operation
centreon-clapi copied to clipboard

Cannot set NULL with CLAPI

Open florian-asche opened this issue 10 years ago • 1 comments

Hi,

i want to configure a complete centreon with chef automation. I want to set each setting from console. I try that, but it failed badly. The problem is, that there are some settings where you have to set "NULL" in database. But you cannot set it with console. I tested '' or 'NULL' or '0', nothing work.

Example: default['dba_centreon']['engine']['nagios_cfg']['precached_object_file'] = '' default['dba_centreon']['web']['centreon_settings']['centreon_support_email'] = '' default['dba_centreon']['engine']['instance_cfg']['engine_name'] = ''

So we need there a solution for nagios_cfg, centreon_settings and instance_cfg ;)

florian-asche avatar Oct 14 '15 11:10 florian-asche

Hi!

I'm very interested by this case. I'm trying to reconfigure some services, and I want to reinit some variables in my service, like the check_command, the normal and retry interval.

Do you have a correction date for this plz ?

Thx!

Hellnino18 avatar Jan 05 '16 10:01 Hellnino18