centreon / centreon-clapi

Centreon CLAPI Module
14 stars 14 forks source link

Cannot set NULL with CLAPI #317

Open florian-asche opened 9 years ago

florian-asche commented 9 years ago

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 ;)

Hellnino18 commented 8 years ago

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!