8678 Commits

Author SHA1 Message Date
David Boucher
bd59b11910 enh(Docker): new rust installation 2025-07-15 19:10:21 +02:00
David Boucher
89108a4afb enh(generic-snmp): output looks correct 2025-07-15 19:10:21 +02:00
David Boucher
abbb15280c fix(generic-snmp): average fixed with NaN.
* Integration of criterion to make benches
* RUST_LOG env variable changed into PLUGIN_LOG
2025-07-15 19:10:21 +02:00
David Boucher
13ff270486 enh(generic-snmp): output improved a little with thresholds 2025-07-15 19:10:21 +02:00
David Boucher
3e23f6af87 enh(generic-snmp): work on the output 2025-07-15 19:10:21 +02:00
David Boucher
d24222caca enh(generic-snmp): output is read from the json file now 2025-07-15 19:10:21 +02:00
David Boucher
efb950dcce fix(generic-snmp): unit tests fixed 2025-07-15 19:10:21 +02:00
David Boucher
37edf37573 enh(generic-snmp): status well computed 2025-07-15 19:10:21 +02:00
David Boucher
38a243e914 fix(generic-snmp): the warning/critical thresholds can be empty now 2025-07-15 19:10:21 +02:00
David Boucher
b6f8684848 fix(generic-snmp): error management improved, I think we can find better 2025-07-15 19:10:20 +02:00
David Boucher
b273710cb8 enh(generic-snmp): thresholds are ok 2025-07-15 19:10:20 +02:00
David Boucher
2e3c1716f0 enh(generic-snmp): threshold ok 2025-07-15 19:10:20 +02:00
David Boucher
48302c0fec enh(generic-snmp): threshold works almost. Some error cases are still to implement 2025-07-15 19:10:20 +02:00
David Boucher
c184f2d407 enh(generic-snmp): custom error introduced. It is used for thresholds but should be generalized 2025-07-15 19:10:20 +02:00
David Boucher
32c1bbad3b enh(generic-snmp): Introduction of real thresholds (work in progress) 2025-07-15 19:10:20 +02:00
David Boucher
4fac604a4b enh(generic-snmp): thresholds values are stored in Metrics 2025-07-15 19:10:20 +02:00
David Boucher
99c4783b60 cleanup(generic-snmp): unused function removed 2025-07-15 19:10:20 +02:00
David Boucher
bc64e1e2ae enh(generic-snmp): bugs fixed and unit tests added 2025-07-15 19:10:20 +02:00
David Boucher
9ff58afa42 wip(generic-snmp) 2025-07-15 19:10:20 +02:00
David Boucher
6020f9973e cleanup(generic-snmp): SnmpItem merged with compute::ast::ExprResult 2025-07-15 19:10:20 +02:00
David Boucher
f9ace6f4c4 enh(generic-snmp): min/max computed and added to perfdata 2025-07-15 19:10:20 +02:00
David Boucher
49a82c49df fix(generic-snmp): fix issues with snmp get 2025-07-15 19:10:20 +02:00
David Boucher
535064daa8 enh(generic-snmp): Average, Max and Min functions are back 2025-07-15 19:10:20 +02:00
David Boucher
2f3eed6050 fix(generic-snmp): unit tests are back 2025-07-15 19:10:20 +02:00
David Boucher
fdf86d33ca cleanup(generic-snmp): dependencies updated 2025-07-15 19:10:20 +02:00
David Boucher
ef7dffae3d enh(generic-snmp): new ast object 2025-07-15 19:10:20 +02:00
David Boucher
1ecfbb7d11 enh(generic-snmp): the lexer works with the grammar now 2025-07-15 19:10:20 +02:00
David Boucher
29d8949621 enh(generic-snmp): lexer carries numbers values 2025-07-15 19:10:20 +02:00
David Boucher
d11c4c3e89 wip(generic-snmp): new lexer 2025-07-15 19:10:20 +02:00
David Boucher
65f386159b enh(generic-snmp): the best version to work with new-disk.json
We have to rewrite the plugin to work also with others json files.
2025-07-15 19:10:20 +02:00
David Boucher
1e69310f40 wip(generic-snmp): labels on the way 2025-07-15 19:10:20 +02:00
David Boucher
679d222759 cleanup(generic-snmp): coding style applied 2025-07-15 19:10:20 +02:00
David Boucher
98631e7870 cleanup(generic-snmp): just to simplify the debugging 2025-07-15 19:10:20 +02:00
David Boucher
2a7014edf3 fix(generic-snmp): issue in the walk fixed 2025-07-15 19:10:20 +02:00
David Boucher
0760bc53eb enh(generic-snmp): snmpbulkget almost works and we have a timeout, 1000ms currently 2025-07-15 19:10:20 +02:00
David Boucher
4a31f1b2e4 enh(generic-snmp): work on bulk snmp get 2025-07-15 19:10:20 +02:00
David Boucher
8256c01111 cleanup(generic-snmp): lib renamed into snmp 2025-07-15 19:10:20 +02:00
David Boucher
0d7f99043a enh(generic-snmp): all the new json files pass. Now the plugin must do its job 2025-07-15 19:10:20 +02:00
David Boucher
968922478e wip(generic-snmp): with a better json structure. Not functional 2025-07-15 19:10:20 +02:00
David Boucher
19a0a89634 enh(generic-snmp): Average added to the parser 2025-07-15 19:10:20 +02:00
David Boucher
7d7fe2094f enh(generic-snmp): first steps for a little parser 2025-07-15 19:10:20 +02:00
David Boucher
44dca5dde0 doc(generic-snmp): TODO file to remember what to work on 2025-07-15 19:10:20 +02:00
David Boucher
03594fa3f4 enh(generic-snmp): panic removed 2025-07-15 19:10:20 +02:00
David Boucher
5ed8f1d6d5 fix(generic-snmp): all the cpu tests are ok 2025-07-15 19:10:20 +02:00
David Boucher
73e3ad34ac fix(generic-snmp): little improvement on perfdata 2025-07-15 19:10:20 +02:00
David Boucher
be23bc35fa fix(generic-snmp): more and more near of the solution 2025-07-15 19:10:20 +02:00
David Boucher
965c36d364 enh(tests): new test for generic-snmp 2025-07-15 19:10:20 +02:00
David Boucher
fb06fa3f2e fix(generic-snmp): dependencies versions fixed 2025-07-15 19:10:20 +02:00
David Boucher
f53371bd35 enh(generic-snmp): better output 2025-07-15 19:10:20 +02:00
David Boucher
ef97084204 fix(generic-snmp): supports big snmp bulk walks now 2025-07-15 19:10:20 +02:00