I have a feature request for the trapdirector project to allow satellite to collect snmp traps and generate events.
On the master server, there is the database which holds configuration for snmp trap processing, so I need the satellites to be able to get this configuration.
Simple way is to allow direct access to database, but there can be security issues/firewalling which can make things harder to run.
First question is : is there any way to extend icinga2 REST API ?
I don’t think it is possible as project linked to icinga as Director uses it’s own API, so:
Second question : is it possible to generate an authentication token in IcingaWeb2 ? Or have a directory in which the module can evaluate this kind of token (so no authent on this directory) ?
I need to read data (simple get request with few parameters) and write data.
I’m also opened to any suggestion to another solution, but the idea is to remain simple.
thanks for your help