centreon / centreon-stream-connector-scripts

Scripts for Centreon Stream Connector
15 stars 22 forks source link

Ctor 941 cache double check #237

Open tanguyvda opened 2 weeks ago

tanguyvda commented 2 weeks ago

Description

if for some reason we can't find data for a host or service in the broker cache, this PR adds the possibility to also check in the database.

this will create "a best effort" cache that is mostly here to avoid dropping events because we can't find either the host name or the service description in the broker cache.

obviously this feature is disabled by default. Because:

Type of change

Target serie

How this pull request can be tested ?

hard to test because it requires a failed broker cache