Werk #5793

KomponenteChecks & Agents
TitelAgent Encryption: No longer trying to decrypt all incoming tcp data when a "Encryption" rule with an arbitrary value was set
Datum2018-03-16 14:16:07
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.5.0b1
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

The agent output decryption function was incorrectly called for hosts with a specifically "Encryption" rule set. In most scenarios the decryption failed, because the plain text was obviously not decrypted correctly. The fallback of the decryption error was to use the plain text instead for further processing - this was conincidentally the right bevhaviour.

However, sometimes the decryption succeeded, which lead to garbled agent output and missing agent sections.