summaryrefslogtreecommitdiffstats
path: root/lib/output.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-04-06 12:17:43 +0200
committerGitHub <noreply@github.com>2026-04-06 12:17:43 +0200
commit9980e788509af3203725cdcd15f517ad1ed503fb (patch)
tree51c65dfd829e56bab4ce8c942e958d04d332833f /lib/output.h
parentc57381d789fb246602966fccfcb80131a7fb0461 (diff)
downloadmonitoring-plugins-9980e788509af3203725cdcd15f517ad1ed503fb.tar.gz
Add option to override output for check in lib for check_by_ssh (#2230)HEADmaster
The new output functionality was discussed in the context of check_by_ssh, where it mostly adds more stuff which was seen as not inherently usefull as a succesful check_by_ssh check might as well be transparent.
Diffstat (limited to 'lib/output.h')
-rw-r--r--lib/output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/output.h b/lib/output.h
index c63c8e3f..f5011268 100644
--- a/lib/output.h
+++ b/lib/output.h
@@ -70,6 +70,10 @@ struct mp_check {
70 70
71 // the evaluation_functions computes the state of check 71 // the evaluation_functions computes the state of check
72 mp_state_enum (*evaluation_function)(mp_check); 72 mp_state_enum (*evaluation_function)(mp_check);
73
74 // override for the default output format
75 char *(*default_output_override)(void *);
76 void *default_output_override_content;
73}; 77};
74 78
75mp_check mp_check_init(void); 79mp_check mp_check_init(void);