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:
broker cache should be a reliable source of information
it requires a luasql dependency (available on debian but not on EL type of OS)
Type of change
[ ] Patch fixing an issue (non-breaking change)
[x] New functionality (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software
Target serie
[x] 22.10.x
[x] 23.04.x
[x] 23.10.x
[x] 24.04.x
[x] master
How this pull request can be tested ?
hard to test because it requires a failed broker cache
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