Skip to:
The SnmpConfigRestService does not grok the notion of location. Identified in context of the same project as https://opennms.atlassian.net/browse/NMS-9462#icft=NMS-9462.
SnmpConfigRestService
Please do not de-blockerize without talking to me first.
It looks like this does in fact work.
First, set the community for a specific IP address at the MINION location with:
./bin/provision.pl snmp set 192.168.0.1 publ1c version=v1 timeout=1000 location=MINION
And then retrieve the configuration from the Karaf shell:
opennms> snmp:show-config -l MINION 192.168.0.1 Address: 192.168.0.1 ProxyForAddress: null Port: 161 Timeout: 1000 Retries: 1000 MaxVarsPerPdu: 10 MaxRepetitions: 2 MaxRequestSize: 65535 Version: v1 ReadCommunity: publ1c WriteCommunity: private
Note that the settings are properly retrieved.
The
SnmpConfigRestService
does not grok the notion of location. Identified in context of the same project as https://opennms.atlassian.net/browse/NMS-9462#icft=NMS-9462.Please do not de-blockerize without talking to me first.