The command-line API command to add a real downtime has a bug imho.
To make it work you must use the exact name (it is case-sensitive) of a host object. If you use a name which doesn't match the exact host object name it will not show you any error but a downtime will not be created.
centreon -u admin -p 'centreon' -o RTDOWNTIME -a add -v "HOST;central;2017/09/24 10:00;2017/09/24 12:00;1;3600;my comments;1"
I didn’t observe it using other CLAPI commands. This should be fixed I think.
Best regards,
Jaroslaw Kesy


