leoncx / testmigrate

0 stars 0 forks source link

Add multiple setmacro functionality to centreon-clapi #248

Open leoncx opened 11 years ago

leoncx commented 11 years ago

Author Name: Serge MARIE (Serge MARIE) Original Redmine Issue: 4080, https://forge.centreon.com/issues/4080 Original Date: 2013-01-15 Original Assignee: Sylvestre Ho


I want to set multiple macro to host with clapi.

Is it possible to add this functionality ?

Like : $CLAPI_PATH/centreon -u login -p pwd -o HOST -a setmacro -v ";macro1;value1;macro2;value2" or $CLAPI_PATH/centreon -u login -p pwd -o HOST -a setmacro -v ";macro1;value1" -v ";macro2;value2"

More generally add a multiple "-a" query to centreon-clapi

Thank's in advance.

leoncx commented 11 years ago

Original Redmine Comment Author Name: Sylvestre Ho (Sylvestre Ho) Original Date: 2013-02-07T10:35:32Z


todo: add meta delimiter