Question

Monitoring custom services through APIs

  • 16 June 2022
  • 4 replies
  • 430 views

Badge +1

Hi All, 

I am new to centreon as a tool and the community. We are using Centreon to monitor several services and hosts and we have a requirement to see if our in-house applications can post metrics through API to Centreon.

 

Is there any way to accomplish this without developing a plugin?

 

Thanks,

Rad


4 replies

Userlevel 6
Badge +19

Hi, 

 

Just to make sure I get it, what would you expect exactly: 

 

  • Centreon receives data passively from apps through a dedicate API endpoint? 
  • Centreon scrapes data from an HTTP endpoint your applications expose? 

 

Badge +1

Hi @sims24  and thanks for the quick reply.

Correct! Centreon to receives data from API endpoint and handled as any other service we monitor.

 

Thanks,

Rad

Userlevel 6
Badge +19

Hey @radAouni you’re welcome. 

 

You can leverage this endpoint: https://docs.centreon.com/docs/api/rest-api-v1/#submit-results 

 

Require to be authenticated first: https://docs.centreon.com/docs/api/rest-api-v1/#authentication

Badge +1

Hey @radAouni you’re welcome. 

 

You can leverage this endpoint: https://docs.centreon.com/docs/api/rest-api-v1/#submit-results 

 

Require to be authenticated first: https://docs.centreon.com/docs/api/rest-api-v1/#authentication

Thanks! 

I will check out this.

 

Rad

Reply