Enhancement #1624

New macro class

Added by Sylvestre Ho about 4 years ago. Updated 11 months ago.

Status:AssignedStart date:03/05/2010
Priority:NormalDue date:
Assignee:Sylvestre Ho% Done:

0%

Category:CentWeb
Target version:Centreon-2.7
Resolution:

Description

It would be a good idea to create a macro class dedicated to macro handling

History

#1 Updated by Julien Mathis almost 4 years ago

  • Target version changed from Centreon-2.2 to Centreon-2.3

#2 Updated by Julien Mathis over 3 years ago

  • Target version changed from Centreon-2.3 to Centreon-2.2

#3 Updated by Julien Mathis over 3 years ago

  • Target version changed from Centreon-2.2 to Centreon-2.4

#4 Updated by Julien Mathis almost 2 years ago

  • Target version changed from Centreon-2.4 to Centreon-2.5

#5 Updated by Anonymous over 1 year ago

We need more specification about this feature. Sylvestre, could you please work on it?

#6 Updated by Tensibai - Bastien Jove over 1 year ago

See this [[http://nagios.sourceforge.net/docs/3_0/macrolist.html]]

The main idea is to have optimized requests for macro replacement on action url, notes url, and everywhere else centreon parse and replace macros by their values.

For what I've in mind the best way would be a dynamicaly build query based on macros found when parsing the parameter.

The main PITA is to get all the values needed in the string with the fewest and quickest SQL requests.

Sylvester will correct me if I'm wrong on this point.

#7 Updated by Julien Mathis 11 months ago

  • Target version changed from Centreon-2.5 to Centreon-2.7

Also available in: Atom PDF