Skip to main content
New

Get all macros from a host via API v2

Related products:Infra Monitoring - API
  • Nov 12, 2026 4:12 PM UTC
  • 1 reply
  • 3 views

Forum|alt.badge.img+2

In API v2, you can only get macros with a changed value. (centreon/api/latest/configuration/hosts/{host_id})

In API v1, you get macros with a changed value and macros inherited from a template.

The problem is that you can’t get macros inherited from a command if the value is still to the default one.

1 reply

Forum|alt.badge.img+13
  • Builder ***
  • Nov 12, 2026 4:43 PM UTC

I really need this.