Commit graph

46 commits

Author SHA1 Message Date
Luca Deri
0796f0ad80 Added SNMPv3 context support 2025-04-02 22:46:03 +02:00
Alfredo Cardigliano
9352d0cdcd Update copyright 2025-01-02 09:09:56 +01:00
Luca Deri
ddd1c576ef SNMPv3 report fix 2024-10-30 17:37:19 +01:00
Luca Deri
42a6d071f5 Added SNMP_MSG_REPORT support (#8766) 2024-10-25 23:35:29 +02:00
Alfredo Cardigliano
22ab01d6ff Split code for SNMP walk and trap collection 2024-07-22 10:31:40 +00:00
Alfredo Cardigliano
1ee773bb9a SNMP trap sample code rework 2024-07-22 09:43:04 +00:00
carloleo
6a37cd77c4 fixed preprocessing 2024-07-21 19:57:15 +02:00
carloleo
8cf3f453a0 SNMP.cpp
fixed memory deallocation
SNMP.h
	added space to force new version
2024-07-16 22:59:37 +02:00
carloleo
ce11adba67 SNMP.cpp
- added loop to receive trap continuously
	- added comments and error logs
SNMP.h
	- added method to stop collecting trap
	- changed type of timeout parameter
2024-07-15 22:51:35 +02:00
carloleo
838ed6d2f0 SNMP.h defined macro
SNMP.cpp refactored code so that
	collectsTrap starts trap collection
	added dedicated select for traps
	removed trap session from vector
2024-07-11 22:11:44 +02:00
carloleo
9d678f42f2 fix fork sync conflicts 2024-07-10 18:24:18 +02:00
carloleo
d514a27a53 SNMP.h added method to handle trap
SNMP.cpp printed oid and mib in the new method
2024-07-09 01:01:31 +02:00
carloleo
321d3a1b42 include/SNMP.h declared new callback collecting traps
src/SNMP.cpp added new session to receive traps
2024-07-04 21:42:49 +02:00
Luca Deri
a4e0de43e6 Cosmetic SNMP trap changes 2024-07-01 19:36:37 +02:00
Luca Deri
bfc7a7fb1d Reworked SNMP polling implementation 2024-05-28 23:51:29 +02:00
Luca Deri
55870e97b9 (C) Update 2024-01-12 11:44:18 +01:00
lucaderi
d395deac4e Automated commit of clang-format CI changes. 2023-04-07 14:20:44 +00:00
Luca Deri
f726b867c7 Updated (C) 2023-01-01 16:37:57 +01:00
Alfredo Cardigliano
f2060f2488 Copyright update (C) 2022-01-03 09:35:09 +01:00
Simone Mainardi
40f5c4e821 Refactors {flow,host}callbacks into {flow,host}checks (C++) 2021-06-16 15:27:38 +02:00
Alfredo Cardigliano
5d27dde70d Add SNMP polling in nEdge (implement #3872) 2021-03-25 14:36:56 +00:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Luca Deri
dd50729bc3 Added condvar to SPSC queue to avoid active wait 2020-09-27 16:54:54 +02:00
Simone Mainardi
58817e0048 Minor lint addition for snmp_admin_status 2020-08-20 17:21:14 +02:00
Luca Deri
43d066ae90 SNMPv3 fixes 2020-06-24 14:46:32 +02:00
Luca Deri
0181e2a2e5 SNMP v3 changes 2020-06-23 17:33:33 +02:00
Luca Deri
67c5cbdfd0 Fiz for db4772e69c 2020-06-19 11:04:26 +02:00
Luca Deri
6a16cccd18 Added SNMP set support 2020-06-18 19:32:16 +02:00
Luca Deri
94076c9976 SNMP improvements 2020-06-16 20:05:08 +02:00
Luca Deri
8c6b2247ac Implemented Get-Bulk (NET-SNMP only)
Disabled NET-SNMP until is work in progress
2020-06-15 23:49:10 +02:00
Luca Deri
3400455c9a Added NET-SNMP error handling 2020-06-15 22:55:51 +02:00
Luca Deri
984c24cd92 Changes for supporting NET-SNMP where available 2020-06-15 01:11:14 +02:00
Luca Deri
6d58f22cb4 Fixes #3888 2020-06-09 17:12:57 +02:00
Luca Deri
bfff94b387 Fix for properly handlign SNMP oid's in requests 2020-06-08 17:03:27 +02:00
Luca Deri
4c3be85ba3 Fixed in SNMP read async responses 2020-06-02 17:00:44 +02:00
Luca Deri
31d3135eb8 SNMP API enhancements 2020-05-31 23:21:33 +02:00
Luca Deri
e29bebe967 Various SNMP fixes
Fixes in async get/gext SNMP calls
2020-05-28 00:15:13 +02:00
Luca Deri
8c948de437 SNMP code reorganization 2020-05-25 23:50:36 +02:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
Luca Deri
bedff2c8e2 Updated (C) 2019-01-07 19:28:49 +01:00
Simone Mainardi
61d90f8d3e Disables SNMP build in nEdge 2018-12-17 12:05:24 +01:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
Luca Deri
d7c8fbeff1 SNMP protocol version is now set in preferences 2018-01-21 08:14:28 +01:00
Luca Deri
94df4af211 SNMP-discovered devices are not automatically added to SNMP 2018-01-20 21:22:41 +01:00
Luca Deri
af74f3b041 Added Lua batch SNMP API 2017-08-09 10:26:25 +02:00
Luca Deri
7b15221414 Cleaned up SNMP code and moved onto a new class 2017-08-09 09:23:08 +02:00