Skip to content

Commit

Permalink
17356 FIX Decode semi-colon from monitoring history
Browse files Browse the repository at this point in the 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
  • Loading branch information
logan-connolly authored and JonasScharpf committed Nov 4, 2024
1 parent 5b9f18a commit 570a45d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .werks/17356.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 570a45d

Please sign in to comment.