feat: add the check_output_matches plugin #5

Merged
Emmanuel BENOîT merged 16 commits from tseeker/gomonop:20240720-line-matches into master 2024-07-20 22:57:10 +02:00

16 commits

Author SHA1 Message Date
8d0110bc4b
doc: add documentation for check_output_matches
All checks were successful
Run tests and linters / test (pull_request) Successful in 45s
Run tests and linters / build (pull_request) Successful in 48s
Run tests and linters / lint (pull_request) Successful in 1m25s
2024-07-20 22:51:53 +02:00
b8506e8a3f
fix(matches): split command into arguments 2024-07-20 22:31:28 +02:00
9333c6ff80
chore: allow karrick/golf to be replaced, pending PR result 2024-07-20 22:26:48 +02:00
402f7f3c11
refactor(perfdata): split the range parser into many functions 2024-07-20 22:26:35 +02:00
2b58a27cc0
refactor(matches): split the external program handling code into more functions 2024-07-20 21:51:01 +02:00
09df5aa44e
feat(cmd): add output matcher plugin 2024-07-20 20:47:42 +02:00
1f9be057b6
fix(pkg): fix using ~ as the lower bound for RangeMinMax 2024-07-20 20:33:15 +02:00
ee05d6f004
feat(pkg): add status check method to PerfData 2024-07-20 19:12:59 +02:00
3263d8c583
refactor(pkg): move Status to a separate module 2024-07-20 18:58:27 +02:00
7209591e08
feat(pkg): add Range.Contains() method 2024-07-20 18:42:18 +02:00
6d44df6216
fix(pkg): range parser supports single numbers
These are `[0:X]` ranges, according to the Nagios doc.
2024-07-20 18:17:53 +02:00
7c8c624b17
fix(pkg): fix type issue for rps* constants in perfdata 2024-07-20 18:12:01 +02:00
1a35167eab
feat(pkg): thresholds on perfdata can be cleared using Set...(nil) 2024-07-20 18:11:06 +02:00
14c7a0e5e8
feat(pkg): add parser for perf data ranges 2024-07-20 16:22:22 +02:00
c87f31d89d
chore: replace golf with a fork 2024-07-20 15:28:16 +02:00
517bb2073a
fix(main): fix syntax help text 2024-07-20 11:32:39 +02:00