8614 Commits

Author SHA1 Message Date
evan Adam
54c2f3ed65 update todo 2025-06-15 19:02:57 +02:00
evan Adam
7945279ae7 wip: filter are complex to implement
and don't work for now.
2025-06-15 19:02:57 +02:00
evan Adam
5a2a35720a fix(generic-snmp): remove threshold_suffix
I don't remember why it was created, and i think we can use the name to point threshold ?
2025-06-15 19:02:57 +02:00
evan Adam
4a6ff4d997 enh(output): use a helper for decimal arbitrary precision 2025-06-15 19:02:16 +02:00
evan Adam
702c9f41f1 fix(generic-snmp): fix tests import for rust 2024 2025-06-13 21:29:54 +02:00
evan Adam
9c97560405 enh(generic-snmp): apply code suggestion from cargo build 2025-06-13 21:29:54 +02:00
evan Adam
5cec6dd18e fix(rust): use rust 2024 edition and fix compile error
rust 2024 edition is more restrictive when importing local crate
2025-06-13 16:25:40 +02:00
David Boucher
28d57806ed wip( 2025-06-13 15:49:07 +02:00
David Boucher
b3a830f078 wip(ci) 2025-06-13 15:42:31 +02:00
David Boucher
614b637a47 enh(ci): new build of generic-snmp 2025-06-13 15:17:05 +02:00
David Boucher
72d8f4225e fix(output): missing output added 2025-06-13 09:18:47 +02:00
David Boucher
3c261fd31e fix(docker): automatization of the rust installation 2025-06-12 15:30:07 +02:00
David Boucher
d9ab4c72a5 enh(Docker): new rust installation 2025-06-12 15:14:27 +02:00
David Boucher
ce701ed7f9 enh(generic-snmp): output looks correct 2025-06-11 13:22:31 +02:00
David Boucher
62a8d5838b fix(generic-snmp): average fixed with NaN.
* Integration of criterion to make benches
* RUST_LOG env variable changed into PLUGIN_LOG
2025-06-10 13:51:01 +02:00
David Boucher
8b2de7283a enh(generic-snmp): output improved a little with thresholds 2025-06-04 19:40:14 +02:00
David Boucher
ee54e1a0ed enh(generic-snmp): work on the output 2025-06-03 09:23:33 +02:00
David Boucher
ad6dc52dba enh(generic-snmp): output is read from the json file now 2025-05-28 15:20:06 +02:00
David Boucher
8a355dcfeb fix(generic-snmp): unit tests fixed 2025-05-28 13:04:39 +02:00
David Boucher
0f21bd23ed enh(generic-snmp): status well computed 2025-05-16 13:46:13 +02:00
David Boucher
fc2ae4fa34 fix(generic-snmp): the warning/critical thresholds can be empty now 2025-05-15 22:59:16 +02:00
David Boucher
238daf7fb0 fix(generic-snmp): error management improved, I think we can find better 2025-05-14 09:01:52 +02:00
David Boucher
6f9735f808 enh(generic-snmp): thresholds are ok 2025-05-10 18:15:44 +02:00
David Boucher
b0d23f8112 enh(generic-snmp): threshold ok 2025-05-10 16:51:08 +02:00
David Boucher
069167fc27 enh(generic-snmp): threshold works almost. Some error cases are still to implement 2025-05-10 16:28:02 +02:00
David Boucher
0f50c51366 enh(generic-snmp): custom error introduced. It is used for thresholds but should be generalized 2025-05-10 11:20:08 +02:00
David Boucher
6d1ee3680b enh(generic-snmp): Introduction of real thresholds (work in progress) 2025-05-08 16:49:16 +02:00
David Boucher
8d892d19e5 enh(generic-snmp): thresholds values are stored in Metrics 2025-05-06 23:55:16 +02:00
David Boucher
d5f0efabef cleanup(generic-snmp): unused function removed 2025-05-04 19:15:07 +02:00
David Boucher
ad8b4a2b80 enh(generic-snmp): bugs fixed and unit tests added 2025-05-04 19:08:46 +02:00
David Boucher
13fb4931b3 wip(generic-snmp) 2025-04-29 14:36:18 +02:00
David Boucher
3b0e0faa27 cleanup(generic-snmp): SnmpItem merged with compute::ast::ExprResult 2025-04-26 14:47:14 +02:00
David Boucher
ecfd0c6a52 enh(generic-snmp): min/max computed and added to perfdata 2025-04-24 09:10:03 +02:00
David Boucher
43642ca520 fix(generic-snmp): fix issues with snmp get 2025-04-24 09:10:03 +02:00
David Boucher
06a5892129 enh(generic-snmp): Average, Max and Min functions are back 2025-04-24 09:10:03 +02:00
David Boucher
5f63f2e396 fix(generic-snmp): unit tests are back 2025-04-24 09:10:03 +02:00
David Boucher
34ef7e310a cleanup(generic-snmp): dependencies updated 2025-04-24 09:10:03 +02:00
David Boucher
38cdfd47a9 enh(generic-snmp): new ast object 2025-04-24 09:10:03 +02:00
David Boucher
ab6dd3a1e8 enh(generic-snmp): the lexer works with the grammar now 2025-04-24 09:10:03 +02:00
David Boucher
f90624f1e4 enh(generic-snmp): lexer carries numbers values 2025-04-24 09:10:03 +02:00
David Boucher
6a282f6d17 wip(generic-snmp): new lexer 2025-04-24 09:10:03 +02:00
David Boucher
f1a3dea1b2 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-04-24 09:10:03 +02:00
David Boucher
f1bbc67fb5 wip(generic-snmp): labels on the way 2025-04-24 09:10:03 +02:00
David Boucher
2d32431a31 cleanup(generic-snmp): coding style applied 2025-04-24 09:10:03 +02:00
David Boucher
018bdee588 cleanup(generic-snmp): just to simplify the debugging 2025-04-24 09:10:03 +02:00
David Boucher
499abac7d9 fix(generic-snmp): issue in the walk fixed 2025-04-24 09:10:03 +02:00
David Boucher
6495076792 enh(generic-snmp): snmpbulkget almost works and we have a timeout, 1000ms currently 2025-04-24 09:10:03 +02:00
David Boucher
df2b9a1463 enh(generic-snmp): work on bulk snmp get 2025-04-24 09:10:03 +02:00
David Boucher
fda72155b2 cleanup(generic-snmp): lib renamed into snmp 2025-04-24 09:10:03 +02:00
David Boucher
d915144965 enh(generic-snmp): all the new json files pass. Now the plugin must do its job 2025-04-24 09:10:03 +02:00