Werk #22778 · Oct 19, 26
OMD broker: survive HTML error pages
The broker agent section reports one line of data per site. If the
message broker management interface of one site answered with an
HTML error page (e.g. "404 Not Found") instead of data, the section
could not be parsed at all and the crash report showed
JSONDecodeError: Expecting value. All broker services of the host
were affected, including the ones of healthy sites.
Lines that are not valid broker data are now ignored. The sites that delivered data are monitored as before. Services of the site that returned the error page report that their item was not found.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p18All Editions
- 2.4.0p39All Editions