summaryrefslogtreecommitdiffstats
path: root/lib/output.c
AgeCommit message (Collapse)AuthorFilesLines
3 daysTransform 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