icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

CIB: active_service_checks_(1min|5min) returns invalid values in large environments

Open TheFireMike opened this issue 3 years ago • 3 comments

Describe the bug

In large environments the active_service_checks_(1min|5min) counter of the CIB returns invalid values.

Examples:

Result of REST API endpoint /status/CIB:

...
"active_service_checks_15min": 130324,
"active_service_checks_1min": 5,
"active_service_checks_5min": 18920,
...

Same request 10 seconds later:

...
"active_service_checks_15min": 130158,
"active_service_checks_1min": 4,
"active_service_checks_5min": 25,
...

Again 10 seconds later:

...
"active_service_checks_15min": 126361,
"active_service_checks_1min": 2,
"active_service_checks_5min": 1598,
...

To Reproduce

  1. Create a large Icinga environment
  2. Query the REST API Endpoint /status/CIB

Expected behavior

A response which returns how many checks were actually active during the last minute / last 5 minutes.

Your Environment

  • Version used: v2.13.1

TheFireMike avatar Nov 22 '21 11:11 TheFireMike

Same behavior with version 2.13.4.

cmaile avatar Aug 29 '22 10:08 cmaile

ref/NC/815287

carraroj avatar Apr 15 '24 12:04 carraroj

Icinga doesn't interpolate anything here as the statistics buffers are large enough. Are you sure you don't just have checks spikes like this?

Al2Klimov avatar May 21 '24 14:05 Al2Klimov