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

clapi 1.8.0 : check_command_arguments is truncated if arg contains spaces

Open Padawan59 opened this issue 7 years ago • 3 comments

Padawan59 avatar Apr 27 '17 14:04 Padawan59

When I run the following command /usr/share/centreon/www/modules/centreon-clapi/core/centreon -u admin -p xxx -o STPL -a SETPARAM -v 'My_template;check_command_arguments;!TSVFYBAL ETAT(1) DUREE(2880) DIRECTION(*ANY)' there's no error but in Centreon, my template args are just 'TSVFYBAL'

Padawan59 avatar Apr 27 '17 14:04 Padawan59

Hello,

Can you check that you don't have this problem ?

https://github.com/centreon/centreon/issues/4931

julienmathis avatar Apr 27 '17 14:04 julienmathis

No, I've duplicated a poller definition and in engine configuration, the illegal character are '~!$%^&*"|'<>?,()='.

Padawan59 avatar Apr 28 '17 06:04 Padawan59