Olof hagsand
d9d377de6d
SNMP: Started register table entries dynamically
...
Compile-time constant: SNMP_TABLE_DYNAMIC
Added MIB SNMP erroir handling
2022-06-08 20:31:30 +02:00
Olof hagsand
9d5c85884c
Added Siklu sponsorship text
2022-06-05 15:50:22 +02:00
Olof hagsand
6e1c20e873
SNMP Frontend, fix handling of snmpd down and memory leaks
...
If snmpd is down, clixon_snmp does not start
If snmpd stops, clixon_snmp quits
Mem leaks fixed
2022-06-05 15:36:20 +02:00
Olof hagsand
b2be7e9e1b
SNMP frontend, new preli table handling code
...
Skipped data set and use table-helper only
Specialized SNMP error handling
2022-05-26 19:04:51 +02:00
Olof hagsand
ea03363c3a
SNMP frontend: Generalized type handling for set functions
...
SPlit scalar_handler into get and set subfunctions
2022-05-20 15:05:23 +02:00
Olof hagsand
34fe439f53
SNMP frontend, restructure files
...
Split snmp_mib_yang.c into: snmp_register.[ch] and snmp_handler.[ch]
2022-05-19 16:02:52 +02:00
Olof hagsand
63620994e8
SNMP frontend: added -z zap command-line option and pid-file exclusive check, fixed mem check
2022-05-19 15:46:35 +02:00
Olof hagsand
14faf2b3f0
SNMP frontend: conflict typos, snmp pidfile
2022-05-19 15:46:35 +02:00
Olof hagsand
19c47ee043
SNMP frontend
...
Fixed table/scalar collision issue
Made the CS variable change said to be in previous commit
2022-05-19 15:46:35 +02:00
Olof hagsand
3dbfbf5b31
Clixon SNMP frontend
...
Added two new config options to clixon-config.yang: `CLICON_HTTP_DATA_ROOT`
Added new files: apps/snmp/snmp_mib_yang.[ch] for generic MIB/YANG handling
Test: killall quiet
Test: added specific MIB for generic code: <CLICON_SNMP_MIB>NET-SNMP-EXAMPLES-MIB</CLICON_SNMP_MIB>
2022-05-19 15:46:35 +02:00
Olof hagsand
2a98ae5d93
SNMP: replaced testhandler code to use only NET-SNMP-EXAMPLES-MIB for scalar and table
2022-05-19 15:46:35 +02:00
Kristofer Hallin
1894de66a6
Added example for tables.
2022-05-19 15:46:35 +02:00
Olof hagsand
625cc76bde
Clixon SNMP frontend update
...
* Integration of testhandler.c gives proper callback handling
* YANG `clixon-config@2022-03-21.yang` changes:
* Added option:
* `CLICON_SNMP_AGENT_SOCK`
2022-05-19 15:46:34 +02:00
Kristofer Hallin
e74bee7a3d
Tell the agent to use a Unix socket for communication.
2022-05-19 15:46:08 +02:00
Olof hagsand
b7e991dca9
Clixon SNMP frontend update
...
Integrated netsnmp agent and clixon event handling, made a workaround of fdset:s
used in the netsnmp API with sockets used in Clixon
Added a hardcoded MIB OID handler as subagent
Added libnetsnmpagent to autotools dependency check
New OE_SNMP error code
2022-05-19 15:46:08 +02:00
Kristofer Hallin
ce326b0238
Move include of signal.h
2022-05-19 15:46:08 +02:00
Olof hagsand
451cbef23d
Initial Net-snmp frontend commit
...
Added apps/snmp with makefiles, autotools, docker adjustment
Minimal snmp_main program
2022-05-19 15:46:08 +02:00