From 570a45d3057c0e93d578023268ad80adcca0b3f9 Mon Sep 17 00:00:00 2001 From: Logan Connolly Date: Mon, 4 Nov 2024 10:47:44 +0100 Subject: [PATCH] 17356 FIX Decode semi-colon from monitoring history The plugin output and comments are saved in a Nagios-compatible format (semi-colon-separated). Therefore, it is necessary to escape semi-colons to `%3B` when writing out history. In the GUI, where plugin output or comments from the monitoring history are displayed, we can translate `%3B` back to a semi-colon using a simple replace. Change-Id: Ib8d82f9de51a08692816cdc891a4505bd1d950fb --- .werks/17356.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .werks/17356.md diff --git a/.werks/17356.md b/.werks/17356.md new file mode 100644 index 00000000000..5f76979c704 --- /dev/null +++ b/.werks/17356.md @@ -0,0 +1,20 @@ +[//]: # (werk v2) +# Decode semi-colon from monitoring history + +key | value +---------- | --- +date | 2024-11-04T09:45:41+00:00 +version | 2.3.0p20 +class | fix +edition | cre +component | multisite +level | 1 +compatible | yes + +The plugin output and comments are saved in a Nagios-compatible format +(semi-colon-separated). Therefore, it is necessary to escape semi-colons +to `%3B` when writing out history. + +In the GUI, where plugin output or comments from the monitoring history +are displayed, we can translate `%3B` back to a semi-colon using a +simple replace.