summaryrefslogtreecommitdiffstats
path: root/lib/output.c
AgeCommit message (Collapse)AuthorFilesLines
2025-12-04lib: properly separate perfdata from different sub subchecks (#2197)Lorenz Kästle1-1/+1
Previously there was a space missing between perfdata from differen sub subchecks which irritated my monitoring system and caused it to interpet two data points as one. This puts the space back in there.
2025-09-15Run clang-format againLorenz Kästle1-4/+7
2025-07-06Merge branch 'master' into refactor/check_loadLorenz Kästle1-15/+76
2025-07-06Make multiline output look betterLorenz Kästle1-1/+32
2025-06-19Implement flexible state override functionsLorenz Kästle1-17/+66
2025-03-30Add selectable level of detail for outputLorenz Kästle1-1/+7
2025-03-30Bugfix in outputLorenz Kästle1-1/+7
2025-03-07Transform output format to a global stateLorenz Kästle1-3/+9
This commit removes the format parameter from the mp_check object and creates a module global variable instead. This prevents thread safe usage of different mp_check objects which should likely not present a big problem for now. The reason for this change is effectively the very same, the format was lost if an exit was triggered by a signal handler (timeout in this example).
2025-02-20Rename icingaweb2 format to multi-lineLorenz Kästle1-4/+4
2025-02-20Remove output formats one-line and summary-onlyLorenz Kästle1-43/+0
2025-02-19Implement JSON serialising of perfdataLorenz Kästle1-1/+102
2025-02-19Use asprintf in lib directly instead of xasprintfLorenz Kästle1-16/+16
2025-02-19Fix one-line formattingLorenz Kästle1-2/+11
2025-02-19Exit with 0 in JSON-format if everything else worksLorenz Kästle1-0/+4
2025-02-18Implement new output functionalityLorenz Kästle1-0/+464