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
78af496fe9
refactor: make internals easier to test and add unit tests ( #2 )
...
This PR refactors most of the internals to make them easier to test (and also because the names didn't make sense). It adds unit tests for all internal components.
Reviewed-on: #2
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-20 10:01:05 +02:00
2fa0e37900
refactor: reorganize project in order to include automation ( #1 )
...
Reviewed-on: #1
Co-authored-by: Emmanuel BENOÎT <tseeker@nocternity.net>
Co-committed-by: Emmanuel BENOÎT <tseeker@nocternity.net>
2024-07-19 22:01:34 +02:00