Forum Discussion
johndoems_45694
Nimbostratus
Jul 17, 2008Modifying SNMP configuration using the java icontrol api
Hello, I am modifying SNMP agent access stuff using the java API - adding new community/source/OID entries and modifying the SNMP client allow list - via ManagementSNMPConfigurationBindingStub.set_readonly_community(), and ManagementSNMPConfigurationBindingStub.set_readwrite_community(). I have found that:
-using these functions only writes to snmpd.conf and does not update the internal database nor the GUI interface
-there is no way to modify the hosts.allow file
The result is that if a user modifies the SNMP settings in the GUI after using my java program, the SNMP communities I added are deleted.
The only solution as far as I can see is to call these commands AND add new entries into the internal database. The database also has an entry for the client allow list - Service.SNMP.allow. Is there any better way to do this?
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects