Olof hagsand
a0e6536bab
Added Siklu sponsorship text
2022-06-26 11:29:40 +02:00
Olof hagsand
ef640772df
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-26 11:29:40 +02:00
Olof hagsand
6f7a33d196
SNMP frontend, new preli table handling code
...
Skipped data set and use table-helper only
Specialized SNMP error handling
2022-06-26 11:28:42 +02:00
Olof hagsand
46cb21f3e8
SNMP frontend: Generalized type handling for set functions
...
SPlit scalar_handler into get and set subfunctions
2022-06-26 11:28:42 +02:00
Olof hagsand
ef604be610
SNMP frontend, restructure files
...
Split snmp_mib_yang.c into: snmp_register.[ch] and snmp_handler.[ch]
2022-06-26 11:28:42 +02:00
Olof hagsand
eb8d0c0b3a
SNMP frontend: added -z zap command-line option and pid-file exclusive check, fixed mem check
2022-06-26 11:28:42 +02:00
Olof hagsand
42f21a309a
SNMP frontend: conflict typos, snmp pidfile
2022-06-26 11:28:42 +02:00
Olof hagsand
4e0d9dd987
SNMP frontend
...
Fixed table/scalar collision issue
Made the CS variable change said to be in previous commit
2022-06-26 11:28:42 +02:00
Olof hagsand
df687f7180
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-06-26 11:28:42 +02:00
Olof hagsand
2699393c4a
SNMP: replaced testhandler code to use only NET-SNMP-EXAMPLES-MIB for scalar and table
2022-06-26 11:27:54 +02:00
Kristofer Hallin
f443f4f9b3
Added example for tables.
2022-06-26 11:27:54 +02:00
Olof hagsand
28514c6750
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-06-26 11:27:54 +02:00
Kristofer Hallin
40d5f99694
Tell the agent to use a Unix socket for communication.
2022-06-26 11:26:04 +02:00
Olof hagsand
e32cb81b49
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-06-26 11:26:04 +02:00
Kristofer Hallin
16d21bbe3b
Move include of signal.h
2022-06-26 11:26:04 +02:00
Olof hagsand
d72aa58f90
Initial Net-snmp frontend commit
...
Added apps/snmp with makefiles, autotools, docker adjustment
Minimal snmp_main program
2022-06-26 11:26:04 +02:00