Adding SNMP communities to snmp-config.xml for an ip address range

JohnD Blackburn <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <DB6PR0602MB29021159FF3C28D1AD7732EDCBE40@DB6PR0602MB2902.eurprd06.prod.outlook.com>
I'm trying to set up an automated script for adding an snmp community to the snmp-config.xml file  for an ip address range.

I've found I can update/add an snmp community for an individual ip address using provision.pl, but I'd like to be able to do the same for an ip address range.

I know I could do this by directly editing the snmp-config.xml file or the web interface, but I'd prefer to use a standard OpenNMS api/commandline interface to perform this operation if possible.


How do I perform an add/update of an snmp community string for an ip address range from the commandline?

I'm running OpenNMS 21.0.2

Regards,
John Blackburn

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.