leoncx / testmigrate

0 stars 0 forks source link

Clapi export command id and not command_name #138

Closed leoncx closed 9 years ago

leoncx commented 10 years ago

Author Name: remi werquin (remi werquin) Original Redmine Issue: 5777, https://forge.centreon.com/issues/5777 Original Date: 2014-08-28 Original Assignee: Sylvestre Ho


Afer an export with Centreon-Clapi, it's impossible to reimport service template.

The service template is not linked to a command name but to a command_id :

EX : STPL;setparam;Net-StoneSoft-Rejected-Packets-SNMP;check_command;204

leoncx commented 10 years ago

Original Redmine Comment Author Name: Sylvestre Ho (Sylvestre Ho) Original Date: 2014-09-01T13:04:31Z


Applied in changeset commit:302151e0a920bb54b268edf66fb786196437d863.

leoncx commented 10 years ago

Original Redmine Comment Author Name: remi werquin (remi werquin) Original Date: 2014-09-01T16:46:35Z


The export is OK but not the import, I've got this error when trying to import : Line 42 : Unknown method

Where line 42 is : STPL;setparam;Net-StoneSoft-Memory-SNMP;check_command;Net-Stonesoft-SNMP-Memory

leoncx commented 10 years ago

Original Redmine Comment Author Name: Sylvestre Ho (Sylvestre Ho) Original Date: 2014-09-02T06:56:01Z


Applied in changeset commit:22204e18c8a670049e452a0371ad377e87b2798b.