Commit graph

11 commits

Author SHA1 Message Date
Lorenz Kästle
c57381d789
Revert check_disk performance data back to used space (#2243)
* Implement simple output shortcut for ranges

If ranges start with zero (e.g. 0:10), the zero and the colon
can be left out.

This patch implements this by default, since some systems (icinga2)
do not fully implement the whole range format and this reduces errors
in the common case of just an upper border.

* switch check_disk perfdata back to used space
2026-04-06 11:55:27 +02:00
Dirk Mueller
15b9a39b60
Make replacing of mismatching single quotes work (#2232)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
Fixes a logic error in the string handling that led to dead code before.
2026-02-16 11:27:49 +01:00
Dirk Mueller
07a249a5d7
Fix typo in enum MP_PARSING_SUCCES(S) (#2233) 2026-02-16 11:22:39 +01:00
Dirk Mueller
423d0c5267
Fix a few typos (#2231) 2026-02-16 11:21:21 +01:00
Lorenz Kästle
be9db2e02f lib: code formatting, perfdata label sanity checking and so on 2025-09-08 15:59:20 +02:00
Lorenz Kästle
322cd6f829 Lib: Add perfdata for char and unsigned char 2025-05-17 11:26:27 +02:00
Lorenz Kästle
430c641d9c Try to circumvent some old compiler errors 2025-03-30 23:55:16 +02:00
Lorenz Kästle
6e108cc25e Add more helpers to perfdata functions 2025-03-30 22:36:07 +02:00
Lorenz Kästle
1921cfccd6 Always quote perfdata labels 2025-03-30 22:35:29 +02:00
Lorenz Kästle
24f21473fb Use asprintf in lib directly instead of xasprintf 2025-02-19 16:59:32 +01:00
Lorenz Kästle
0645c9fc2c Implement new output functionality 2025-02-18 21:58:34 +01:00