Skip to main content
Planned

Get all macros from a host via API v2

Related products:Infra Monitoring - API
  • Nov 12, 2026 4:12 PM UTC
  • 2 replies
  • 9 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.

2 replies

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

I really need this.


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • Nov 13, 2026 1:05 PM UTC
Updated idea statusNew→Planned