Werk #7068: Truncate values of the notification context which are too long
Komponente | Notifications |
Titel | Truncate values of the notification context which are too long |
Datum | 21.03.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.5.0p14 1.6.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
If the the value stored in the notification context was larger than the OS limit MAX_ARG_STRLEN a failed notification was produced and the error 'OSError: [Errno 7] Argument list too long' appeared in the notify.log. This was usually the case for very long values in the long outputs of a service like e.g. fileinfo.groups. Now the values are truncated and the text 'Attention: Removed remaining content because it was too long.' is shown at the end.