[erlang-questions] SNMP agent: modifying vacm, community, etc

Attila Rajmund Nohl attila.r.nohl@REDACTED
Fri Jan 31 16:44:40 CET 2014


2014-01-30 Daniel Goertzen <daniel.goertzen@REDACTED>:
> I am working on an snmp agent and trying to figure out the 'proper' way to
> locally edit tables like vacm, community, usm, etc.
>
> 1. One approach is to keep modifying config files through the snmpa_config
> module and then call configure() on the appropriate mib module to reload the
> config.
>
> 2. Another approach is to try to do everything through the appropriate mib
> module, but in general they only provide add and delete operations (I need
> to be able to see what is there).

You might want to read directly the mnesia tables to get the
configured targets. Of course, this is not nice.



More information about the erlang-questions mailing list