leoncx / testmigrate

0 stars 0 forks source link

CLAPI does not update conf generation date in DB on POLLERGENERATE command #235

Open leoncx opened 10 years ago

leoncx commented 10 years ago

Author Name: Quentin Delance (Quentin Delance) Original Redmine Issue: 5567, https://forge.centreon.com/issues/5567 Original Date: 2014-05-22 Original Assignee: Sylvestre Ho


When generating poller configuration, nagios_server.last_restart must be updated, otherwise the poller is flagged as modified in poller list web interface. This is currently not performed when CLAPI receives POLLERGENERATE command.

leoncx commented 10 years ago

Original Redmine Comment Author Name: Sylvestre Ho (Sylvestre Ho) Original Date: 2014-05-23T08:13:30Z


POLLERGENERATE is not supposed to restart the engine in any way as it simply generates the configuration files. The POLLERRESTART command does update the last_restart field though.