Skip to main content
Needs Votes

Use Custom Macros in Action_URL , Notes or Notes_url

Related products:Infra Monitoring - Administration
  • May 29, 2026
  • 6 replies
  • 26 views

sdouce
Forum|alt.badge.img+12

Same as this idea:

This would be useful for building dynamic action_url links to automate remediation actions, or using notes_url to generate specific Wiki pages.

6 replies

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • June 9, 2026

Hi ​@sdouce , for Action / Note URL, you can use macros, please see documentation.

such as:

  • $HOSTNAME$
  • $HOSTALIAS$
  • $HOSTADDRESS$
  • $HOSTSTATE$
  • $HOSTSTATEID$
  • $SERVICEDESC$
  • $SERVICESTATE$
  • $SERVICESTATEID$

regards


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • June 12, 2026
Updated idea statusNewDiscussion ongoing

Alexandre Belhomme
Forum|alt.badge.img+13

I’m not sure how this could be used, but i’m very interested into how you would use centreon with auto remediation actions like that.


sdouce
Forum|alt.badge.img+12
  • Author
  • Builder **
  • June 22, 2026

We have developed an API that allows us to perform actions based on what is being monitored in Centreon.

I'll give you one example, but I actually have many ideas in mind:

I integrate hosts from our ServiceNow CMDB and retrieve the CMDB ID, which I store in a Centreon macro. At the moment, this allows me to execute compliance-related checks.

If I could use the macro in action_url, I would then be able to trigger actions that call ServiceNow flows, such as:

  • Refreshing filesystems
  • Retrieving CMDB information
  • And, more generally, automating many operational tasks

This would open the door to a wide range of automation capabilities directly from Centreon.


sdouce
Forum|alt.badge.img+12
  • Author
  • Builder **
  • June 22, 2026

For notes_url, I could also be much more specific by linking to wiki pages that leverage macros. We used this approach with our previous monitoring solution, Thruk.

Macros allowed us to dynamically adapt documentation and procedures based on the monitored object's context, such as:

  • Technical environment
  • Notification period
  • Application-specific information
  • Operational procedures
  • Any other host- or service-specific details

This made it possible to provide highly relevant documentation and runbooks directly from the monitoring interface.


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • June 22, 2026
Updated idea statusDiscussion ongoingNeeds Votes