Commit graph

10 commits

Author SHA1 Message Date
Lorenz Kästle
25329a9097
check_snmp: fix offset computation for INTEGER (#2190)
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
2025-12-02 11:32:17 +01:00
Lorenz Kästle
2192c6a8a1 Add break statement to switch path 2025-09-09 01:27:27 +02:00
Lorenz Kästle
c382768530 Little adaptions for old compilers 2025-09-08 16:35:02 +02:00
Lorenz Kästle
2aabc4d490 Fix spelling ... 2025-09-08 16:04:23 +02:00
Lorenz Kästle
87195f5511 check_snmp: refactoring + fixes
This commit moves the state retention logic to check_snmp as it is only
used there and I do not want it to be used at all, so it doesn't get a
place in the lib.

Otherwise this adapts tests and fixes the rate computing in the
refactored version of check_snmp.
Also fixes some bugs detected with the tests
2025-09-08 15:57:06 +02:00
Lorenz Kästle
7f1877f760 check_snmp: Fix number processing (offset + multiplier) 2025-08-30 14:18:42 +02:00
Lorenz Kästle
77a5db04d7 check_snmp: implement output format setting 2025-08-30 14:16:36 +02:00
Lorenz Kästle
e490c5f969 check_snmp: hopefully fix helpers 2025-08-27 16:41:46 +02:00
Lorenz Kästle
a27862a9c7 check_snmp: rebuild threshold parsing 2025-08-27 12:17:46 +02:00
Lorenz Kästle
7fe6ac8d08 rebuild check_snmp 2025-08-25 15:28:04 +02:00