Skip to main content
Solved

RabbitMQ RestAPI - Question about threshold

  • May 10, 2022
  • 2 replies
  • 178 views

Forum|alt.badge.img+1

Hello,

I have a question about the work of the plugin pack RabbitMQ RestAPI on Centreon.

I need more details about thresholds. 

Can someone explain me the difference between all threshold on each service ?

 

For example, I have this :

Each threshold is for the first queue which will reach that value first ?
What are differences between “warningqueuemsgready” here and the other one on the last threshold and on the next ?

 

Thank you.

Best regards.

Best answer by sims24

Hi @jaubert 

 

Thresholds maps with some counters RabbitMQ exposes through its Restapi. 

 

Most of the time we juste name macro WARNING/CRITICAL<COUNTERNAME>. 


In a RabbitMQ queue, you have messages, each having its own state.

 

In other words:

  • WARNINGQUEUEMSG ​​​​​​allows you to set a warning threshold about the total number of messages, whatever their states
  • CRITICALQUEUEMSGREADY allows you to set a critical threshold about the total number of message ready/waiting to be processed 

Hope this helps,

2 replies

sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Answer
  • May 10, 2022

Hi @jaubert 

 

Thresholds maps with some counters RabbitMQ exposes through its Restapi. 

 

Most of the time we juste name macro WARNING/CRITICAL<COUNTERNAME>. 


In a RabbitMQ queue, you have messages, each having its own state.

 

In other words:

  • WARNINGQUEUEMSG ​​​​​​allows you to set a warning threshold about the total number of messages, whatever their states
  • CRITICALQUEUEMSGREADY allows you to set a critical threshold about the total number of message ready/waiting to be processed 

Hope this helps,


Forum|alt.badge.img+1
  • Author
  • Steward *
  • May 11, 2022

Thank you @sims24